diff --git a/examples/thermostat/linux/BUILD.gn b/examples/thermostat/linux/BUILD.gn index 7530a878da6c11..f5a50ad364daf3 100644 --- a/examples/thermostat/linux/BUILD.gn +++ b/examples/thermostat/linux/BUILD.gn @@ -18,10 +18,13 @@ import("//build_overrides/chip.gni") executable("thermostat-app") { sources = [ "${chip_root}/src/app/clusters/thermostat-server/PresetStructWithOwnedMembers.cpp", + "${chip_root}/src/app/clusters/thermostat-server/thermostat-delegate.h", "include/low-power/LowPowerManager.cpp", "include/low-power/LowPowerManager.h", "main.cpp", + "include/thermostat-delegate-impl.h", "thermostat-delegate-impl.cpp", + "include/thermostat-manager.h", "thermostat-manager.cpp", ] @@ -31,7 +34,10 @@ executable("thermostat-app") { "${chip_root}/src/lib", ] - include_dirs = [ "include" ] + include_dirs = [ + "include", + "${chip_root}/src/app/clusters/thermostat-server", + ] cflags = [ "-Wconversion" ]