@@ -107,6 +107,49 @@ source_set("memory") {
107
107
]
108
108
}
109
109
110
+ source_set (" text_only_logging" ) {
111
+ sources = [
112
+ " logging/TextOnlyLogging.cpp" ,
113
+ " logging/TextOnlyLogging.h" ,
114
+ ]
115
+
116
+ public_deps = [
117
+ " :attributes" ,
118
+ " :logging_constants" ,
119
+ " :verifymacros_no_logging" ,
120
+ " ${ chip_root } /src/lib/core:chip_config_header" ,
121
+ ]
122
+
123
+ if (chip_pw_tokenizer_logging ) {
124
+ public_deps += [ " ${ dir_pw_tokenizer } " ]
125
+ }
126
+
127
+ deps = [
128
+ " :memory" ,
129
+ " ${ chip_root } /src/lib/core:chip_config_header" ,
130
+ " ${ chip_root } /src/platform/logging:headers" ,
131
+ ]
132
+ }
133
+
134
+ source_set (" verifymacros" ) {
135
+ sources = [ " CodeUtils.h" ]
136
+
137
+ public_deps = [
138
+ " :attributes" ,
139
+ " :text_only_logging" ,
140
+ " :verifymacros_no_logging" ,
141
+ " ${ chip_root } /src/lib/core:chip_config_header" ,
142
+ " ${ chip_root } /src/lib/core:error" ,
143
+ " ${ nlassert_root } :nlassert" ,
144
+ ]
145
+ }
146
+
147
+ source_set (" span" ) {
148
+ sources = [ " Span.h" ]
149
+
150
+ public_deps = [ " :verifymacros" ]
151
+ }
152
+
110
153
source_set (" chip_version_header" ) {
111
154
sources = get_target_outputs (" :gen_chip_version" )
112
155
@@ -132,7 +175,6 @@ static_library("support") {
132
175
" CHIPArgParser.cpp" ,
133
176
" CHIPCounter.h" ,
134
177
" CHIPMemString.h" ,
135
- " CodeUtils.h" ,
136
178
" DLLUtil.h" ,
137
179
" DefaultStorageKeyAllocator.h" ,
138
180
" Defer.h" ,
@@ -172,8 +214,6 @@ static_library("support") {
172
214
" logging/BinaryLogging.cpp" ,
173
215
" logging/BinaryLogging.h" ,
174
216
" logging/CHIPLogging.h" ,
175
- " logging/TextOnlyLogging.cpp" ,
176
- " logging/TextOnlyLogging.h" ,
177
217
" verhoeff/Verhoeff.cpp" ,
178
218
" verhoeff/Verhoeff.h" ,
179
219
" verhoeff/Verhoeff10.cpp" ,
@@ -203,11 +243,13 @@ static_library("support") {
203
243
" :logging_constants" ,
204
244
" :memory" ,
205
245
" :safeint" ,
246
+ " :span" ,
247
+ " :text_only_logging" ,
248
+ " :verifymacros" ,
206
249
" :verifymacros_no_logging" ,
207
250
" ${ chip_root } /src/lib/core:chip_config_header" ,
208
251
" ${ chip_root } /src/lib/core:error" ,
209
252
" ${ chip_root } /src/platform:platform_buildconfig" ,
210
- " ${ chip_root } /src/platform/logging:headers" ,
211
253
" ${ nlassert_root } :nlassert" ,
212
254
" ${ nlio_root } :nlio" ,
213
255
]
0 commit comments