From 7a43751197107c08cbb8dec3e9237d35c6fcdf30 Mon Sep 17 00:00:00 2001 From: Maksymilian Knust Date: Wed, 14 Feb 2024 15:40:11 +0100 Subject: [PATCH] Work in progress --- build/chip/chip_test_suite.gni | 8 +- examples/air-purifier-app/cc32xx/BUILD.gn | 1 + examples/air-purifier-app/linux/BUILD.gn | 1 + .../air-quality-sensor-app/linux/BUILD.gn | 1 + examples/all-clusters-app/asr/BUILD.gn | 1 + .../all-clusters-app/cc13x2x7_26x2x7/BUILD.gn | 1 + .../all-clusters-app/cc13x4_26x4/BUILD.gn | 1 + .../all-clusters-app/infineon/psoc6/BUILD.gn | 1 + examples/all-clusters-app/linux/BUILD.gn | 2 + examples/all-clusters-app/nxp/mw320/BUILD.gn | 5 +- .../all-clusters-app/nxp/rt/rw61x/BUILD.gn | 5 +- examples/all-clusters-app/tizen/BUILD.gn | 1 + .../all-clusters-minimal-app/asr/BUILD.gn | 1 + .../infineon/psoc6/BUILD.gn | 1 + .../all-clusters-minimal-app/linux/BUILD.gn | 1 + .../all-clusters-minimal-app/tizen/BUILD.gn | 1 + examples/bridge-app/asr/BUILD.gn | 1 + examples/bridge-app/linux/BUILD.gn | 1 + examples/chef/linux/BUILD.gn | 1 + examples/chef/silabs/BUILD.gn | 1 + examples/chip-tool/BUILD.gn | 2 +- examples/common/tracing/BUILD.gn | 2 +- examples/contact-sensor-app/linux/BUILD.gn | 1 + .../nxp/k32w/k32w0/BUILD.gn | 1 + .../nxp/k32w/k32w1/BUILD.gn | 1 + examples/dishwasher-app/asr/BUILD.gn | 1 + examples/dishwasher-app/linux/BUILD.gn | 1 + examples/energy-management-app/linux/BUILD.gn | 1 + examples/light-switch-app/asr/BUILD.gn | 1 + examples/light-switch-app/genio/BUILD.gn | 1 + .../infineon/cyw30739/BUILD.gn | 1 + examples/light-switch-app/qpg/BUILD.gn | 1 + examples/light-switch-app/silabs/BUILD.gn | 1 + examples/lighting-app/asr/BUILD.gn | 1 + .../lighting-app/bouffalolab/bl602/BUILD.gn | 1 + .../lighting-app/bouffalolab/bl702/BUILD.gn | 1 + .../lighting-app/bouffalolab/bl702l/BUILD.gn | 1 + .../lighting-app/cc13x2x7_26x2x7/BUILD.gn | 1 + examples/lighting-app/cc13x4_26x4/BUILD.gn | 1 + examples/lighting-app/genio/BUILD.gn | 1 + .../lighting-app/infineon/cyw30739/BUILD.gn | 1 + examples/lighting-app/infineon/psoc6/BUILD.gn | 1 + examples/lighting-app/linux/BUILD.gn | 1 + examples/lighting-app/nxp/k32w/k32w0/BUILD.gn | 1 + examples/lighting-app/nxp/k32w/k32w1/BUILD.gn | 1 + examples/lighting-app/qpg/BUILD.gn | 1 + examples/lighting-app/silabs/BUILD.gn | 1 + examples/lighting-app/stm32/BUILD.gn | 1 + examples/lighting-app/tizen/BUILD.gn | 2 + examples/lit-icd-app/linux/BUILD.gn | 1 + examples/lit-icd-app/silabs/BUILD.gn | 1 + examples/lock-app/asr/BUILD.gn | 1 + examples/lock-app/cc13x2x7_26x2x7/BUILD.gn | 1 + examples/lock-app/cc13x4_26x4/BUILD.gn | 1 + examples/lock-app/cc32xx/BUILD.gn | 1 + examples/lock-app/genio/BUILD.gn | 1 + examples/lock-app/infineon/cyw30739/BUILD.gn | 1 + examples/lock-app/infineon/psoc6/BUILD.gn | 1 + examples/lock-app/linux/BUILD.gn | 1 + examples/lock-app/nxp/k32w/k32w0/BUILD.gn | 1 + examples/lock-app/qpg/BUILD.gn | 1 + examples/lock-app/silabs/BUILD.gn | 1 + examples/log-source-app/linux/BUILD.gn | 1 + examples/microwave-oven-app/linux/BUILD.gn | 1 + examples/minimal-mdns/BUILD.gn | 3 + examples/network-manager-app/linux/BUILD.gn | 1 + examples/ota-provider-app/linux/BUILD.gn | 1 + examples/ota-requestor-app/asr/BUILD.gn | 1 + examples/ota-requestor-app/genio/BUILD.gn | 1 + .../infineon/cyw30739/BUILD.gn | 1 + examples/ota-requestor-app/linux/BUILD.gn | 1 + .../cc13x2x7_26x2x7/BUILD.gn | 1 + .../infineon/psoc6/BUILD.gn | 1 + examples/persistent-storage/linux/BUILD.gn | 5 +- examples/persistent-storage/qpg/BUILD.gn | 1 + examples/platform/linux/BUILD.gn | 2 +- examples/pump-app/cc13x2x7_26x2x7/BUILD.gn | 1 + examples/pump-app/cc13x4_26x4/BUILD.gn | 1 + examples/pump-app/silabs/BUILD.gn | 1 + .../cc13x2x7_26x2x7/BUILD.gn | 1 + .../pump-controller-app/cc13x4_26x4/BUILD.gn | 1 + examples/refrigerator-app/asr/BUILD.gn | 1 + examples/refrigerator-app/linux/BUILD.gn | 1 + examples/rvc-app/linux/BUILD.gn | 1 + examples/shell/cc13x2x7_26x2x7/BUILD.gn | 1 + examples/shell/cc13x4_26x4/BUILD.gn | 1 + examples/shell/genio/BUILD.gn | 1 + examples/shell/nxp/k32w/k32w0/BUILD.gn | 1 + examples/shell/qpg/BUILD.gn | 1 + examples/shell/standalone/BUILD.gn | 1 + examples/smoke-co-alarm-app/silabs/BUILD.gn | 1 + .../temperature-measurement-app/asr/BUILD.gn | 1 + examples/thermostat/asr/BUILD.gn | 1 + examples/thermostat/genio/BUILD.gn | 1 + examples/thermostat/linux/BUILD.gn | 1 + examples/thermostat/nxp/linux-se05x/BUILD.gn | 1 + examples/thermostat/qpg/BUILD.gn | 1 + examples/thermostat/silabs/BUILD.gn | 1 + examples/tv-app/linux/BUILD.gn | 1 + examples/tv-casting-app/linux/BUILD.gn | 1 + examples/window-app/silabs/BUILD.gn | 1 + src/app/tests/integration/BUILD.gn | 2 + src/controller/python/BUILD.gn | 1 + src/lib/address_resolve/BUILD.gn | 1 + src/messaging/tests/echo/BUILD.gn | 2 + src/platform/ASR/BUILD.gn | 1 - src/platform/Ameba/BUILD.gn | 1 - src/platform/Beken/BUILD.gn | 1 - src/platform/Darwin/BUILD.gn | 2 - src/platform/ESP32/BUILD.gn | 1 - src/platform/Infineon/CYW30739/BUILD.gn | 1 - src/platform/Infineon/PSOC6/BUILD.gn | 1 - src/platform/Linux/BUILD.gn | 8 +- src/platform/Tizen/BUILD.gn | 1 - src/platform/Zephyr/BUILD.gn | 1 - src/platform/bouffalolab/BL602/BUILD.gn | 1 - src/platform/bouffalolab/BL702/BUILD.gn | 1 - src/platform/bouffalolab/BL702L/BUILD.gn | 1 - src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn | 1 - src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn | 1 - src/platform/logging/BUILD.gn | 92 ++++++++++++++++--- src/platform/mbed/BUILD.gn | 1 - src/platform/mt793x/BUILD.gn | 1 - src/platform/nxp/k32w/k32w0/BUILD.gn | 1 - src/platform/nxp/k32w/k32w1/BUILD.gn | 1 - src/platform/nxp/mw320/BUILD.gn | 1 - src/platform/nxp/rt/rw61x/BUILD.gn | 1 - src/platform/nxp/zephyr/BUILD.gn | 1 - src/platform/openiotsdk/BUILD.gn | 2 - src/platform/qpg/BUILD.gn | 1 - src/platform/silabs/SiWx917/BUILD.gn | 1 - src/platform/silabs/efr32/BUILD.gn | 1 - src/platform/webos/BUILD.gn | 1 - src/test_driver/efr32/BUILD.gn | 1 + 134 files changed, 209 insertions(+), 53 deletions(-) diff --git a/build/chip/chip_test_suite.gni b/build/chip/chip_test_suite.gni index 596642d5335241..f76a61ef497751 100644 --- a/build/chip/chip_test_suite.gni +++ b/build/chip/chip_test_suite.gni @@ -96,7 +96,9 @@ template("chip_test_suite") { if (current_os != "zephyr" && current_os != "mbed") { # Depend on stdio logging, and have it take precedence over the default platform backend - public_deps += [ "${chip_root}/src/platform/logging:force_stdio" ] + public_deps += [ "${chip_root}/src/platform/logging:stdio" ] + } else { + public_deps += [ "${chip_root}/src/platform/logging:default" ] } } if (chip_link_tests) { @@ -194,7 +196,9 @@ template("chip_test_suite_using_nltest") { if (current_os != "zephyr" && current_os != "mbed") { # Depend on stdio logging, and have it take precedence over the default platform backend - public_deps += [ "${chip_root}/src/platform/logging:force_stdio" ] + public_deps += [ "${chip_root}/src/platform/logging:stdio" ] + } else { + public_deps += [ "${chip_root}/src/platform/logging:default" ] } } if (chip_link_tests) { diff --git a/examples/air-purifier-app/cc32xx/BUILD.gn b/examples/air-purifier-app/cc32xx/BUILD.gn index f79e76c82ce0d3..f9993edeba692b 100755 --- a/examples/air-purifier-app/cc32xx/BUILD.gn +++ b/examples/air-purifier-app/cc32xx/BUILD.gn @@ -100,6 +100,7 @@ ti_simplelink_executable("air-purifier_app") { "${chip_root}/examples/air-purifier-app/air-purifier-common", "${chip_root}/examples/platform/cc32xx:cc32xx-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/air-purifier-app/linux/BUILD.gn b/examples/air-purifier-app/linux/BUILD.gn index 0f4d2a489dc18a..dd88941f0c8171 100644 --- a/examples/air-purifier-app/linux/BUILD.gn +++ b/examples/air-purifier-app/linux/BUILD.gn @@ -42,6 +42,7 @@ executable("chip-air-purifier-app") { "${chip_root}/examples/air-purifier-app/air-purifier-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/air-quality-sensor-app/linux/BUILD.gn b/examples/air-quality-sensor-app/linux/BUILD.gn index 4832593f9231b4..6cc44ce9f8bb48 100644 --- a/examples/air-quality-sensor-app/linux/BUILD.gn +++ b/examples/air-quality-sensor-app/linux/BUILD.gn @@ -42,6 +42,7 @@ executable("air-quality-sensor-app") { "${chip_root}/examples/air-quality-sensor-app/air-quality-sensor-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/all-clusters-app/asr/BUILD.gn b/examples/all-clusters-app/asr/BUILD.gn index 6f70452fa71bbe..6b016c5d81119c 100755 --- a/examples/all-clusters-app/asr/BUILD.gn +++ b/examples/all-clusters-app/asr/BUILD.gn @@ -108,6 +108,7 @@ asr_executable("clusters_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/all-clusters-app/cc13x2x7_26x2x7/BUILD.gn b/examples/all-clusters-app/cc13x2x7_26x2x7/BUILD.gn index 6cf5941e79d2c4..22f82356a043d1 100644 --- a/examples/all-clusters-app/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/all-clusters-app/cc13x2x7_26x2x7/BUILD.gn @@ -105,6 +105,7 @@ ti_simplelink_executable("all-clusters-app") { ":sysconfig", "${chip_root}/examples/all-clusters-app/all-clusters-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/all-clusters-app/cc13x4_26x4/BUILD.gn b/examples/all-clusters-app/cc13x4_26x4/BUILD.gn index eb118372b7bd33..d530ca4da652fc 100644 --- a/examples/all-clusters-app/cc13x4_26x4/BUILD.gn +++ b/examples/all-clusters-app/cc13x4_26x4/BUILD.gn @@ -109,6 +109,7 @@ ti_simplelink_executable("all-clusters-app") { "${chip_root}/examples/all-clusters-app/all-clusters-common", "${chip_root}/examples/platform/cc13x4_26x4:cc13x4_26x4-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/all-clusters-app/infineon/psoc6/BUILD.gn b/examples/all-clusters-app/infineon/psoc6/BUILD.gn index 9a0fbe3b3b37ac..64930593383bfe 100644 --- a/examples/all-clusters-app/infineon/psoc6/BUILD.gn +++ b/examples/all-clusters-app/infineon/psoc6/BUILD.gn @@ -138,6 +138,7 @@ psoc6_executable("clusters_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/all-clusters-app/linux/BUILD.gn b/examples/all-clusters-app/linux/BUILD.gn index b0fdcd4e0af68f..7e1ddaf864ef59 100644 --- a/examples/all-clusters-app/linux/BUILD.gn +++ b/examples/all-clusters-app/linux/BUILD.gn @@ -127,6 +127,7 @@ if (is_libfuzzer) { deps = [ ":chip-all-clusters-common", "${chip_root}/examples/platform/linux:app-main", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] @@ -140,6 +141,7 @@ if (is_libfuzzer) { deps = [ ":chip-all-clusters-common", "${chip_root}/examples/platform/linux:app-main", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/all-clusters-app/nxp/mw320/BUILD.gn b/examples/all-clusters-app/nxp/mw320/BUILD.gn index 65d2df0401dd62..ebae8c34bccdee 100644 --- a/examples/all-clusters-app/nxp/mw320/BUILD.gn +++ b/examples/all-clusters-app/nxp/mw320/BUILD.gn @@ -63,7 +63,10 @@ mw320_executable("shell_mw320") { "${chip_root}/src/setup_payload", ] - deps = [ "${chip_root}/src/platform:syscalls_stub" ] + deps = [ + "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", + ] include_dirs = [ "${chip_root}/src/platform/nxp/mw320", diff --git a/examples/all-clusters-app/nxp/rt/rw61x/BUILD.gn b/examples/all-clusters-app/nxp/rt/rw61x/BUILD.gn index 6f167c92ce5be2..de89152ceb85ab 100644 --- a/examples/all-clusters-app/nxp/rt/rw61x/BUILD.gn +++ b/examples/all-clusters-app/nxp/rt/rw61x/BUILD.gn @@ -112,7 +112,10 @@ rt_executable("all_cluster_app") { "../../common/main/main.cpp", ] - deps = [ "${chip_root}/examples/${app_common_folder}" ] + deps = [ + "${chip_root}/examples/${app_common_folder}", + "${chip_root}/src/platform/logging:default", + ] if (nxp_device_type == "all-clusters") { defines += [ "DEVICE_TYPE_ALL_CLUSTERS" ] diff --git a/examples/all-clusters-app/tizen/BUILD.gn b/examples/all-clusters-app/tizen/BUILD.gn index 4a60be79bc1e49..50485cef4116b4 100644 --- a/examples/all-clusters-app/tizen/BUILD.gn +++ b/examples/all-clusters-app/tizen/BUILD.gn @@ -67,6 +67,7 @@ executable("chip-all-clusters-app") { "${chip_root}/examples/all-clusters-app/all-clusters-common", "${chip_root}/examples/platform/tizen:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/all-clusters-minimal-app/asr/BUILD.gn b/examples/all-clusters-minimal-app/asr/BUILD.gn index 33401d925e7b54..da47c98a26be09 100755 --- a/examples/all-clusters-minimal-app/asr/BUILD.gn +++ b/examples/all-clusters-minimal-app/asr/BUILD.gn @@ -94,6 +94,7 @@ asr_executable("clusters_minimal_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/all-clusters-minimal-app/infineon/psoc6/BUILD.gn b/examples/all-clusters-minimal-app/infineon/psoc6/BUILD.gn index 721b1492d4c1f5..c70c282db2ac17 100644 --- a/examples/all-clusters-minimal-app/infineon/psoc6/BUILD.gn +++ b/examples/all-clusters-minimal-app/infineon/psoc6/BUILD.gn @@ -126,6 +126,7 @@ psoc6_executable("clusters_minimal_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/all-clusters-minimal-app/linux/BUILD.gn b/examples/all-clusters-minimal-app/linux/BUILD.gn index ea25284906df07..41f4ac4dd4d9ab 100644 --- a/examples/all-clusters-minimal-app/linux/BUILD.gn +++ b/examples/all-clusters-minimal-app/linux/BUILD.gn @@ -72,6 +72,7 @@ executable("chip-all-clusters-minimal-app") { ":chip-all-clusters-common", ":chip-lock-app-common", "${chip_root}/examples/platform/linux:app-main", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/all-clusters-minimal-app/tizen/BUILD.gn b/examples/all-clusters-minimal-app/tizen/BUILD.gn index 99f857e86303ea..4e94ded12e43d1 100644 --- a/examples/all-clusters-minimal-app/tizen/BUILD.gn +++ b/examples/all-clusters-minimal-app/tizen/BUILD.gn @@ -50,6 +50,7 @@ executable("chip-all-clusters-minimal-app") { "${chip_root}/examples/all-clusters-minimal-app/all-clusters-common", "${chip_root}/examples/platform/tizen:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/bridge-app/asr/BUILD.gn b/examples/bridge-app/asr/BUILD.gn index 93c512203129b2..0fb9be4dcd99c4 100755 --- a/examples/bridge-app/asr/BUILD.gn +++ b/examples/bridge-app/asr/BUILD.gn @@ -95,6 +95,7 @@ asr_executable("bridge_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/bridge-app/linux/BUILD.gn b/examples/bridge-app/linux/BUILD.gn index 490c59d17ad6b1..308833aa29b660 100644 --- a/examples/bridge-app/linux/BUILD.gn +++ b/examples/bridge-app/linux/BUILD.gn @@ -32,6 +32,7 @@ executable("chip-bridge-app") { "${chip_root}/examples/bridge-app/bridge-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/chef/linux/BUILD.gn b/examples/chef/linux/BUILD.gn index a25c1f5ffa11ce..687da64642fb69 100644 --- a/examples/chef/linux/BUILD.gn +++ b/examples/chef/linux/BUILD.gn @@ -57,6 +57,7 @@ executable("${sample_name}") { ":chef-data-model", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${project_dir}/shell_common:shell_common", ] diff --git a/examples/chef/silabs/BUILD.gn b/examples/chef/silabs/BUILD.gn index 3f74106f9f54c2..83275a766e7846 100644 --- a/examples/chef/silabs/BUILD.gn +++ b/examples/chef/silabs/BUILD.gn @@ -96,6 +96,7 @@ silabs_executable("chef_app") { deps = [ ":chef-common", ":sdk", + "${chip_root}/src/platform/logging:default", "${examples_plat_dir}:efr32-common", ] diff --git a/examples/chip-tool/BUILD.gn b/examples/chip-tool/BUILD.gn index a27c3cd65716bd..5746f909208733 100644 --- a/examples/chip-tool/BUILD.gn +++ b/examples/chip-tool/BUILD.gn @@ -132,7 +132,7 @@ executable("chip-tool") { deps = [ ":chip-tool-utils", - "${chip_root}/src/platform/logging:force_stdio", + "${chip_root}/src/platform/logging:stdio", ] output_dir = root_out_dir diff --git a/examples/common/tracing/BUILD.gn b/examples/common/tracing/BUILD.gn index cf6fdc2da525b4..9a1193060058db 100644 --- a/examples/common/tracing/BUILD.gn +++ b/examples/common/tracing/BUILD.gn @@ -120,7 +120,7 @@ executable("chip-trace-decoder") { output_dir = root_out_dir - deps = [ "${chip_root}/src/platform/logging:force_stdio" ] + deps = [ "${chip_root}/src/platform/logging:stdio" ] public_deps = [ "${chip_root}/src/lib", diff --git a/examples/contact-sensor-app/linux/BUILD.gn b/examples/contact-sensor-app/linux/BUILD.gn index 6c0128d32d6ca8..fa8f760301e4d8 100644 --- a/examples/contact-sensor-app/linux/BUILD.gn +++ b/examples/contact-sensor-app/linux/BUILD.gn @@ -37,6 +37,7 @@ executable("contact-sensor-app") { "${chip_root}/examples/contact-sensor-app/contact-sensor-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_examples_enable_imgui_ui) { diff --git a/examples/contact-sensor-app/nxp/k32w/k32w0/BUILD.gn b/examples/contact-sensor-app/nxp/k32w/k32w0/BUILD.gn index cc87b4fc1532d6..ca87706fd11b21 100644 --- a/examples/contact-sensor-app/nxp/k32w/k32w0/BUILD.gn +++ b/examples/contact-sensor-app/nxp/k32w/k32w0/BUILD.gn @@ -103,6 +103,7 @@ k32w0_executable("contact_sensor_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w0_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/contact-sensor-app/nxp/k32w/k32w1/BUILD.gn b/examples/contact-sensor-app/nxp/k32w/k32w1/BUILD.gn index ed49c7bdd4f7a3..4d1956ed572707 100644 --- a/examples/contact-sensor-app/nxp/k32w/k32w1/BUILD.gn +++ b/examples/contact-sensor-app/nxp/k32w/k32w1/BUILD.gn @@ -93,6 +93,7 @@ k32w1_executable("contact_sensor_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w1_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/dishwasher-app/asr/BUILD.gn b/examples/dishwasher-app/asr/BUILD.gn index eaf4c855eefc17..172bf708331afe 100755 --- a/examples/dishwasher-app/asr/BUILD.gn +++ b/examples/dishwasher-app/asr/BUILD.gn @@ -92,6 +92,7 @@ asr_executable("dishwasher_app") { "${chip_root}/examples/dishwasher-app/dishwasher-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/dishwasher-app/linux/BUILD.gn b/examples/dishwasher-app/linux/BUILD.gn index 658fd8093d4616..e5c3a9972cccd3 100644 --- a/examples/dishwasher-app/linux/BUILD.gn +++ b/examples/dishwasher-app/linux/BUILD.gn @@ -33,6 +33,7 @@ executable("chip-dishwasher-app") { "${chip_root}/examples/dishwasher-app/dishwasher-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/energy-management-app/linux/BUILD.gn b/examples/energy-management-app/linux/BUILD.gn index 99acf81baad1c9..cfc31f85d2c953 100644 --- a/examples/energy-management-app/linux/BUILD.gn +++ b/examples/energy-management-app/linux/BUILD.gn @@ -53,6 +53,7 @@ executable("chip-energy-management-app") { "${chip_root}/examples/energy-management-app/energy-management-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_examples_enable_imgui_ui) { diff --git a/examples/light-switch-app/asr/BUILD.gn b/examples/light-switch-app/asr/BUILD.gn index 7eac5d28b65858..1e84ea55510992 100755 --- a/examples/light-switch-app/asr/BUILD.gn +++ b/examples/light-switch-app/asr/BUILD.gn @@ -75,6 +75,7 @@ asr_executable("light_switch_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/light-switch-app/genio/BUILD.gn b/examples/light-switch-app/genio/BUILD.gn index ba3f349a011df5..f7e04013790734 100644 --- a/examples/light-switch-app/genio/BUILD.gn +++ b/examples/light-switch-app/genio/BUILD.gn @@ -83,6 +83,7 @@ mt793x_executable("light_switch_app") { "${chip_root}/examples/light-switch-app/light-switch-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${mt793x_examples_plat_dir}:genio-matter-shell", ] diff --git a/examples/light-switch-app/infineon/cyw30739/BUILD.gn b/examples/light-switch-app/infineon/cyw30739/BUILD.gn index 0a594386bc9206..0f90857e6074c2 100644 --- a/examples/light-switch-app/infineon/cyw30739/BUILD.gn +++ b/examples/light-switch-app/infineon/cyw30739/BUILD.gn @@ -61,6 +61,7 @@ cyw30739_executable("light_switch_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ "include" ] diff --git a/examples/light-switch-app/qpg/BUILD.gn b/examples/light-switch-app/qpg/BUILD.gn index 055cfd46f95abb..70611a75a48f0b 100644 --- a/examples/light-switch-app/qpg/BUILD.gn +++ b/examples/light-switch-app/qpg/BUILD.gn @@ -65,6 +65,7 @@ qpg_executable("light_switch_app") { "${chip_root}/examples/light-switch-app/qpg/zap/", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/third_party/openthread/platforms:libopenthread-platform", "${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", diff --git a/examples/light-switch-app/silabs/BUILD.gn b/examples/light-switch-app/silabs/BUILD.gn index f302a1593facce..2602842edf4d83 100644 --- a/examples/light-switch-app/silabs/BUILD.gn +++ b/examples/light-switch-app/silabs/BUILD.gn @@ -166,6 +166,7 @@ silabs_executable("light_switch_app") { "${chip_root}/examples/common/pigweed:descriptor_service.nanopb_rpc", "${chip_root}/examples/common/pigweed:device_service.nanopb_rpc", "${chip_root}/examples/common/pigweed:lighting_service.nanopb_rpc", + "${chip_root}/src/platform/logging:default", ] if (wifi_soc) { diff --git a/examples/lighting-app/asr/BUILD.gn b/examples/lighting-app/asr/BUILD.gn index 576a50b92aa7f8..ecacd5d44465ba 100755 --- a/examples/lighting-app/asr/BUILD.gn +++ b/examples/lighting-app/asr/BUILD.gn @@ -92,6 +92,7 @@ asr_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/bouffalolab/bl602/BUILD.gn b/examples/lighting-app/bouffalolab/bl602/BUILD.gn index ab89ae3f3bdb63..b4a125e5b8e229 100644 --- a/examples/lighting-app/bouffalolab/bl602/BUILD.gn +++ b/examples/lighting-app/bouffalolab/bl602/BUILD.gn @@ -148,6 +148,7 @@ bouffalolab_executable("lighting_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/bouffalolab/bl702/BUILD.gn b/examples/lighting-app/bouffalolab/bl702/BUILD.gn index f923e3bad6ffe9..fe6f3ec71b038e 100644 --- a/examples/lighting-app/bouffalolab/bl702/BUILD.gn +++ b/examples/lighting-app/bouffalolab/bl702/BUILD.gn @@ -175,6 +175,7 @@ bouffalolab_executable("lighting_app") { ":sdk", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/bouffalolab/bl702l/BUILD.gn b/examples/lighting-app/bouffalolab/bl702l/BUILD.gn index 24fad9ffa1897d..55881846715959 100644 --- a/examples/lighting-app/bouffalolab/bl702l/BUILD.gn +++ b/examples/lighting-app/bouffalolab/bl702l/BUILD.gn @@ -150,6 +150,7 @@ bouffalolab_executable("lighting_app") { ":sdk", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/cc13x2x7_26x2x7/BUILD.gn b/examples/lighting-app/cc13x2x7_26x2x7/BUILD.gn index 1292b5f5e9626c..9592c505d7edc9 100644 --- a/examples/lighting-app/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/lighting-app/cc13x2x7_26x2x7/BUILD.gn @@ -83,6 +83,7 @@ ti_simplelink_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/platform/cc13x2_26x2:cc13x2_26x2-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/lighting-app/cc13x4_26x4/BUILD.gn b/examples/lighting-app/cc13x4_26x4/BUILD.gn index 02d9b0b8763ee7..fde48cceeca664 100644 --- a/examples/lighting-app/cc13x4_26x4/BUILD.gn +++ b/examples/lighting-app/cc13x4_26x4/BUILD.gn @@ -91,6 +91,7 @@ ti_simplelink_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/platform/cc13x4_26x4:cc13x4_26x4-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/lighting-app/genio/BUILD.gn b/examples/lighting-app/genio/BUILD.gn index 6d7e34c9db4d8f..3de6ee025e4a9a 100644 --- a/examples/lighting-app/genio/BUILD.gn +++ b/examples/lighting-app/genio/BUILD.gn @@ -84,6 +84,7 @@ mt793x_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${mt793x_examples_plat_dir}:genio-matter-shell", ] diff --git a/examples/lighting-app/infineon/cyw30739/BUILD.gn b/examples/lighting-app/infineon/cyw30739/BUILD.gn index be63607b0bf97b..18d4bb685119ba 100644 --- a/examples/lighting-app/infineon/cyw30739/BUILD.gn +++ b/examples/lighting-app/infineon/cyw30739/BUILD.gn @@ -58,6 +58,7 @@ cyw30739_executable("lighting_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ "include" ] diff --git a/examples/lighting-app/infineon/psoc6/BUILD.gn b/examples/lighting-app/infineon/psoc6/BUILD.gn index ee8baf91f9ea6b..3bd75cc14d9e2c 100644 --- a/examples/lighting-app/infineon/psoc6/BUILD.gn +++ b/examples/lighting-app/infineon/psoc6/BUILD.gn @@ -122,6 +122,7 @@ psoc6_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/linux/BUILD.gn b/examples/lighting-app/linux/BUILD.gn index 47b2b7e34cd48a..d706eca23ceb28 100644 --- a/examples/lighting-app/linux/BUILD.gn +++ b/examples/lighting-app/linux/BUILD.gn @@ -46,6 +46,7 @@ executable("chip-lighting-app") { "${chip_root}/examples/lighting-app/lighting-common:lighting-manager", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/lighting-app/nxp/k32w/k32w0/BUILD.gn b/examples/lighting-app/nxp/k32w/k32w0/BUILD.gn index 93bf1dc363f9dd..e3d0ea13717e58 100644 --- a/examples/lighting-app/nxp/k32w/k32w0/BUILD.gn +++ b/examples/lighting-app/nxp/k32w/k32w0/BUILD.gn @@ -105,6 +105,7 @@ k32w0_executable("light_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w0_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/lighting-app/nxp/k32w/k32w1/BUILD.gn b/examples/lighting-app/nxp/k32w/k32w1/BUILD.gn index 2f327213533e94..a375bf8f337151 100644 --- a/examples/lighting-app/nxp/k32w/k32w1/BUILD.gn +++ b/examples/lighting-app/nxp/k32w/k32w1/BUILD.gn @@ -120,6 +120,7 @@ k32w1_executable("light_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w1_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/lighting-app/qpg/BUILD.gn b/examples/lighting-app/qpg/BUILD.gn index c835e0bf3cdaed..22664756953dca 100644 --- a/examples/lighting-app/qpg/BUILD.gn +++ b/examples/lighting-app/qpg/BUILD.gn @@ -67,6 +67,7 @@ qpg_executable("lighting_app") { "${chip_root}/examples/lighting-app/qpg/zap/", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/third_party/openthread/platforms:libopenthread-platform", "${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", diff --git a/examples/lighting-app/silabs/BUILD.gn b/examples/lighting-app/silabs/BUILD.gn index 4ca705caac2cef..55d7d4100946f2 100644 --- a/examples/lighting-app/silabs/BUILD.gn +++ b/examples/lighting-app/silabs/BUILD.gn @@ -143,6 +143,7 @@ silabs_executable("lighting_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/lighting-app/stm32/BUILD.gn b/examples/lighting-app/stm32/BUILD.gn index 6adecf2d04c1f5..dd29e041f3a662 100644 --- a/examples/lighting-app/stm32/BUILD.gn +++ b/examples/lighting-app/stm32/BUILD.gn @@ -116,6 +116,7 @@ stm32_executable("lighting_app") { "${chip_root}/examples/lighting-app/lighting-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lighting-app/tizen/BUILD.gn b/examples/lighting-app/tizen/BUILD.gn index 66b508b74e3284..0b44d33bd0e500 100644 --- a/examples/lighting-app/tizen/BUILD.gn +++ b/examples/lighting-app/tizen/BUILD.gn @@ -54,6 +54,8 @@ executable("chip-lighting-app") { "${chip_root}/examples/lighting-app/lighting-common:lighting-manager", "${chip_root}/examples/platform/tizen:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", + "${chip_root}/src/platform/logging:default", ] configs += [ ":capi-system-peripheral-io" ] diff --git a/examples/lit-icd-app/linux/BUILD.gn b/examples/lit-icd-app/linux/BUILD.gn index fd8c0dfbbad343..d74264b9821ed1 100644 --- a/examples/lit-icd-app/linux/BUILD.gn +++ b/examples/lit-icd-app/linux/BUILD.gn @@ -23,6 +23,7 @@ executable("lit-icd-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/app/icd/server:manager", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/lit-icd-app/silabs/BUILD.gn b/examples/lit-icd-app/silabs/BUILD.gn index d0956cc9a7a2e3..eb7fa7a09a6d95 100644 --- a/examples/lit-icd-app/silabs/BUILD.gn +++ b/examples/lit-icd-app/silabs/BUILD.gn @@ -125,6 +125,7 @@ silabs_executable("lit_icd_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/lock-app/asr/BUILD.gn b/examples/lock-app/asr/BUILD.gn index 07d6adf3689c7f..e18ff4c2b1a8e1 100755 --- a/examples/lock-app/asr/BUILD.gn +++ b/examples/lock-app/asr/BUILD.gn @@ -76,6 +76,7 @@ asr_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lock-app/cc13x2x7_26x2x7/BUILD.gn b/examples/lock-app/cc13x2x7_26x2x7/BUILD.gn index 8cf4f38dc771f2..5090de6c03dfbc 100644 --- a/examples/lock-app/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/lock-app/cc13x2x7_26x2x7/BUILD.gn @@ -83,6 +83,7 @@ ti_simplelink_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/platform/cc13x2_26x2:cc13x2_26x2-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/lock-app/cc13x4_26x4/BUILD.gn b/examples/lock-app/cc13x4_26x4/BUILD.gn index aed45f85bce94b..5de371fdce422c 100644 --- a/examples/lock-app/cc13x4_26x4/BUILD.gn +++ b/examples/lock-app/cc13x4_26x4/BUILD.gn @@ -87,6 +87,7 @@ ti_simplelink_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/platform/cc13x4_26x4:cc13x4_26x4-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index e1eb3041555d70..218263e4634f75 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -97,6 +97,7 @@ ti_simplelink_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/platform/cc32xx:cc32xx-attestation-credentials", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lock-app/genio/BUILD.gn b/examples/lock-app/genio/BUILD.gn index 8b37e0202d10a8..94dbaa199c7b75 100644 --- a/examples/lock-app/genio/BUILD.gn +++ b/examples/lock-app/genio/BUILD.gn @@ -83,6 +83,7 @@ mt793x_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${mt793x_examples_plat_dir}:genio-matter-shell", ] diff --git a/examples/lock-app/infineon/cyw30739/BUILD.gn b/examples/lock-app/infineon/cyw30739/BUILD.gn index 8d0cc6333d32d9..823a432323ecaa 100644 --- a/examples/lock-app/infineon/cyw30739/BUILD.gn +++ b/examples/lock-app/infineon/cyw30739/BUILD.gn @@ -58,6 +58,7 @@ cyw30739_executable("lock_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ "include" ] diff --git a/examples/lock-app/infineon/psoc6/BUILD.gn b/examples/lock-app/infineon/psoc6/BUILD.gn index b575a7517cd4e9..f40cd6d4fdeed0 100644 --- a/examples/lock-app/infineon/psoc6/BUILD.gn +++ b/examples/lock-app/infineon/psoc6/BUILD.gn @@ -108,6 +108,7 @@ psoc6_executable("lock_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/lock-app/linux/BUILD.gn b/examples/lock-app/linux/BUILD.gn index ce54d7d4fd906d..996a259d608791 100644 --- a/examples/lock-app/linux/BUILD.gn +++ b/examples/lock-app/linux/BUILD.gn @@ -26,6 +26,7 @@ executable("chip-lock-app") { "${chip_root}/examples/lock-app/lock-common:lock-cluster-service", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/lock-app/nxp/k32w/k32w0/BUILD.gn b/examples/lock-app/nxp/k32w/k32w0/BUILD.gn index c755514d66a175..ab6bedefea950d 100644 --- a/examples/lock-app/nxp/k32w/k32w0/BUILD.gn +++ b/examples/lock-app/nxp/k32w/k32w0/BUILD.gn @@ -103,6 +103,7 @@ k32w0_executable("lock_app") { "${chip_root}/src/crypto", "${chip_root}/src/lib", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w0_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/lock-app/qpg/BUILD.gn b/examples/lock-app/qpg/BUILD.gn index 30794878fd1ae8..847caf200f7a6c 100644 --- a/examples/lock-app/qpg/BUILD.gn +++ b/examples/lock-app/qpg/BUILD.gn @@ -64,6 +64,7 @@ qpg_executable("lock_app") { "${chip_root}/examples/lock-app/qpg/zap/", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/third_party/openthread/platforms:libopenthread-platform", "${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", diff --git a/examples/lock-app/silabs/BUILD.gn b/examples/lock-app/silabs/BUILD.gn index fe2abc95512c20..a20a4ad66fedc7 100644 --- a/examples/lock-app/silabs/BUILD.gn +++ b/examples/lock-app/silabs/BUILD.gn @@ -128,6 +128,7 @@ silabs_executable("lock_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/log-source-app/linux/BUILD.gn b/examples/log-source-app/linux/BUILD.gn index 4cc6b31dbe97d8..a7d9471dc79519 100644 --- a/examples/log-source-app/linux/BUILD.gn +++ b/examples/log-source-app/linux/BUILD.gn @@ -23,6 +23,7 @@ executable("chip-log-source-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/app/server", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols/bdx", ] diff --git a/examples/microwave-oven-app/linux/BUILD.gn b/examples/microwave-oven-app/linux/BUILD.gn index a3d9a72327ff2f..ae740cf7cddade 100644 --- a/examples/microwave-oven-app/linux/BUILD.gn +++ b/examples/microwave-oven-app/linux/BUILD.gn @@ -33,6 +33,7 @@ executable("chip-microwave-oven-app") { "${chip_root}/examples/microwave-oven-app/microwave-oven-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/minimal-mdns/BUILD.gn b/examples/minimal-mdns/BUILD.gn index 372f5598339168..a97db1410e043e 100644 --- a/examples/minimal-mdns/BUILD.gn +++ b/examples/minimal-mdns/BUILD.gn @@ -39,6 +39,7 @@ executable("minimal-mdns-client") { "${chip_root}/examples/common/tracing:commandline", "${chip_root}/src/lib", "${chip_root}/src/lib/dnssd/minimal_mdns", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] @@ -55,6 +56,7 @@ executable("minimal-mdns-server") { "${chip_root}/src/lib", "${chip_root}/src/lib/dnssd/minimal_mdns", "${chip_root}/src/lib/dnssd/minimal_mdns/responders", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] @@ -70,6 +72,7 @@ executable("mdns-advertiser") { "${chip_root}/examples/common/tracing:commandline", "${chip_root}/src/lib", "${chip_root}/src/lib/dnssd", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/network-manager-app/linux/BUILD.gn b/examples/network-manager-app/linux/BUILD.gn index 1dee694c38616e..21d4fe75785f44 100644 --- a/examples/network-manager-app/linux/BUILD.gn +++ b/examples/network-manager-app/linux/BUILD.gn @@ -25,6 +25,7 @@ executable("network-manager-app") { "${chip_root}/examples/network-manager-app/network-manager-common", "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ "include" ] diff --git a/examples/ota-provider-app/linux/BUILD.gn b/examples/ota-provider-app/linux/BUILD.gn index de0be92c3cb8a8..a8ce9e2bb6a282 100644 --- a/examples/ota-provider-app/linux/BUILD.gn +++ b/examples/ota-provider-app/linux/BUILD.gn @@ -23,6 +23,7 @@ executable("chip-ota-provider-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/app/server", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols/bdx", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/ota-requestor-app/asr/BUILD.gn b/examples/ota-requestor-app/asr/BUILD.gn index 42bddbc7f07d9b..6f29e1723d7164 100755 --- a/examples/ota-requestor-app/asr/BUILD.gn +++ b/examples/ota-requestor-app/asr/BUILD.gn @@ -90,6 +90,7 @@ asr_executable("ota_requestor_app") { "${chip_root}/examples/ota-requestor-app/ota-requestor-common", "${chip_root}/examples/providers:device_info_provider", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/ota-requestor-app/genio/BUILD.gn b/examples/ota-requestor-app/genio/BUILD.gn index 450c45b12f6a80..609ca57a5f1ac2 100644 --- a/examples/ota-requestor-app/genio/BUILD.gn +++ b/examples/ota-requestor-app/genio/BUILD.gn @@ -76,6 +76,7 @@ mt793x_executable("ota_reuqestor_app") { "${chip_root}/examples/common/QRCode", "${chip_root}/examples/ota-requestor-app/ota-requestor-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${mt793x_examples_plat_dir}:genio-matter-shell", ] diff --git a/examples/ota-requestor-app/infineon/cyw30739/BUILD.gn b/examples/ota-requestor-app/infineon/cyw30739/BUILD.gn index 3701330b0f7113..35555f2ee26738 100644 --- a/examples/ota-requestor-app/infineon/cyw30739/BUILD.gn +++ b/examples/ota-requestor-app/infineon/cyw30739/BUILD.gn @@ -52,6 +52,7 @@ cyw30739_executable("ota_requestor_app") { "${chip_root}/examples/ota-requestor-app/ota-requestor-common", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ "include" ] diff --git a/examples/ota-requestor-app/linux/BUILD.gn b/examples/ota-requestor-app/linux/BUILD.gn index 9122ce765031a6..0081c3a059dd9d 100644 --- a/examples/ota-requestor-app/linux/BUILD.gn +++ b/examples/ota-requestor-app/linux/BUILD.gn @@ -23,6 +23,7 @@ executable("chip-ota-requestor-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/src/app/server", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/persistent-storage/cc13x2x7_26x2x7/BUILD.gn b/examples/persistent-storage/cc13x2x7_26x2x7/BUILD.gn index 0a8930dff1adb2..d346d3cd02c33e 100644 --- a/examples/persistent-storage/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/persistent-storage/cc13x2x7_26x2x7/BUILD.gn @@ -69,6 +69,7 @@ ti_simplelink_executable("persistent_storage") { ":sdk", ":sysconfig", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/persistent-storage/infineon/psoc6/BUILD.gn b/examples/persistent-storage/infineon/psoc6/BUILD.gn index d359f833815136..6c1b536280e60b 100644 --- a/examples/persistent-storage/infineon/psoc6/BUILD.gn +++ b/examples/persistent-storage/infineon/psoc6/BUILD.gn @@ -56,6 +56,7 @@ psoc6_executable("persistent_storage_app") { public_deps = [ ":persistent_storage_app_sdk_sources", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/persistent-storage/linux/BUILD.gn b/examples/persistent-storage/linux/BUILD.gn index e01cc757180484..1d13bb34709c1b 100644 --- a/examples/persistent-storage/linux/BUILD.gn +++ b/examples/persistent-storage/linux/BUILD.gn @@ -20,7 +20,10 @@ executable("persistent_storage") { "main.cpp", ] - deps = [ "${chip_root}/src/lib" ] + deps = [ + "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", + ] cflags = [ "-Wconversion" ] diff --git a/examples/persistent-storage/qpg/BUILD.gn b/examples/persistent-storage/qpg/BUILD.gn index 683a5ede278cff..11f35d825f2894 100644 --- a/examples/persistent-storage/qpg/BUILD.gn +++ b/examples/persistent-storage/qpg/BUILD.gn @@ -44,6 +44,7 @@ qpg_executable("persistent_storage_app") { ":sdk", "${chip_root}/src/app", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs += [ diff --git a/examples/platform/linux/BUILD.gn b/examples/platform/linux/BUILD.gn index 8cf00c5be5e62c..4641eae6446e04 100644 --- a/examples/platform/linux/BUILD.gn +++ b/examples/platform/linux/BUILD.gn @@ -79,7 +79,7 @@ source_set("app-main") { ":energy-reporting-test-event-trigger", ":smco-test-event-trigger", "${chip_root}/src/lib", - "${chip_root}/src/platform/logging:force_stdio", + "${chip_root}/src/platform/logging:stdio", ] deps = [ ":ota-test-event-trigger", diff --git a/examples/pump-app/cc13x2x7_26x2x7/BUILD.gn b/examples/pump-app/cc13x2x7_26x2x7/BUILD.gn index 02e87a04f067f0..841fa628fea6ed 100644 --- a/examples/pump-app/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/pump-app/cc13x2x7_26x2x7/BUILD.gn @@ -83,6 +83,7 @@ ti_simplelink_executable("pump_app") { "${chip_root}/examples/platform/cc13x2_26x2:cc13x2_26x2-attestation-credentials", "${chip_root}/examples/pump-app/pump-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/pump-app/cc13x4_26x4/BUILD.gn b/examples/pump-app/cc13x4_26x4/BUILD.gn index 8c68ba70066315..4f6f2420b79af4 100644 --- a/examples/pump-app/cc13x4_26x4/BUILD.gn +++ b/examples/pump-app/cc13x4_26x4/BUILD.gn @@ -91,6 +91,7 @@ ti_simplelink_executable("pump_app") { "${chip_root}/examples/platform/cc13x4_26x4:cc13x4_26x4-attestation-credentials", "${chip_root}/examples/pump-app/pump-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/pump-app/silabs/BUILD.gn b/examples/pump-app/silabs/BUILD.gn index 9b577950023bc0..8321ba6c80adc9 100644 --- a/examples/pump-app/silabs/BUILD.gn +++ b/examples/pump-app/silabs/BUILD.gn @@ -141,6 +141,7 @@ silabs_executable("pump_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/pump-controller-app/cc13x2x7_26x2x7/BUILD.gn b/examples/pump-controller-app/cc13x2x7_26x2x7/BUILD.gn index 2d66a7f993158b..9cf4185a9b6899 100644 --- a/examples/pump-controller-app/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/pump-controller-app/cc13x2x7_26x2x7/BUILD.gn @@ -82,6 +82,7 @@ ti_simplelink_executable("pump_controller_app") { "${chip_root}/examples/platform/cc13x2_26x2:cc13x2_26x2-attestation-credentials", "${chip_root}/examples/pump-controller-app/pump-controller-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/pump-controller-app/cc13x4_26x4/BUILD.gn b/examples/pump-controller-app/cc13x4_26x4/BUILD.gn index 289b10de001294..9ee8f84cea50ab 100644 --- a/examples/pump-controller-app/cc13x4_26x4/BUILD.gn +++ b/examples/pump-controller-app/cc13x4_26x4/BUILD.gn @@ -90,6 +90,7 @@ ti_simplelink_executable("pump_controller_app") { "${chip_root}/examples/platform/cc13x4_26x4:cc13x4_26x4-attestation-credentials", "${chip_root}/examples/pump-controller-app/pump-controller-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] if (chip_openthread_ftd) { diff --git a/examples/refrigerator-app/asr/BUILD.gn b/examples/refrigerator-app/asr/BUILD.gn index ec5abde393fcf6..c2262d8c9044f7 100755 --- a/examples/refrigerator-app/asr/BUILD.gn +++ b/examples/refrigerator-app/asr/BUILD.gn @@ -91,6 +91,7 @@ asr_executable("refrigerator_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/refrigerator-app/refrigerator-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/refrigerator-app/linux/BUILD.gn b/examples/refrigerator-app/linux/BUILD.gn index 1ec3a7f67c1a63..1b96bc0b1ae391 100644 --- a/examples/refrigerator-app/linux/BUILD.gn +++ b/examples/refrigerator-app/linux/BUILD.gn @@ -33,6 +33,7 @@ executable("chip-refrigerator-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/examples/refrigerator-app/refrigerator-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] include_dirs = [ diff --git a/examples/rvc-app/linux/BUILD.gn b/examples/rvc-app/linux/BUILD.gn index 2db48c20b27357..89a4002157591d 100644 --- a/examples/rvc-app/linux/BUILD.gn +++ b/examples/rvc-app/linux/BUILD.gn @@ -36,6 +36,7 @@ executable("chip-rvc-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/examples/rvc-app/rvc-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/shell/cc13x2x7_26x2x7/BUILD.gn b/examples/shell/cc13x2x7_26x2x7/BUILD.gn index 80e342313aaca6..fb4a203853be7d 100644 --- a/examples/shell/cc13x2x7_26x2x7/BUILD.gn +++ b/examples/shell/cc13x2x7_26x2x7/BUILD.gn @@ -90,6 +90,7 @@ ti_simplelink_executable("shell_app") { "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", "${chip_root}/src/lib/shell:shell", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/shell/cc13x4_26x4/BUILD.gn b/examples/shell/cc13x4_26x4/BUILD.gn index 2480f085783384..1cd34012bf40b8 100644 --- a/examples/shell/cc13x4_26x4/BUILD.gn +++ b/examples/shell/cc13x4_26x4/BUILD.gn @@ -89,6 +89,7 @@ ti_simplelink_executable("shell_app") { "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", "${chip_root}/src/lib/shell:shell", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/shell/genio/BUILD.gn b/examples/shell/genio/BUILD.gn index 08a6eb9c2186f0..80d8babb2dec17 100644 --- a/examples/shell/genio/BUILD.gn +++ b/examples/shell/genio/BUILD.gn @@ -53,6 +53,7 @@ mt793x_executable("shell_app") { "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${mt793x_ex_plat_dir}:genio-matter-shell", ] diff --git a/examples/shell/nxp/k32w/k32w0/BUILD.gn b/examples/shell/nxp/k32w/k32w0/BUILD.gn index b19d08fe44e325..36d962666bd231 100644 --- a/examples/shell/nxp/k32w/k32w0/BUILD.gn +++ b/examples/shell/nxp/k32w/k32w0/BUILD.gn @@ -68,6 +68,7 @@ k32w0_executable("shell_app") { "${chip_root}/examples/lock-app/lock-common", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/platform:syscalls_stub", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/mbedtls:mbedtls", "${k32w0_platform_dir}/app/support:freertos_mbedtls_utils", ] diff --git a/examples/shell/qpg/BUILD.gn b/examples/shell/qpg/BUILD.gn index d325be35e1dd2c..ae5dc28a1405d8 100644 --- a/examples/shell/qpg/BUILD.gn +++ b/examples/shell/qpg/BUILD.gn @@ -49,6 +49,7 @@ qpg_executable("shell_app") { ":sdk", "${chip_root}/examples/shell/shell_common:shell_common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/third_party/openthread/platforms:libopenthread-platform", "${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", diff --git a/examples/shell/standalone/BUILD.gn b/examples/shell/standalone/BUILD.gn index cfa97b10f7c63d..13b4c43f4e2e99 100644 --- a/examples/shell/standalone/BUILD.gn +++ b/examples/shell/standalone/BUILD.gn @@ -28,6 +28,7 @@ executable("chip-shell") { deps = [ "${chip_root}/src/lib/shell", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${project_dir}/shell_common:shell_common", ] diff --git a/examples/smoke-co-alarm-app/silabs/BUILD.gn b/examples/smoke-co-alarm-app/silabs/BUILD.gn index 73b015ea232822..c6fe0967a9775b 100644 --- a/examples/smoke-co-alarm-app/silabs/BUILD.gn +++ b/examples/smoke-co-alarm-app/silabs/BUILD.gn @@ -144,6 +144,7 @@ silabs_executable("smoke_co_alarm_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/temperature-measurement-app/asr/BUILD.gn b/examples/temperature-measurement-app/asr/BUILD.gn index dd6ea2665eb8c3..27c82d7202ef03 100755 --- a/examples/temperature-measurement-app/asr/BUILD.gn +++ b/examples/temperature-measurement-app/asr/BUILD.gn @@ -77,6 +77,7 @@ asr_executable("temperature_measurement_app") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/temperature-measurement-app/temperature-measurement-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/thermostat/asr/BUILD.gn b/examples/thermostat/asr/BUILD.gn index ad1a4dbcab72be..0846cf8aae9d30 100755 --- a/examples/thermostat/asr/BUILD.gn +++ b/examples/thermostat/asr/BUILD.gn @@ -78,6 +78,7 @@ asr_executable("thermostat") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", ] diff --git a/examples/thermostat/genio/BUILD.gn b/examples/thermostat/genio/BUILD.gn index d0fb18cbe9aaef..2be1dd193aaacb 100644 --- a/examples/thermostat/genio/BUILD.gn +++ b/examples/thermostat/genio/BUILD.gn @@ -82,6 +82,7 @@ mt793x_executable("thermostat") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${mt793x_examples_plat_dir}:genio-matter-shell", ] diff --git a/examples/thermostat/linux/BUILD.gn b/examples/thermostat/linux/BUILD.gn index 89d24bff8a0835..cda23bbc0e9108 100644 --- a/examples/thermostat/linux/BUILD.gn +++ b/examples/thermostat/linux/BUILD.gn @@ -26,6 +26,7 @@ executable("thermostat-app") { "${chip_root}/examples/platform/linux:app-main", "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/thermostat/nxp/linux-se05x/BUILD.gn b/examples/thermostat/nxp/linux-se05x/BUILD.gn index 69bdb0358106d3..f189f3f8438727 100644 --- a/examples/thermostat/nxp/linux-se05x/BUILD.gn +++ b/examples/thermostat/nxp/linux-se05x/BUILD.gn @@ -28,6 +28,7 @@ executable("thermostat-app") { "${chip_root}/examples/platform/nxp/${nxp_crypto_impl}/linux:app-main", "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", ] cflags = [ "-Wconversion" ] diff --git a/examples/thermostat/qpg/BUILD.gn b/examples/thermostat/qpg/BUILD.gn index 9989e349fc6c86..ce34ed9f910fe3 100644 --- a/examples/thermostat/qpg/BUILD.gn +++ b/examples/thermostat/qpg/BUILD.gn @@ -64,6 +64,7 @@ qpg_executable("thermostat") { "${chip_root}/examples/providers:device_info_provider", "${chip_root}/examples/thermostat/qpg/zap/", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/third_party/openthread/platforms:libopenthread-platform", "${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", diff --git a/examples/thermostat/silabs/BUILD.gn b/examples/thermostat/silabs/BUILD.gn index bb094b894f8db3..75b2f75c15c863 100644 --- a/examples/thermostat/silabs/BUILD.gn +++ b/examples/thermostat/silabs/BUILD.gn @@ -158,6 +158,7 @@ silabs_executable("thermostat_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/examples/tv-app/linux/BUILD.gn b/examples/tv-app/linux/BUILD.gn index 74838682a5072c..5c3759b560043b 100644 --- a/examples/tv-app/linux/BUILD.gn +++ b/examples/tv-app/linux/BUILD.gn @@ -27,6 +27,7 @@ executable("chip-tv-app") { "${chip_root}/examples/tv-app/tv-common", "${chip_root}/examples/tv-app/tv-common:tv-common-sources", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/inipp", ] diff --git a/examples/tv-casting-app/linux/BUILD.gn b/examples/tv-casting-app/linux/BUILD.gn index 0e4b9820538412..a50e2fe1cc4a3c 100644 --- a/examples/tv-casting-app/linux/BUILD.gn +++ b/examples/tv-casting-app/linux/BUILD.gn @@ -46,6 +46,7 @@ executable("chip-tv-casting-app") { "${chip_root}/examples/tv-casting-app/tv-casting-common", "${chip_root}/src/credentials:default_attestation_verifier", "${chip_root}/src/lib", + "${chip_root}/src/platform/logging:default", "${chip_root}/third_party/inipp", "${chip_root}/third_party/jsoncpp", ] diff --git a/examples/window-app/silabs/BUILD.gn b/examples/window-app/silabs/BUILD.gn index cc6f916712d233..c45dbda632a5f9 100644 --- a/examples/window-app/silabs/BUILD.gn +++ b/examples/window-app/silabs/BUILD.gn @@ -126,6 +126,7 @@ silabs_executable("window_app") { deps = [ ":sdk", + "${chip_root}/src/platform/logging:default", app_data_model, ] diff --git a/src/app/tests/integration/BUILD.gn b/src/app/tests/integration/BUILD.gn index da0db88682f180..268f5e695bee73 100644 --- a/src/app/tests/integration/BUILD.gn +++ b/src/app/tests/integration/BUILD.gn @@ -49,6 +49,7 @@ executable("chip-im-initiator") { "${chip_root}/src/lib/core", "${chip_root}/src/lib/support", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols", "${chip_root}/src/system", ] @@ -73,6 +74,7 @@ executable("chip-im-responder") { "${chip_root}/src/lib/support", "${chip_root}/src/messaging", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols", "${chip_root}/src/system", ] diff --git a/src/controller/python/BUILD.gn b/src/controller/python/BUILD.gn index 140ef1e08d5694..6b50f30ece5522 100644 --- a/src/controller/python/BUILD.gn +++ b/src/controller/python/BUILD.gn @@ -127,6 +127,7 @@ shared_library("ChipDeviceCtrl") { "${chip_root}/src/lib/dnssd", "${chip_root}/src/lib/support", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/setup_payload", "${chip_root}/src/transport", ] diff --git a/src/lib/address_resolve/BUILD.gn b/src/lib/address_resolve/BUILD.gn index d35a1d4aec9a5f..2a7761d80e6e6f 100644 --- a/src/lib/address_resolve/BUILD.gn +++ b/src/lib/address_resolve/BUILD.gn @@ -66,6 +66,7 @@ executable("address-resolve-tool") { ":address_resolve", "${chip_root}/examples/common/tracing:commandline", "${chip_root}/src/lib/support", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/platform/logging:stdio", ] diff --git a/src/messaging/tests/echo/BUILD.gn b/src/messaging/tests/echo/BUILD.gn index 666629562dc5cc..2a3947dc1ac0c7 100644 --- a/src/messaging/tests/echo/BUILD.gn +++ b/src/messaging/tests/echo/BUILD.gn @@ -43,6 +43,7 @@ executable("chip-echo-requester") { "${chip_root}/src/lib/core", "${chip_root}/src/lib/support", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols", "${chip_root}/src/system", ] @@ -58,6 +59,7 @@ executable("chip-echo-responder") { "${chip_root}/src/lib/core", "${chip_root}/src/lib/support", "${chip_root}/src/platform", + "${chip_root}/src/platform/logging:default", "${chip_root}/src/protocols", "${chip_root}/src/system", ] diff --git a/src/platform/ASR/BUILD.gn b/src/platform/ASR/BUILD.gn index 033f07e977835a..175299d253c4b5 100755 --- a/src/platform/ASR/BUILD.gn +++ b/src/platform/ASR/BUILD.gn @@ -44,7 +44,6 @@ static_library("ASR") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "LwIPCoreLock.cpp", "NetworkCommissioningDriver.h", "NetworkCommissioningWiFiDriver.cpp", diff --git a/src/platform/Ameba/BUILD.gn b/src/platform/Ameba/BUILD.gn index ff05b1fdeb165a..a3de745ff115d2 100755 --- a/src/platform/Ameba/BUILD.gn +++ b/src/platform/Ameba/BUILD.gn @@ -41,7 +41,6 @@ static_library("Ameba") { "FactoryDataProvider.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "LwIPCoreLock.cpp", "NetworkCommissioningDriver.h", "NetworkCommissioningWiFiDriver.cpp", diff --git a/src/platform/Beken/BUILD.gn b/src/platform/Beken/BUILD.gn index 75cbf7b96e09e6..13e8e8c37ef2f4 100755 --- a/src/platform/Beken/BUILD.gn +++ b/src/platform/Beken/BUILD.gn @@ -39,7 +39,6 @@ static_library("Beken") { "DiagnosticDataProviderImpl.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "LwIPCoreLock.cpp", "NetworkCommissioningWiFiDriver.cpp", "OTAImageProcessorImpl.cpp", diff --git a/src/platform/Darwin/BUILD.gn b/src/platform/Darwin/BUILD.gn index 11372cb5f4c627..399298b49bb19e 100644 --- a/src/platform/Darwin/BUILD.gn +++ b/src/platform/Darwin/BUILD.gn @@ -65,7 +65,6 @@ static_library("Darwin") { "DnssdImpl.h", "DnssdType.cpp", "InetPlatformConfig.h", - "LoggingImpl.cpp", "MdnsError.cpp", "MdnsError.h", "NetworkCommissioningDriver.h", @@ -96,7 +95,6 @@ static_library("Darwin") { } deps = [ - ":logging", "${chip_root}/src/lib/dnssd:platform_header", "${chip_root}/src/platform/logging:headers", "${chip_root}/src/setup_payload", diff --git a/src/platform/ESP32/BUILD.gn b/src/platform/ESP32/BUILD.gn index 768f6a25ba0e64..ad39a15a1fdde2 100644 --- a/src/platform/ESP32/BUILD.gn +++ b/src/platform/ESP32/BUILD.gn @@ -55,7 +55,6 @@ static_library("ESP32") { "ESP32Utils.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "LwIPCoreLock.cpp", "PlatformManagerImpl.cpp", "PlatformManagerImpl.h", diff --git a/src/platform/Infineon/CYW30739/BUILD.gn b/src/platform/Infineon/CYW30739/BUILD.gn index 7da725e63034be..0685bc4579eacf 100644 --- a/src/platform/Infineon/CYW30739/BUILD.gn +++ b/src/platform/Infineon/CYW30739/BUILD.gn @@ -46,7 +46,6 @@ static_library("CYW30739") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "PlatformManagerImpl.cpp", "PlatformManagerImpl.h", "SystemPlatformConfig.h", diff --git a/src/platform/Infineon/PSOC6/BUILD.gn b/src/platform/Infineon/PSOC6/BUILD.gn index 0d159bacf421c0..ee44710b6e3460 100644 --- a/src/platform/Infineon/PSOC6/BUILD.gn +++ b/src/platform/Infineon/PSOC6/BUILD.gn @@ -41,7 +41,6 @@ static_library("PSOC6") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "LwIPCoreLock.cpp", "MTBKeyValueStore.cpp", "MTBKeyValueStore.h", diff --git a/src/platform/Linux/BUILD.gn b/src/platform/Linux/BUILD.gn index 061f052869d883..d441b73908de9d 100644 --- a/src/platform/Linux/BUILD.gn +++ b/src/platform/Linux/BUILD.gn @@ -78,10 +78,10 @@ static_library("Linux") { "${chip_root}/src/setup_payload", ] - if (!chip_use_external_logging) { - sources += [ "Logging.cpp" ] - deps += [ "${chip_root}/src/platform/logging:headers" ] - } + # if (!chip_use_external_logging) { + # sources += [ "Logging.cpp" ] + # deps += [ "${chip_root}/src/platform/logging:headers" ] + # } if (chip_enable_openthread) { sources += [ "NetworkCommissioningThreadDriver.cpp" ] diff --git a/src/platform/Tizen/BUILD.gn b/src/platform/Tizen/BUILD.gn index 0d0f329be1bd5e..61dd72b29f123b 100644 --- a/src/platform/Tizen/BUILD.gn +++ b/src/platform/Tizen/BUILD.gn @@ -52,7 +52,6 @@ static_library("Tizen") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "NetworkCommissioningDriver.h", "NetworkCommissioningEthernetDriver.cpp", "PlatformManagerImpl.cpp", diff --git a/src/platform/Zephyr/BUILD.gn b/src/platform/Zephyr/BUILD.gn index 425649e4d452ee..548f3f27fcd48c 100644 --- a/src/platform/Zephyr/BUILD.gn +++ b/src/platform/Zephyr/BUILD.gn @@ -41,7 +41,6 @@ static_library("Zephyr") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "PlatformManagerImpl.cpp", "PlatformManagerImpl.h", "SysHeapMalloc.h", diff --git a/src/platform/bouffalolab/BL602/BUILD.gn b/src/platform/bouffalolab/BL602/BUILD.gn index 5fd3aceff1deee..215131d87be32d 100644 --- a/src/platform/bouffalolab/BL602/BUILD.gn +++ b/src/platform/bouffalolab/BL602/BUILD.gn @@ -39,7 +39,6 @@ static_library("BL602") { "../common/ConnectivityManagerImpl.cpp", "../common/DiagnosticDataProviderImpl.cpp", "../common/KeyValueStoreManagerImpl.cpp", - "../common/Logging.cpp", "../common/PlatformManagerImpl.cpp", ] diff --git a/src/platform/bouffalolab/BL702/BUILD.gn b/src/platform/bouffalolab/BL702/BUILD.gn index 8582019df301e7..7bf2b615d42294 100644 --- a/src/platform/bouffalolab/BL702/BUILD.gn +++ b/src/platform/bouffalolab/BL702/BUILD.gn @@ -41,7 +41,6 @@ static_library("BL702") { "../common/ConnectivityManagerImpl.cpp", "../common/DiagnosticDataProviderImpl.cpp", "../common/KeyValueStoreManagerImpl.cpp", - "../common/Logging.cpp", "../common/PlatformManagerImpl.cpp", ] diff --git a/src/platform/bouffalolab/BL702L/BUILD.gn b/src/platform/bouffalolab/BL702L/BUILD.gn index 547b9c695730c5..d688878c6ceb82 100644 --- a/src/platform/bouffalolab/BL702L/BUILD.gn +++ b/src/platform/bouffalolab/BL702L/BUILD.gn @@ -39,7 +39,6 @@ static_library("BL702L") { "../common/ConnectivityManagerImpl.cpp", "../common/DiagnosticDataProviderImpl.cpp", "../common/KeyValueStoreManagerImpl.cpp", - "../common/Logging.cpp", "../common/PlatformManagerImpl.cpp", ] diff --git a/src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn b/src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn index e0005c9fb2b9dd..3dbb4268060e50 100644 --- a/src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn +++ b/src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn @@ -35,7 +35,6 @@ static_library("cc13x2_26x2") { "../DiagnosticDataProviderImpl.cpp", "../DiagnosticDataProviderImpl.h", "../KeyValueStoreManagerImpl.cpp", - "../Logging.cpp", "../PlatformManagerImpl.cpp", "../Random.c", "BlePlatformConfig.h", diff --git a/src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn b/src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn index 0c62b3855ad353..ea5ce8ffcc7733 100644 --- a/src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn +++ b/src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn @@ -35,7 +35,6 @@ static_library("cc13x4_26x4") { "../DiagnosticDataProviderImpl.cpp", "../DiagnosticDataProviderImpl.h", "../KeyValueStoreManagerImpl.cpp", - "../Logging.cpp", "../PlatformManagerImpl.cpp", "../Random.c", "BlePlatformConfig.h", diff --git a/src/platform/logging/BUILD.gn b/src/platform/logging/BUILD.gn index 6039b101e20482..83aa35796d89c7 100644 --- a/src/platform/logging/BUILD.gn +++ b/src/platform/logging/BUILD.gn @@ -4,8 +4,87 @@ import("//build_overrides/build.gni") import("//build_overrides/chip.gni") import("//build_overrides/pigweed.gni") +import("${chip_root}/src/lib/core/core.gni") import("${chip_root}/src/platform/device.gni") +source_set("default") { + if (!chip_use_external_logging) { + deps = [ + ":headers", + "${chip_root}/src/platform:platform_base", + ] + + if (chip_device_platform == "cyw30739") { + sources = [ "${chip_root}/src/platform/Infineon/CYW30739/Logging.cpp" ] + } else if (chip_device_platform == "psoc6") { + sources = [ "${chip_root}/src/platform/Infineon/PSOC6/Logging.cpp" ] + } else if (chip_device_platform == "cc32xx") { + # leaving this commented out + # sources = [ "${chip_root}/src/platform/cc32xx/Logging.cpp" ] + } else if (chip_device_platform == "esp32") { + sources = [ "${chip_root}/src/platform/ESP32/Logging.cpp" ] + } else if (chip_device_platform == "openiotsdk") { + sources = [ + "${chip_root}/src/platform/openiotsdk/Logging.cpp", + "${chip_root}/src/platform/openiotsdk/Logging.h", + ] + } else if (chip_device_platform == "mbed") { + sources = [ + "${chip_root}/src/platform/mbed/Logging.cpp", + "${chip_root}/src/platform/mbed/Logging.h", + ] + } else if (chip_device_platform == "bl602" || + chip_device_platform == "bl702" || + chip_device_platform == "bl702l") { + sources = [ "${chip_root}/src/platform/bouffalolab/common/Logging.cpp" ] + } else if (chip_device_platform == "mt793x") { + sources = [ "${chip_root}/src/platform/mt793x/Logging.cpp" ] + } else if (chip_device_platform == "cc13x2_26x2" || + chip_device_platform == "cc13x4_26x4") { + sources = [ "${chip_root}/src/platform/cc13xx_26xx/Logging.cpp" ] + } else if (chip_device_platform == "ameba") { + sources = [ + "${chip_root}/src/platform/Ameba/Logging.cpp", + "${chip_root}/src/platform/Ameba/Logging.h", + ] + } else if (chip_device_platform == "asr") { + sources = [ "${chip_root}/src/platform/ASR/Logging.cpp" ] + } else if (chip_device_platform == "webos") { + sources = [ "${chip_root}/src/platform/webos/Logging.cpp" ] + } else if (chip_device_platform == "zephyr" || + chip_device_platform == "nxp_zephyr") { + sources = [ "${chip_root}/src/platform/Zephyr/Logging.cpp" ] + } else if (chip_device_platform == "efr32" || + chip_device_platform == "SiWx917") { + sources = [ "${chip_root}/src/platform/silabs/Logging.cpp" ] + } else if (chip_device_platform == "linux") { + sources = [ "${chip_root}/src/platform/Linux/Logging.cpp" ] + } else if (chip_device_platform == "tizen") { + sources = [ "${chip_root}/src/platform/Tizen/Logging.cpp" ] + } else if (chip_device_platform == "qpg") { + sources = [ "${chip_root}/src/platform/qpg/Logging.cpp" ] + } else if (chip_device_platform == "darwin") { + sources = [ + "${chip_root}/src/platform/Darwin/LoggingImpl.cpp", + "${chip_root}/src/platform/Darwin:logging", + ] + } else if (chip_device_platform == "mw130") { + sources = [ "${chip_root}/src/platform/nxp/mw320/Logging.cpp" ] + } else if (chip_device_platform == "k32w0") { + sources = [ "${chip_root}/src/platform/nxp/k32w/k32w0/Logging.cpp" ] + } else if (chip_device_platform == "k32w1") { + sources = [ "${chip_root}/src/platform/nxp/k32w/k32w1/Logging.cpp" ] + } else if (chip_device_platform == "nxp") { + sources = [ "${chip_root}/src/platform/nxp/common/Logging.cpp" ] + } else if (chip_device_platform == "beken") { + sources = [ "${chip_root}/src/platform/Beken/Logging.cpp" ] + } else { + print(chip_device_platform) + assert(false) + } + } +} + source_set("headers") { public = [ "LogV.h" ] } @@ -53,16 +132,3 @@ static_library("stdio") { output_extension = get_path_info(stdio_archive, "extension") output_prefix_override = true } - -# Depending on this target (via public_deps) pulls in the stdio -# logger and ensures it takes precendce over the platform backend. -group("force_stdio") { - deps = [ ":stdio" ] - public_configs = [ ":force_stdio_config" ] -} - -config("force_stdio_config") { - # Ensure the linker sees the stdio implementation first. This - # works because ldflags come before inputs on the command line. - ldflags = [ rebase_path(stdio_archive, root_build_dir) ] -} diff --git a/src/platform/mbed/BUILD.gn b/src/platform/mbed/BUILD.gn index 6132390166ea01..94e516d7642bab 100644 --- a/src/platform/mbed/BUILD.gn +++ b/src/platform/mbed/BUILD.gn @@ -30,7 +30,6 @@ static_library("mbed") { "DiagnosticDataProviderImpl.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "MbedConfig.cpp", "MbedEventTimeout.cpp", "NetworkCommissioningDriver.h", diff --git a/src/platform/mt793x/BUILD.gn b/src/platform/mt793x/BUILD.gn index 60ff46c35dc110..c73d05d2251fb1 100644 --- a/src/platform/mt793x/BUILD.gn +++ b/src/platform/mt793x/BUILD.gn @@ -42,7 +42,6 @@ static_library("mt793x") { "DnssdImpl.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "MT793XConfig.cpp", "MT793XConfig.h", "MdnsError.cpp", diff --git a/src/platform/nxp/k32w/k32w0/BUILD.gn b/src/platform/nxp/k32w/k32w0/BUILD.gn index a58609f28ef539..0b7dfdffab6320 100644 --- a/src/platform/nxp/k32w/k32w0/BUILD.gn +++ b/src/platform/nxp/k32w/k32w0/BUILD.gn @@ -45,7 +45,6 @@ static_library("k32w0") { "K32W0Config.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "NFCManagerImpl.cpp", "NFCManagerImpl.h", "PlatformManagerImpl.cpp", diff --git a/src/platform/nxp/k32w/k32w1/BUILD.gn b/src/platform/nxp/k32w/k32w1/BUILD.gn index bb3e74dc034527..1c9e0069ffd2b8 100644 --- a/src/platform/nxp/k32w/k32w1/BUILD.gn +++ b/src/platform/nxp/k32w/k32w1/BUILD.gn @@ -50,7 +50,6 @@ static_library("nxp_platform") { "K32W1Config.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "PlatformManagerImpl.cpp", "PlatformManagerImpl.h", "SystemTimeSupport.cpp", diff --git a/src/platform/nxp/mw320/BUILD.gn b/src/platform/nxp/mw320/BUILD.gn index cbae110382f1b0..91794acbd02ffb 100644 --- a/src/platform/nxp/mw320/BUILD.gn +++ b/src/platform/nxp/mw320/BUILD.gn @@ -43,7 +43,6 @@ static_library("mw320") { "DiagnosticDataProviderImpl.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "MW320Config.cpp", "MW320Config.h", "NetworkCommissioningDriver.h", diff --git a/src/platform/nxp/rt/rw61x/BUILD.gn b/src/platform/nxp/rt/rw61x/BUILD.gn index 5de785556ef7f7..39cad201d4066d 100644 --- a/src/platform/nxp/rt/rw61x/BUILD.gn +++ b/src/platform/nxp/rt/rw61x/BUILD.gn @@ -53,7 +53,6 @@ static_library("nxp_platform") { "../../common/DiagnosticDataProviderImpl.h", "../../common/KeyValueStoreManagerImpl.cpp", "../../common/KeyValueStoreManagerImpl.h", - "../../common/Logging.cpp", "../../common/NXPConfig.h", "../../common/NetworkProvisioningServerImpl.h", "../../common/PlatformManagerImpl.h", diff --git a/src/platform/nxp/zephyr/BUILD.gn b/src/platform/nxp/zephyr/BUILD.gn index 1c370750d911a6..aba8fd1a63a05d 100644 --- a/src/platform/nxp/zephyr/BUILD.gn +++ b/src/platform/nxp/zephyr/BUILD.gn @@ -30,7 +30,6 @@ static_library("nxp_zephyr") { "../../Zephyr/DiagnosticDataProviderImpl.cpp", "../../Zephyr/DiagnosticDataProviderImpl.h", "../../Zephyr/KeyValueStoreManagerImpl.cpp", - "../../Zephyr/Logging.cpp", "../../Zephyr/PlatformManagerImpl.cpp", "../../Zephyr/SysHeapMalloc.h", "../../Zephyr/SystemTimeSupport.cpp", diff --git a/src/platform/openiotsdk/BUILD.gn b/src/platform/openiotsdk/BUILD.gn index ec530f728eda0d..1f67c6c69dfddc 100644 --- a/src/platform/openiotsdk/BUILD.gn +++ b/src/platform/openiotsdk/BUILD.gn @@ -58,8 +58,6 @@ static_library("openiotsdk") { "KVPsaPsStore.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", - "Logging.h", "NetworkCommissioningDriver.h", "NetworkCommissioningEthernetDriver.cpp", "OpenIoTSDKArchUtils.c", diff --git a/src/platform/qpg/BUILD.gn b/src/platform/qpg/BUILD.gn index 1087c6d06677c8..f7266c923be0ea 100644 --- a/src/platform/qpg/BUILD.gn +++ b/src/platform/qpg/BUILD.gn @@ -41,7 +41,6 @@ static_library("qpg") { "FactoryDataProvider.cpp", "FactoryDataProvider.h", "InetPlatformConfig.h", - "Logging.cpp", "OTAImageProcessorImpl.cpp", "PlatformManagerImpl.cpp", "PlatformManagerImpl.h", diff --git a/src/platform/silabs/SiWx917/BUILD.gn b/src/platform/silabs/SiWx917/BUILD.gn index c0efdd6eab6a97..1be660bfdf633d 100644 --- a/src/platform/silabs/SiWx917/BUILD.gn +++ b/src/platform/silabs/SiWx917/BUILD.gn @@ -47,7 +47,6 @@ static_library("SiWx917") { "${silabs_platform_dir}/InetPlatformConfig.h", "${silabs_platform_dir}/KeyValueStoreManagerImpl.cpp", "${silabs_platform_dir}/KeyValueStoreManagerImpl.h", - "${silabs_platform_dir}/Logging.cpp", "${silabs_platform_dir}/MigrationManager.cpp", "${silabs_platform_dir}/MigrationManager.h", "${silabs_platform_dir}/PlatformManagerImpl.h", diff --git a/src/platform/silabs/efr32/BUILD.gn b/src/platform/silabs/efr32/BUILD.gn index 83198d1436ebdc..625d1825c30351 100644 --- a/src/platform/silabs/efr32/BUILD.gn +++ b/src/platform/silabs/efr32/BUILD.gn @@ -52,7 +52,6 @@ static_library("efr32") { "${silabs_platform_dir}/InetPlatformConfig.h", "${silabs_platform_dir}/KeyValueStoreManagerImpl.cpp", "${silabs_platform_dir}/KeyValueStoreManagerImpl.h", - "${silabs_platform_dir}/Logging.cpp", "${silabs_platform_dir}/MigrationManager.cpp", "${silabs_platform_dir}/PlatformManagerImpl.h", "${silabs_platform_dir}/SilabsConfig.cpp", diff --git a/src/platform/webos/BUILD.gn b/src/platform/webos/BUILD.gn index b2510a3040df95..9ea8c6e5bb5202 100644 --- a/src/platform/webos/BUILD.gn +++ b/src/platform/webos/BUILD.gn @@ -86,7 +86,6 @@ static_library("webos") { "InetPlatformConfig.h", "KeyValueStoreManagerImpl.cpp", "KeyValueStoreManagerImpl.h", - "Logging.cpp", "MainLoop.cpp", "MainLoop.h", "NetworkCommissioningDriver.h", diff --git a/src/test_driver/efr32/BUILD.gn b/src/test_driver/efr32/BUILD.gn index a63ef49f2210e8..311847fbed7487 100644 --- a/src/test_driver/efr32/BUILD.gn +++ b/src/test_driver/efr32/BUILD.gn @@ -78,6 +78,7 @@ silabs_executable("efr32_device_tests") { ] deps = [ + # TODO: "${chip_root}/src/platform/logging:default" ??? ":nl_test_service.nanopb_rpc", ":sdk", "${chip_root}/config/efr32/lib/pw_rpc:pw_rpc",