Skip to content

Commit

Permalink
TSBM-21 Restore modifications in fileattestationtrust store to be not…
Browse files Browse the repository at this point in the history
… build when renesas
  • Loading branch information
n-nievergeld committed Feb 22, 2024
1 parent b12c182 commit 691e79c
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 15 deletions.
55 changes: 55 additions & 0 deletions examples/lock-app/renesas/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,58 @@ group("chip-lock-app")
group("renesas") {
deps = [ ":chip-lock-app" ]
}

group("default") {
deps = [
"//:chip-lock-app",
"//:renesas",
"//third_party/connectedhomeip/src/access:access",
"//third_party/connectedhomeip/src/app:app",
"//third_party/connectedhomeip/src/app:app_config",
"//third_party/connectedhomeip/src/app/common:cluster-objects",
"//third_party/connectedhomeip/src/ble:ble",
"//third_party/connectedhomeip/src/ble:ble_config_header",
"//third_party/connectedhomeip/src/credentials:credentials",
"//third_party/connectedhomeip/src/credentials:default_attestation_verifier",
"//third_party/connectedhomeip/src/crypto:crypto",
"//third_party/connectedhomeip/src/crypto:public_headers",
"//third_party/connectedhomeip/src/inet:inet",
"//third_party/connectedhomeip/src/inet:inet_config_header",
"//third_party/connectedhomeip/src/lib/address_resolve:address_resolve",
"//third_party/connectedhomeip/src/lib/asn1:asn1",
"//third_party/connectedhomeip/src/lib/asn1:asn1oid_header",
"//third_party/connectedhomeip/src/lib/asn1:gen_asn1oid",
"//third_party/connectedhomeip/src/lib/core:chip_config_header",
"//third_party/connectedhomeip/src/lib/core:core",
"//third_party/connectedhomeip/src/lib/dnssd:dnssd",
"//third_party/connectedhomeip/src/lib/dnssd:platform_header",
"//third_party/connectedhomeip/src/lib/support:attributes",
"//third_party/connectedhomeip/src/lib/support:chip_version_header",
"//third_party/connectedhomeip/src/lib/support:gen_chip_version",
"//third_party/connectedhomeip/src/lib/support:logging_constants",
"//third_party/connectedhomeip/src/lib/support:support",
"//third_party/connectedhomeip/src/lib/support:testing",
"//third_party/connectedhomeip/src/messaging:messaging",
"//third_party/connectedhomeip/src/messaging:messaging_mrp_config",
"//third_party/connectedhomeip/src/platform:platform",
"//third_party/connectedhomeip/src/platform:platform_base",
"//third_party/connectedhomeip/src/platform:syscalls_stub",
"//third_party/connectedhomeip/src/platform/logging:force_stdio",
"//third_party/connectedhomeip/src/platform/logging:headers",
"//third_party/connectedhomeip/src/platform/logging:stdio",
"//third_party/connectedhomeip/src/platform/renesas:renesas",
"//third_party/connectedhomeip/src/protocols/secure_channel:secure_channel",
"//third_party/connectedhomeip/src/setup_payload:additional_data_payload",
"//third_party/connectedhomeip/src/setup_payload:setup_payload",
"//third_party/connectedhomeip/src/system:system",
"//third_party/connectedhomeip/src/system:system_config_header",
"//third_party/connectedhomeip/src/trace:trace",
"//third_party/connectedhomeip/src/tracing:tracing",
"//third_party/connectedhomeip/src/transport:transport",
"//third_party/connectedhomeip/src/transport/raw:raw",
"//third_party/connectedhomeip/third_party/jsoncpp:jsoncpp",
"//third_party/connectedhomeip/third_party/nlassert:nlassert",
"//third_party/connectedhomeip/third_party/nlio:nlio",
"//third_party/connectedhomeip/third_party/nlunit-test:nlunit-test",
]
}
1 change: 1 addition & 0 deletions src/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ config("includes") {
include_dirs += [ "${chip_root}/zzz_generated/app-common" ]

defines = [ "CHIP_HAVE_CONFIG_H=1" ]

# Make __FILE__ and related macros relative to chip_root
cflags = [ "-fmacro-prefix-map=${build_relative_chip_root}/=" ]
}
Expand Down
25 changes: 10 additions & 15 deletions src/credentials/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,14 @@ static_library("default_attestation_verifier") {
]
}

if (chip_device_platform != "renesas")
{
static_library("file_attestation_trust_store") {
output_name = "libFileAttestationTrustStore"

sources = [
"attestation_verifier/FileAttestationTrustStore.cpp",
"attestation_verifier/FileAttestationTrustStore.h",
]

public_deps = [
":credentials",
"${nlassert_root}:nlassert",
]
}
static_library("file_attestation_trust_store") {
output_name = "libFileAttestationTrustStore"
sources = [
"attestation_verifier/FileAttestationTrustStore.cpp",
"attestation_verifier/FileAttestationTrustStore.h",
]
public_deps = [
":credentials",
"${nlassert_root}:nlassert",
]
}

0 comments on commit 691e79c

Please sign in to comment.