@@ -87,6 +87,36 @@ if (chip_enable_icd_checkin || chip_build_tests) {
87
87
88
88
public_deps = [ " :check-in-back-off" ]
89
89
}
90
+
91
+ # ICDMonitoringTable source-set is broken out of the main source-set to enable unit tests
92
+ # All sources and configurations used by the ICDMonitoringTable need to go in this source-set
93
+ source_set (" monitoring-table" ) {
94
+ sources = [
95
+ " ICDMonitoringTable.cpp" ,
96
+ " ICDMonitoringTable.h" ,
97
+ ]
98
+
99
+ public_deps = [
100
+ " ${ chip_root } /src/lib/core" ,
101
+ " ${ chip_root } /src/platform:platform" ,
102
+ ]
103
+ }
104
+
105
+ source_set (" sender" ) {
106
+ sources = [
107
+ " ICDCheckInSender.cpp" ,
108
+ " ICDCheckInSender.h" ,
109
+ ]
110
+
111
+ public_deps = [
112
+ " :configuration-data" ,
113
+ " :monitoring-table" ,
114
+ " :notifier" ,
115
+ " ${ chip_root } /src/credentials:credentials" ,
116
+ " ${ chip_root } /src/lib/address_resolve:address_resolve" ,
117
+ " ${ chip_root } /src/protocols/secure_channel" ,
118
+ ]
119
+ }
90
120
}
91
121
92
122
# ICD Manager source-set is broken out of the main source-set to enable unit tests
@@ -121,40 +151,6 @@ source_set("manager") {
121
151
}
122
152
}
123
153
124
- if (chip_enable_icd_checkin ) {
125
- source_set (" sender" ) {
126
- sources = [
127
- " ICDCheckInSender.cpp" ,
128
- " ICDCheckInSender.h" ,
129
- ]
130
-
131
- public_deps = [
132
- " :configuration-data" ,
133
- " :monitoring-table" ,
134
- " :notifier" ,
135
- " ${ chip_root } /src/credentials:credentials" ,
136
- " ${ chip_root } /src/lib/address_resolve:address_resolve" ,
137
- " ${ chip_root } /src/protocols/secure_channel" ,
138
- ]
139
- }
140
- }
141
-
142
- # ICDMonitoringTable source-set is broken out of the main source-set to enable unit tests
143
- # All sources and configurations used by the ICDMonitoringTable need to go in this source-set
144
- if (chip_enable_icd_checkin || chip_build_tests ) {
145
- source_set (" monitoring-table" ) {
146
- sources = [
147
- " ICDMonitoringTable.cpp" ,
148
- " ICDMonitoringTable.h" ,
149
- ]
150
-
151
- public_deps = [
152
- " ${ chip_root } /src/lib/core" ,
153
- " ${ chip_root } /src/platform:platform" ,
154
- ]
155
- }
156
- }
157
-
158
154
source_set (" configuration-data" ) {
159
155
sources = [
160
156
" ICDConfigurationData.cpp" ,
0 commit comments