xref: /aosp_15_r20/hardware/interfaces/identity/aidl/vts/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    default_team: "trendy_team_android_hardware_backed_security",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "hardware_interfaces_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11cc_test {
12    name: "VtsHalIdentityTargetTest",
13    defaults: [
14        "VtsHalTargetTestDefaults",
15        "identity_use_latest_hal_aidl_cpp_static",
16        "keymint_use_latest_hal_aidl_cpp_static",
17        "keymint_use_latest_hal_aidl_ndk_static",
18        "use_libaidlvintf_gtest_helper_static",
19    ],
20    cflags: [
21        "-Wno-deprecated-declarations",
22    ],
23    srcs: [
24        "VtsIWritableIdentityCredentialTests.cpp",
25        "Util.cpp",
26        "VtsAttestationTests.cpp",
27        "UserAuthTests.cpp",
28        "ReaderAuthTests.cpp",
29        "DeleteCredentialTests.cpp",
30        "ProveOwnershipTests.cpp",
31        "UpdateCredentialTests.cpp",
32        "EndToEndTests.cpp",
33        "TestCredentialTests.cpp",
34        "AuthenticationKeyTests.cpp",
35        "PresentationSessionTests.cpp",
36    ],
37    shared_libs: [
38        "libbinder",
39        "libbinder_ndk",
40        "libcrypto",
41    ],
42    static_libs: [
43        "android.hardware.security.rkp-V3-cpp",
44        "android.hardware.security.rkp-V3-ndk",
45        "android.hardware.security.secureclock-V1-ndk",
46        "libcppbor",
47        "libcppcose_rkp",
48        "libkeymaster_portable",
49        "libkeymint_vts_test_utils",
50        "libpuresoftkeymasterdevice",
51        "[email protected]",
52        "android.hardware.identity-support-lib",
53        "android.hardware.keymaster-V3-cpp",
54        "android.hardware.keymaster-V3-ndk",
55        "libkeymaster4support",
56        "libkeymaster4_1support",
57        "libkeymint_remote_prov_support",
58    ],
59    test_suites: [
60        "general-tests",
61        "vts",
62    ],
63    require_root: true,
64}
65