Skip to content

Commit

Permalink
BUILD.gn fixes for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Jul 26, 2024
1 parent 07e78e0 commit 9c511bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/thermostat/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import("//build_overrides/chip.gni")

executable("thermostat-app") {
sources = [
"${chip_root}/src/app/clusters/thermostat-server/PresetStructWithOwnedMembers.cpp",
"include/low-power/LowPowerManager.cpp",
"include/low-power/LowPowerManager.h",
"main.cpp",
Expand Down
8 changes: 8 additions & 0 deletions src/app/chip_data_model.gni
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,14 @@ template("chip_data_model") {
"${_app_root}/clusters/${cluster}/DefaultThreadNetworkDirectoryStorage.h",
"${_app_root}/clusters/${cluster}/ThreadNetworkDirectoryStorage.h",
]
} else if (cluster == "thermostat-server") {
sources += [
"${_app_root}/clusters/${cluster}/${cluster}.cpp",
"${_app_root}/clusters/${cluster}/${cluster}.h",
"${_app_root}/clusters/${cluster}/PresetStructWithOwnedMembers.cpp",
"${_app_root}/clusters/${cluster}/PresetStructWithOwnedMembers.h",
"${_app_root}/clusters/${cluster}/thermostat-delegate.h",
]
} else {
sources += [ "${_app_root}/clusters/${cluster}/${cluster}.cpp" ]
}
Expand Down

0 comments on commit 9c511bf

Please sign in to comment.