File tree 13 files changed +26
-31
lines changed
light-switch-app/cc13x4_26x4/src
lighting-app/cc13x4_26x4/src
pump-app/cc13x4_26x4/main
pump-controller-app/cc13x4_26x4/main
clusters/icd-management-server
13 files changed +26
-31
lines changed Original file line number Diff line number Diff line change 62
62
#include < ti/drivers/apps/LED.h>
63
63
64
64
#if CHIP_CONFIG_ENABLE_ICD_UAT
65
- #include " app/icd/server/ICDNotifier.h"
65
+ #include " app/icd/server/ICDNotifier.h" // nogncheck
66
66
#endif
67
67
68
68
/* syscfg */
Original file line number Diff line number Diff line change 57
57
#include < ti/drivers/apps/LED.h>
58
58
59
59
#if CHIP_CONFIG_ENABLE_ICD_UAT
60
- #include " app/icd/server/ICDNotifier.h"
60
+ #include " app/icd/server/ICDNotifier.h" // nogncheck
61
61
#endif
62
62
63
63
/* syscfg */
Original file line number Diff line number Diff line change 56
56
#include < ti/drivers/apps/LED.h>
57
57
58
58
#if CHIP_CONFIG_ENABLE_ICD_UAT
59
- #include " app/icd/server/ICDNotifier.h"
59
+ #include " app/icd/server/ICDNotifier.h" // nogncheck
60
60
#endif
61
61
62
62
/* syscfg */
Original file line number Diff line number Diff line change 98
98
#include < app/clusters/device-energy-management-server/DeviceEnergyManagementTestEventTriggerHandler.h>
99
99
#endif
100
100
#if CHIP_CONFIG_ENABLE_ICD_SERVER
101
- #include < app/icd/server/ICDManager.h>
101
+ #include < app/icd/server/ICDManager.h> // nogncheck
102
102
#endif
103
103
#include < app/TestEventTriggerDelegate.h>
104
104
Original file line number Diff line number Diff line change 58
58
#include < ti/drivers/apps/LED.h>
59
59
60
60
#if CHIP_CONFIG_ENABLE_ICD_UAT
61
- #include " app/icd/server/ICDNotifier.h"
61
+ #include " app/icd/server/ICDNotifier.h" // nogncheck
62
62
#endif
63
63
64
64
/* syscfg */
Original file line number Diff line number Diff line change 53
53
#include < ti/drivers/apps/LED.h>
54
54
55
55
#if CHIP_CONFIG_ENABLE_ICD_UAT
56
- #include " app/icd/server/ICDNotifier.h"
56
+ #include " app/icd/server/ICDNotifier.h" // nogncheck
57
57
#endif
58
58
59
59
/* syscfg */
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import("//build_overrides/chip.gni")
17
17
import (" ${ chip_root } /config/darwin/args.gni" )
18
18
19
19
chip_device_project_config_include = " <CHIPProjectAppConfig.h>"
20
+ chip_project_config_include = " <CHIPProjectAppConfig.h>"
20
21
21
22
chip_project_config_include_dirs = [
22
23
" ${ chip_root } /examples/tv-casting-app/tv-casting-common/include" ,
Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ static_library("interaction-model") {
228
228
" ${ chip_root } /src/app/MessageDef" ,
229
229
" ${ chip_root } /src/app/data-model-provider" ,
230
230
" ${ chip_root } /src/app/icd/server:icd-server-config" ,
231
- " ${ chip_root } /src/app/icd/server:manager" ,
232
231
" ${ chip_root } /src/app/icd/server:observer" ,
233
232
" ${ chip_root } /src/app/util:af-types" ,
234
233
" ${ chip_root } /src/app/util:callbacks" ,
@@ -240,6 +239,10 @@ static_library("interaction-model") {
240
239
" ${ chip_root } /src/system" ,
241
240
]
242
241
242
+ if (chip_enable_icd_server ) {
243
+ public_deps += [ " ${ chip_root } /src/app/icd/server:manager" ]
244
+ }
245
+
243
246
public_configs = [ " ${ chip_root } /src:includes" ]
244
247
245
248
if (chip_enable_read_client ) {
@@ -485,6 +488,7 @@ static_library("app") {
485
488
" :global-attributes" ,
486
489
" :interaction-model" ,
487
490
" :path-expansion" ,
491
+ " :test-event-trigger" ,
488
492
" ${ chip_root } /src/app/data-model" ,
489
493
" ${ chip_root } /src/app/data-model-provider" ,
490
494
" ${ chip_root } /src/app/icd/server:icd-server-config" ,
Original file line number Diff line number Diff line change @@ -119,19 +119,6 @@ function(chip_configure_data_model APP_TARGET)
119
119
set (APP_GEN_FILES)
120
120
endif ()
121
121
122
- # These are:
123
- # //src/app/icd/server:notfier
124
- # //src/app/icd/server:monitoring-table
125
- # //src/app/icd/server:configuration-data
126
- #
127
- # TODO: ideally we would avoid duplication and would link gn-built items. In this case
128
- # it may be slightly harder because these are source_sets rather than libraries.
129
- target_sources (${APP_TARGET} ${SCOPE}
130
- ${CHIP_APP_BASE_DIR} /icd/server/ICDMonitoringTable.cpp
131
- ${CHIP_APP_BASE_DIR} /icd/server/ICDNotifier.cpp
132
- ${CHIP_APP_BASE_DIR} /icd/server/ICDConfigurationData.cpp
133
- )
134
-
135
122
# This is:
136
123
# //src/app/common:cluster-objects
137
124
#
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import("//build_overrides/build.gni")
16
16
import (" //build_overrides/chip.gni" )
17
17
import (" ${ chip_root } /build/chip/chip_codegen.gni" )
18
18
import (" ${ chip_root } /src/app/common_flags.gni" )
19
+ import (" ${ chip_root } /src/app/icd/icd.gni" )
19
20
import (" ${ chip_root } /src/data-model-providers/codegen/model.gni" )
20
21
import (" ${ chip_root } /src/platform/python.gni" )
21
22
@@ -340,9 +341,13 @@ template("chip_data_model") {
340
341
deps += [
341
342
" ${ chip_root } /src/app/icd/server:configuration-data" ,
342
343
" ${ chip_root } /src/app/icd/server:icd-server-config" ,
343
- " ${ chip_root } /src/app/icd/server:monitoring-table" ,
344
- " ${ chip_root } /src/app/icd/server:notifier" ,
345
344
]
345
+ if (chip_enable_icd_server ) {
346
+ deps += [ " ${ chip_root } /src/app/icd/server:notifier" ]
347
+ if (chip_enable_icd_checkin ) {
348
+ deps += [ " ${ chip_root } /src/app/icd/server:monitoring-table" ]
349
+ }
350
+ }
346
351
} else if (cluster == " resource-monitoring-server" ) {
347
352
sources += [
348
353
" ${ _app_root } /clusters/${ cluster } /${ cluster } .cpp" ,
Original file line number Diff line number Diff line change 25
25
#include < app-common/zap-generated/ids/Clusters.h>
26
26
#include < app/AttributeAccessInterface.h>
27
27
#include < app/AttributeAccessInterfaceRegistry.h>
28
- #include < app/icd/server/ICDNotifier.h>
28
+ #if CHIP_CONFIG_ENABLE_ICD_CIP
29
+ #include < app/icd/server/ICDNotifier.h> // nogncheck
30
+ #endif
29
31
#include < app/server/Server.h>
30
32
#include < app/util/attribute-storage.h>
31
33
Original file line number Diff line number Diff line change 30
30
31
31
#if CHIP_CONFIG_ENABLE_ICD_CIP
32
32
#include < app/ConcreteAttributePath.h>
33
- #include < app/icd/server/ICDMonitoringTable.h>
33
+ #include < app/icd/server/ICDMonitoringTable.h> // nogncheck
34
34
#include < lib/core/CHIPPersistentStorageDelegate.h>
35
35
#endif // CHIP_CONFIG_ENABLE_ICD_CIP
36
36
Original file line number Diff line number Diff line change @@ -91,12 +91,8 @@ static_library("server") {
91
91
# be updated if this is not really "testing" even though headers are Test*.h)
92
92
public_deps += [ " ${ chip_root } /src/lib/support:testing" ]
93
93
94
- if (chip_enable_icd_server ) {
95
- public_deps += [ " ${ chip_root } /src/app/icd/server:notifier" ]
96
-
97
- if (chip_enable_icd_checkin ) {
98
- public_deps +=
99
- [ " ${ chip_root } /src/app/icd/server:default-check-in-back-off" ]
100
- }
94
+ if (chip_enable_icd_checkin ) {
95
+ public_deps +=
96
+ [ " ${ chip_root } /src/app/icd/server:default-check-in-back-off" ]
101
97
}
102
98
}
You can’t perform that action at this time.
0 commit comments