@@ -183,6 +183,10 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
183
183
# Enable building chip with gcc & mbedtls.
184
184
enable_host_gcc_mbedtls_build = enable_default_builds && host_os != " win"
185
185
186
+ # Build the chip-cert tool.
187
+ enable_standalone_chip_cert_build =
188
+ enable_default_builds && host_os != " win" && chip_crypto == " openssl"
189
+
186
190
# Build the chip-tool example.
187
191
enable_standalone_chip_tool_build =
188
192
enable_default_builds && host_os != " win"
@@ -274,6 +278,12 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
274
278
standalone_toolchain = " ${ chip_root } /config/standalone/toolchain:standalone"
275
279
not_needed ([ " standalone_toolchain" ]) # Might not be needed.
276
280
281
+ if (enable_standalone_chip_cert_build ) {
282
+ group (" standalone_chip_cert" ) {
283
+ deps = [ " ${ chip_root } /src/tools/chip-cert(${ standalone_toolchain } )" ]
284
+ }
285
+ }
286
+
277
287
if (enable_standalone_chip_tool_build ) {
278
288
group (" standalone_chip_tool" ) {
279
289
deps = [ " ${ chip_root } /examples/chip-tool(${ standalone_toolchain } )" ]
@@ -390,6 +400,9 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
390
400
" :android_x86" ,
391
401
]
392
402
}
403
+ if (enable_standalone_chip_cert_build ) {
404
+ deps += [ " :standalone_chip_cert" ]
405
+ }
393
406
if (enable_standalone_chip_tool_build ) {
394
407
deps += [ " :standalone_chip_tool" ]
395
408
}
0 commit comments