diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml index 3bd48a1960b8ba..3613a6e39781fc 100644 --- a/.github/workflows/examples-linux-standalone.yaml +++ b/.github/workflows/examples-linux-standalone.yaml @@ -94,6 +94,8 @@ jobs: linux debug all-clusters-app \ out/linux-x64-all-clusters/chip-all-clusters-app \ /tmp/bloat_reports/ + - name: Clean out build output + run: rm -rf ./out - name: Build example Standalone All Clusters Minimal Server run: | ./scripts/run_in_build_env.sh \ @@ -134,6 +136,8 @@ jobs: linux debug+rpc+ui lighting-app \ out/linux-x64-light-rpc-with-ui/chip-lighting-app \ /tmp/bloat_reports/ + - name: Clean out build output + run: rm -rf ./out - name: Build example Standalone Bridge run: | ./scripts/run_in_build_env.sh \ @@ -164,6 +168,8 @@ jobs: linux debug ota-requestor-app \ out/linux-x64-ota-requestor/chip-ota-requestor-app \ /tmp/bloat_reports/ + - name: Clean out build output + run: rm -rf ./out - name: Build example Standalone Lock App run: | ./scripts/run_in_build_env.sh \ diff --git a/examples/all-clusters-app/linux/args.gni b/examples/all-clusters-app/linux/args.gni index 703c3576d66c19..49ecbd6dff99e8 100644 --- a/examples/all-clusters-app/linux/args.gni +++ b/examples/all-clusters-app/linux/args.gni @@ -23,3 +23,8 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/all-clusters-app/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/all-clusters-minimal-app/linux/args.gni b/examples/all-clusters-minimal-app/linux/args.gni index dc89c1c4d16b31..a87d4da8fd9320 100644 --- a/examples/all-clusters-minimal-app/linux/args.gni +++ b/examples/all-clusters-minimal-app/linux/args.gni @@ -23,3 +23,8 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/all-clusters-minimal-app/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/bridge-app/linux/args.gni b/examples/bridge-app/linux/args.gni index 7039d20e181994..ba90537f6ea0b7 100644 --- a/examples/bridge-app/linux/args.gni +++ b/examples/bridge-app/linux/args.gni @@ -23,3 +23,8 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/bridge-app/bridge-common/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/contact-sensor-app/linux/args.gni b/examples/contact-sensor-app/linux/args.gni index 0d9ddb3d2d5e8d..a94078f1c1c071 100644 --- a/examples/contact-sensor-app/linux/args.gni +++ b/examples/contact-sensor-app/linux/args.gni @@ -25,3 +25,7 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/contact-sensor-app/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/lock-app/linux/args.gni b/examples/lock-app/linux/args.gni index 703c3576d66c19..e01c49ddbbdf34 100644 --- a/examples/lock-app/linux/args.gni +++ b/examples/lock-app/linux/args.gni @@ -23,3 +23,7 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/all-clusters-app/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/log-source-app/linux/args.gni b/examples/log-source-app/linux/args.gni index 311ddab32d5fe5..5c36fb0cb40b6f 100644 --- a/examples/log-source-app/linux/args.gni +++ b/examples/log-source-app/linux/args.gni @@ -15,3 +15,8 @@ import("//build_overrides/chip.gni") import("${chip_root}/config/standalone/args.gni") + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/ota-provider-app/linux/args.gni b/examples/ota-provider-app/linux/args.gni index 75fe130a3dfd81..442c2ba4d43edc 100644 --- a/examples/ota-provider-app/linux/args.gni +++ b/examples/ota-provider-app/linux/args.gni @@ -23,3 +23,7 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/ota-provider-app/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/ota-requestor-app/linux/args.gni b/examples/ota-requestor-app/linux/args.gni index 87c6eb3c1f59de..ee072aeca2defc 100644 --- a/examples/ota-requestor-app/linux/args.gni +++ b/examples/ota-requestor-app/linux/args.gni @@ -25,3 +25,7 @@ chip_project_config_include_dirs = chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] chip_enable_ota_requestor = true +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/persistent-storage/linux/args.gni b/examples/persistent-storage/linux/args.gni index a6463ca2c05fae..7ee4af9262fd15 100644 --- a/examples/persistent-storage/linux/args.gni +++ b/examples/persistent-storage/linux/args.gni @@ -15,3 +15,7 @@ import("//build_overrides/chip.gni") import("${chip_root}/config/standalone/args.gni") +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/placeholder/linux/args.gni b/examples/placeholder/linux/args.gni index c38d497d4340cb..7a3a063a488116 100644 --- a/examples/placeholder/linux/args.gni +++ b/examples/placeholder/linux/args.gni @@ -22,3 +22,7 @@ chip_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/placeholder/linux/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/thermostat/linux/args.gni b/examples/thermostat/linux/args.gni index 311ddab32d5fe5..9de55497298118 100644 --- a/examples/thermostat/linux/args.gni +++ b/examples/thermostat/linux/args.gni @@ -15,3 +15,7 @@ import("//build_overrides/chip.gni") import("${chip_root}/config/standalone/args.gni") +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/tv-app/linux/args.gni b/examples/tv-app/linux/args.gni index 266d8cbe2c7b58..5193be22ff4cbb 100644 --- a/examples/tv-app/linux/args.gni +++ b/examples/tv-app/linux/args.gni @@ -29,3 +29,8 @@ chip_build_libshell = true chip_enable_additional_data_advertising = true chip_enable_rotating_device_id = true + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17" diff --git a/examples/tv-casting-app/linux/args.gni b/examples/tv-casting-app/linux/args.gni index f882ed23024643..0fb9de6aafe83f 100644 --- a/examples/tv-casting-app/linux/args.gni +++ b/examples/tv-casting-app/linux/args.gni @@ -31,3 +31,8 @@ chip_enable_additional_data_advertising = true chip_enable_rotating_device_id = true chip_max_discovered_ip_addresses = 20 + +matter_enable_tracing_support = true + +# Perfetto requires C++17 +cpp_standard = "gnu++17"