Skip to content

Commit

Permalink
Fix condition for building test vectors
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 5, 2025
1 parent b51d56d commit a4df653
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/credentials/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ static_library("credentials") {
# is changed to generate it's own credentials instead of using Test credentials.
# For some platforms test builds, which are bilding monolithic test library these files are not needed.
import("${chip_root}/build/chip/tests.gni")
if (!(chip_build_tests && (chip_device_platform == "mbed" ||
chip_device_platform == "openiotsdk" ||
chip_device_platform == "nrfconnect" ||
chip_device_platform == "esp32"))) {
if (chip_build_tests && !(chip_device_platform == "mbed" ||
chip_device_platform == "openiotsdk" ||
chip_device_platform == "nrfconnect" ||
chip_device_platform == "esp32")) {
sources += [
"tests/CHIPAttCert_test_vectors.cpp",
"tests/CHIPAttCert_test_vectors.h",
Expand Down

0 comments on commit a4df653

Please sign in to comment.