Skip to content

Commit 445eb31

Browse files
committed
Fix condition for building test vectors
Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent f3f0c4f commit 445eb31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/credentials/BUILD.gn

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ static_library("credentials") {
108108
# is changed to generate it's own credentials instead of using Test credentials.
109109
# For some platforms test builds, which are bilding monolithic test library these files are not needed.
110110
import("${chip_root}/build/chip/tests.gni")
111-
if (!(chip_build_tests && (chip_device_platform == "mbed" ||
112-
chip_device_platform == "openiotsdk" ||
113-
chip_device_platform == "nrfconnect" ||
114-
chip_device_platform == "esp32"))) {
111+
if (chip_build_tests && !(chip_device_platform == "mbed" ||
112+
chip_device_platform == "openiotsdk" ||
113+
chip_device_platform == "nrfconnect" ||
114+
chip_device_platform == "esp32")) {
115115
sources += [
116116
"tests/CHIPAttCert_test_vectors.cpp",
117117
"tests/CHIPAttCert_test_vectors.h",

0 commit comments

Comments
 (0)