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 <marius.tache@nxp.com>
  • Loading branch information
marius-alex-tache authored and pull[bot] committed Oct 25, 2024
1 parent 05485c2 commit dfa71a1
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 dfa71a1

Please sign in to comment.