Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d84ca74a authored by David Drysdale's avatar David Drysdale
Browse files

Link static version of KeyMint lib in VTS tests

Also add transitive `secureclock` dep.

Bug: 270492370
Bug: 270484471
Test: VtsHalConfirmationUITargetTest
Test: VtsHalGatekeeperTargetTest
Change-Id: I5fd7cba8af035fde6d24c076c4e1ed90abb15645
parent 0385eeaf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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",
+5 −2
Original line number Diff line number Diff line
@@ -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",