Merge "Link static version of KeyMint lib in VTS tests"

This commit is contained in:
David Drysdale 2023-03-07 10:41:15 +00:00 committed by Gerrit Code Review
commit c3177488e9
2 changed files with 8 additions and 4 deletions

View file

@ -23,7 +23,7 @@ cc_test {
name: "VtsHalConfirmationUITargetTest",
defaults: [
"VtsHalTargetTestDefaults",
"keymint_use_latest_hal_aidl_ndk_shared",
"keymint_use_latest_hal_aidl_ndk_static",
"use_libaidlvintf_gtest_helper_static",
],
srcs: [
@ -31,8 +31,9 @@ cc_test {
],
static_libs: [
"android.hardware.confirmationui-V1-ndk",
"libcn-cbor",
"android.hardware.confirmationui-support-lib",
"android.hardware.security.secureclock-V1-ndk",
"libcn-cbor",
],
shared_libs: [
"libbinder_ndk",

View file

@ -24,14 +24,17 @@ cc_test {
defaults: [
"VtsHalTargetTestDefaults",
"use_libaidlvintf_gtest_helper_static",
"keymint_use_latest_hal_aidl_ndk_shared",
"keymint_use_latest_hal_aidl_ndk_static",
],
srcs: ["VtsHalGatekeeperTargetTest.cpp"],
shared_libs: [
"libbinder_ndk",
"libbase",
],
static_libs: ["android.hardware.gatekeeper-V1-ndk"],
static_libs: [
"android.hardware.gatekeeper-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
],
test_suites: [
"general-tests",
"vts",