Skip to content

Commit

Permalink
Restyled by gn
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and chrisbeach59 committed Jul 23, 2021
1 parent 5e4f00f commit 2055281
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
8 changes: 3 additions & 5 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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})" ]
Expand Down
13 changes: 6 additions & 7 deletions examples/thermostat/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down

0 comments on commit 2055281

Please sign in to comment.