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.
Merged-In: I4162cc81ade0373c31c96008f3a2bc95684fd2c2
Change-Id: I7a55a6e602b9902bd725190aa5631644f7639b95
This commit is contained in:
David Zeuthen 2020-03-02 10:24:23 -05:00
parent c5a652431f
commit 18be965c7e

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",
],