Skip to content

Commit 9c511bf

Browse files
committed
BUILD.gn fixes for CI
1 parent 07e78e0 commit 9c511bf

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/thermostat/linux/BUILD.gn

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import("//build_overrides/chip.gni")
1717

1818
executable("thermostat-app") {
1919
sources = [
20-
"${chip_root}/src/app/clusters/thermostat-server/PresetStructWithOwnedMembers.cpp",
2120
"include/low-power/LowPowerManager.cpp",
2221
"include/low-power/LowPowerManager.h",
2322
"main.cpp",

src/app/chip_data_model.gni

+8
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,14 @@ template("chip_data_model") {
400400
"${_app_root}/clusters/${cluster}/DefaultThreadNetworkDirectoryStorage.h",
401401
"${_app_root}/clusters/${cluster}/ThreadNetworkDirectoryStorage.h",
402402
]
403+
} else if (cluster == "thermostat-server") {
404+
sources += [
405+
"${_app_root}/clusters/${cluster}/${cluster}.cpp",
406+
"${_app_root}/clusters/${cluster}/${cluster}.h",
407+
"${_app_root}/clusters/${cluster}/PresetStructWithOwnedMembers.cpp",
408+
"${_app_root}/clusters/${cluster}/PresetStructWithOwnedMembers.h",
409+
"${_app_root}/clusters/${cluster}/thermostat-delegate.h",
410+
]
403411
} else {
404412
sources += [ "${_app_root}/clusters/${cluster}/${cluster}.cpp" ]
405413
}

0 commit comments

Comments
 (0)