| # Copyright (c) 2025 Project CHIP Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| import("//build_overrides/build.gni") |
| import("//build_overrides/chip.gni") |
| |
| source_set("root-node") { |
| sources = [ |
| "RootNodeDevice.cpp", |
| "RootNodeDevice.h", |
| ] |
| |
| public_deps = [ |
| "${chip_root}/examples/all-devices-app/all-devices-common/devices/interface:single-endpoint-device", |
| "${chip_root}/src/app/clusters/access-control-server", |
| "${chip_root}/src/app/clusters/administrator-commissioning-server", |
| "${chip_root}/src/app/clusters/basic-information", |
| "${chip_root}/src/app/clusters/general-commissioning-server", |
| "${chip_root}/src/app/clusters/general-commissioning-server:bread-crumb-tracker", |
| "${chip_root}/src/app/clusters/general-diagnostics-server", |
| "${chip_root}/src/app/clusters/group-key-mgmt-server", |
| "${chip_root}/src/app/clusters/groupcast", |
| "${chip_root}/src/app/clusters/operational-credentials-server", |
| "${chip_root}/src/app/clusters/software-diagnostics-server", |
| "${chip_root}/src/data-model-providers/codedriven", |
| "${chip_root}/src/lib/core:error", |
| "${chip_root}/src/lib/support", |
| "${chip_root}/zzz_generated/app-common/devices/", |
| ] |
| } |
| |
| source_set("wifi") { |
| sources = [ |
| "WifiRootNodeDevice.cpp", |
| "WifiRootNodeDevice.h", |
| ] |
| |
| public_deps = [ |
| ":root-node", |
| "${chip_root}/src/app/clusters/network-commissioning", |
| "${chip_root}/src/app/clusters/wifi-network-diagnostics-server", |
| ] |
| } |
| |
| source_set("thread") { |
| sources = [ |
| "ThreadRootNodeDevice.cpp", |
| "ThreadRootNodeDevice.h", |
| ] |
| |
| public_deps = [ |
| ":root-node", |
| "${chip_root}/src/app/clusters/network-commissioning", |
| ] |
| } |