From 2055281ed99a8d2026b4e6748f276697276281ed Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 21 Jul 2021 16:06:24 +0000 Subject: [PATCH] Restyled by gn --- BUILD.gn | 8 +++----- examples/thermostat/linux/BUILD.gn | 13 ++++++------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 514f0f8abe839e..7a79c596960ba7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -325,15 +325,13 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") { } } - if (enable_linux_thermostat_app_build) { + if (enable_linux_thermostat_app_build) { group("linux_thermostat_app") { - deps = [ - "${chip_root}/examples/thermostat/linux(${standalone_toolchain})", - ] + deps = + [ "${chip_root}/examples/thermostat/linux(${standalone_toolchain})" ] } } - if (enable_linux_tv_app_build) { group("linux_tv_app") { deps = [ "${chip_root}/examples/tv-app/linux(${standalone_toolchain})" ] diff --git a/examples/thermostat/linux/BUILD.gn b/examples/thermostat/linux/BUILD.gn index 6e9f83289f6903..2d1d13374a9dc1 100644 --- a/examples/thermostat/linux/BUILD.gn +++ b/examples/thermostat/linux/BUILD.gn @@ -15,17 +15,16 @@ import("//build_overrides/build.gni") import("//build_overrides/chip.gni") -executable("thermostat-app") -{ - sources = [ - "main.cpp", +executable("thermostat-app") { + sources = [ "include/low-power/LowPowerManager.cpp", - "include/low-power/LowPowerManager.h" - ] + "include/low-power/LowPowerManager.h", + "main.cpp", + ] deps = [ - "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/examples/platform/linux:app-main", + "${chip_root}/examples/thermostat/thermostat-common", "${chip_root}/src/lib", ]