summaryrefslogtreecommitdiff
path: root/identity/aidl/vts/Android.bp
blob: 51ab110ebdf70c1facceae5e729b5d3b47388482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_interfaces_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["hardware_interfaces_license"],
}

cc_test {
    name: "VtsHalIdentityTargetTest",
    defaults: [
        "VtsHalTargetTestDefaults",
        "keymint_use_latest_hal_aidl_cpp_static",
        "keymint_use_latest_hal_aidl_ndk_static",
        "use_libaidlvintf_gtest_helper_static",
    ],
    cflags: [
        "-Wno-deprecated-declarations",
    ],
    srcs: [
        "VtsIWritableIdentityCredentialTests.cpp",
        "Util.cpp",
        "VtsAttestationTests.cpp",
        "UserAuthTests.cpp",
        "ReaderAuthTests.cpp",
        "DeleteCredentialTests.cpp",
        "ProveOwnershipTests.cpp",
        "UpdateCredentialTests.cpp",
        "EndToEndTests.cpp",
        "TestCredentialTests.cpp",
        "AuthenticationKeyTests.cpp",
        "PresentationSessionTests.cpp",
    ],
    shared_libs: [
        "libbinder",
        "libbinder_ndk",
        "libcrypto",
    ],
    static_libs: [
        "android.hardware.security.secureclock-V1-ndk",
        "libcppbor_external",
        "libcppcose_rkp",
        "libkeymaster_portable",
        "libkeymint_vts_test_utils",
        "libpuresoftkeymasterdevice",
        "android.hardware.keymaster@4.0",
        "android.hardware.identity-support-lib",
        "android.hardware.identity-V4-cpp",
        "android.hardware.keymaster-V3-cpp",
        "android.hardware.keymaster-V3-ndk",
        "libkeymaster4support",
        "libkeymaster4_1support",
        "libkeymint_remote_prov_support",
    ],
    test_suites: [
        "general-tests",
        "vts",
    ],
    require_root: true,
}