From 1306309efa6323dec6f2eb461d8a458b682bc7ca Mon Sep 17 00:00:00 2001 From: Marius Tache <102153746+marius-alex-tache@users.noreply.github.com> Date: Wed, 24 Jul 2024 14:08:14 +0300 Subject: [PATCH] [logging] Add chip_device_platform == "none" to default target assert (#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 --- src/platform/logging/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/logging/BUILD.gn b/src/platform/logging/BUILD.gn index 6d54ca897a4ac6..bc41c12da17e88 100644 --- a/src/platform/logging/BUILD.gn +++ b/src/platform/logging/BUILD.gn @@ -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") } } }