Skip to content

Commit 255da5b

Browse files
marius-alex-tachej-ororke
authored andcommitted
[logging] Add chip_device_platform == "none" to default target assert (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 <marius.tache@nxp.com>
1 parent b007343 commit 255da5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/logging/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ source_set("default") {
7979
} else {
8080
assert(
8181
chip_device_platform == "fake" || chip_device_platform == "android" ||
82-
chip_device_platform == "external")
82+
chip_device_platform == "external" || chip_device_platform == "none")
8383
}
8484
}
8585
}

0 commit comments

Comments
 (0)