1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_test {
11    name: "VtsHalIdentityTargetTest",
12    defaults: [
13        "VtsHalTargetTestDefaults",
14        "use_libaidlvintf_gtest_helper_static",
15    ],
16    cflags: [
17        "-Wno-deprecated-declarations",
18    ],
19    srcs: [
20        "VtsIWritableIdentityCredentialTests.cpp",
21        "Util.cpp",
22        "VtsAttestationTests.cpp",
23        "UserAuthTests.cpp",
24        "ReaderAuthTests.cpp",
25        "DeleteCredentialTests.cpp",
26        "ProveOwnershipTests.cpp",
27        "UpdateCredentialTests.cpp",
28        "EndToEndTests.cpp",
29        "TestCredentialTests.cpp",
30        "AuthenticationKeyTests.cpp",
31    ],
32    shared_libs: [
33        "libbinder",
34        "libcrypto",
35    ],
36    static_libs: [
37        "libcppbor_external",
38        "libcppcose_rkp",
39        "libkeymaster_portable",
40        "libpuresoftkeymasterdevice",
41        "android.hardware.keymaster@4.0",
42        "android.hardware.identity-support-lib",
43        "android.hardware.identity-V3-cpp",
44        "android.hardware.keymaster-V3-cpp",
45        "android.hardware.keymaster-V3-ndk_platform",
46        "libkeymaster4support",
47        "libkeymaster4_1support",
48    ],
49    test_suites: [
50        "general-tests",
51        "vts",
52    ],
53}
54