From 780f8c860d4afd594da92ebec845ab8f03305f7a Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 18 Jun 2020 09:44:51 -0400 Subject: [PATCH] Identity: More static linking of VTS test binary. The VTS test was dynamically linking some libraries not normally present on an Android system. Statically link these libraries instead. Bug: 158150767 Test: atest VtsHalIdentityTargetTest Change-Id: Ib93620c36b0ff7f5c9f239ff8861a11196605881 --- identity/aidl/vts/Android.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/identity/aidl/vts/Android.bp b/identity/aidl/vts/Android.bp index cd6f9b0143..c1f44e742e 100644 --- a/identity/aidl/vts/Android.bp +++ b/identity/aidl/vts/Android.bp @@ -14,19 +14,19 @@ cc_test { "ReaderAuthTests.cpp", ], shared_libs: [ - "android.hardware.keymaster@4.0", "libbinder", "libcrypto", - "android.hardware.keymaster-ndk_platform", ], static_libs: [ "libcppbor", "libkeymaster_portable", "libsoft_attestation_cert", "libpuresoftkeymasterdevice", + "android.hardware.keymaster@4.0", "android.hardware.identity-support-lib", "android.hardware.identity-cpp", "android.hardware.keymaster-cpp", + "android.hardware.keymaster-ndk_platform", ], test_suites: [ "general-tests",