Identity: Statically link additional libraries in VtsHalIdentityTargetTest.

The problem was that VtsHalIdentityTargetTest was dynamically linking
libraries that (currently) only are pulled in by the default IC HAL
implementaiton. This caused linking problems when copying
VtsHalIdentityTargetTest onto a device a running it.

Fix this by only dynamically linking libbinder and libcrypto.

Bug: 150475275
Test: VtsHalIdentityTargetTest runs on a device without Identity Credential.
Change-Id: I4162cc81ade0373c31c96008f3a2bc95684fd2c2
This commit is contained in:
David Zeuthen
2020-03-02 10:24:23 -05:00
parent 6905b3438e
commit 27cb4eb4da

View File

@@ -7,10 +7,11 @@ cc_test {
srcs: ["VtsHalIdentityTargetTest.cpp"],
shared_libs: [
"libbinder",
"libcppbor",
"android.hardware.identity-support-lib",
"libcrypto",
],
static_libs: [
"libcppbor",
"android.hardware.identity-support-lib",
"android.hardware.identity-cpp",
"android.hardware.keymaster-cpp",
],