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
…project-chip#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 Jul 24, 2024
1 parent 8306353 commit 1306309
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 1306309

Please sign in to comment.