blob: 51ab110ebdf70c1facceae5e729b5d3b47388482 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
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
David Zeuthen81603152020-02-11 22:04:24 -050010cc_test {
11 name: "VtsHalIdentityTargetTest",
12 defaults: [
13 "VtsHalTargetTestDefaults",
Seth Moore1bf823c2022-01-25 23:04:37 +000014 "keymint_use_latest_hal_aidl_cpp_static",
15 "keymint_use_latest_hal_aidl_ndk_static",
David Zeuthen81603152020-02-11 22:04:24 -050016 "use_libaidlvintf_gtest_helper_static",
17 ],
David Zeuthen49f2d252020-10-16 11:27:24 -040018 cflags: [
19 "-Wno-deprecated-declarations",
20 ],
Selene Huang92b61d62020-03-04 02:24:16 -080021 srcs: [
Selene Huang92b61d62020-03-04 02:24:16 -080022 "VtsIWritableIdentityCredentialTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040023 "Util.cpp",
Selene Huangcab019a2020-03-11 04:37:48 -070024 "VtsAttestationTests.cpp",
David Zeuthenef739512020-06-03 13:24:52 -040025 "UserAuthTests.cpp",
26 "ReaderAuthTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040027 "DeleteCredentialTests.cpp",
28 "ProveOwnershipTests.cpp",
29 "UpdateCredentialTests.cpp",
30 "EndToEndTests.cpp",
31 "TestCredentialTests.cpp",
32 "AuthenticationKeyTests.cpp",
David Zeuthen1eb12b22021-09-11 13:59:43 -040033 "PresentationSessionTests.cpp",
Selene Huang92b61d62020-03-04 02:24:16 -080034 ],
David Zeuthen81603152020-02-11 22:04:24 -050035 shared_libs: [
36 "libbinder",
Seth Moore1bf823c2022-01-25 23:04:37 +000037 "libbinder_ndk",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050038 "libcrypto",
David Zeuthen81603152020-02-11 22:04:24 -050039 ],
40 static_libs: [
Seth Moore1bf823c2022-01-25 23:04:37 +000041 "android.hardware.security.secureclock-V1-ndk",
Max Biresa3c7f4c2021-04-09 08:56:40 -070042 "libcppbor_external",
Max Bires9704ff62021-04-07 11:12:01 -070043 "libcppcose_rkp",
David Zeuthenbaa41d72020-06-12 14:50:21 -040044 "libkeymaster_portable",
Seth Moore1bf823c2022-01-25 23:04:37 +000045 "libkeymint_vts_test_utils",
David Zeuthenbaa41d72020-06-12 14:50:21 -040046 "libpuresoftkeymasterdevice",
David Zeuthen780f8c82020-06-18 09:44:51 -040047 "android.hardware.keymaster@4.0",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050048 "android.hardware.identity-support-lib",
David Zeuthen1eb12b22021-09-11 13:59:43 -040049 "android.hardware.identity-V4-cpp",
Jiyong Park3c4b1722022-03-22 14:46:00 +090050 "android.hardware.keymaster-V3-cpp",
51 "android.hardware.keymaster-V3-ndk",
David Zeuthen34abaae2020-10-26 20:26:36 -040052 "libkeymaster4support",
53 "libkeymaster4_1support",
Seth Moore1bf823c2022-01-25 23:04:37 +000054 "libkeymint_remote_prov_support",
David Zeuthen81603152020-02-11 22:04:24 -050055 ],
56 test_suites: [
57 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070058 "vts",
David Zeuthen81603152020-02-11 22:04:24 -050059 ],
Joseph Jang7f923b32022-04-20 13:53:50 +080060 require_root: true,
David Zeuthen81603152020-02-11 22:04:24 -050061}