Skip to content

Commit

Permalink
[logging] Add chip_device_platform == "none" to default target assert (
Browse files Browse the repository at this point in the history
…#34471)

On Windows, chip_device_platform is set to none during bootstrap.
This assert would fail, consequently bootstrap would fail, without
adding this check.

Signed-off-by: marius-alex-tache <[email protected]>
  • Loading branch information
marius-alex-tache authored and pull[bot] committed Aug 23, 2024
1 parent d67e3e3 commit 1af40bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/logging/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ source_set("default") {
} else {
assert(
chip_device_platform == "fake" || chip_device_platform == "android" ||
chip_device_platform == "external")
chip_device_platform == "external" || chip_device_platform == "none")
}
}
}
Expand Down

0 comments on commit 1af40bf

Please sign in to comment.