blob: 1ce4f0c2fdf365b3cffeacb3cf9205584c6351e1 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
Yihan Dong454b8222024-10-12 09:10:43 +00002 default_team: "trendy_team_android_hardware_backed_security",
Bob Badourb224b362021-02-12 20:13:01 -08003 // 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
David Zeuthen81603152020-02-11 22:04:24 -050011cc_test {
12 name: "VtsHalIdentityTargetTest",
13 defaults: [
14 "VtsHalTargetTestDefaults",
Tri Vo680cb1d2022-09-06 17:20:37 -070015 "identity_use_latest_hal_aidl_cpp_static",
Seth Moore1bf823c2022-01-25 23:04:37 +000016 "keymint_use_latest_hal_aidl_cpp_static",
17 "keymint_use_latest_hal_aidl_ndk_static",
David Zeuthen81603152020-02-11 22:04:24 -050018 "use_libaidlvintf_gtest_helper_static",
19 ],
David Zeuthen49f2d252020-10-16 11:27:24 -040020 cflags: [
21 "-Wno-deprecated-declarations",
22 ],
Selene Huang92b61d62020-03-04 02:24:16 -080023 srcs: [
Selene Huang92b61d62020-03-04 02:24:16 -080024 "VtsIWritableIdentityCredentialTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040025 "Util.cpp",
Selene Huangcab019a2020-03-11 04:37:48 -070026 "VtsAttestationTests.cpp",
David Zeuthenef739512020-06-03 13:24:52 -040027 "UserAuthTests.cpp",
28 "ReaderAuthTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040029 "DeleteCredentialTests.cpp",
30 "ProveOwnershipTests.cpp",
31 "UpdateCredentialTests.cpp",
32 "EndToEndTests.cpp",
33 "TestCredentialTests.cpp",
34 "AuthenticationKeyTests.cpp",
David Zeuthen1eb12b22021-09-11 13:59:43 -040035 "PresentationSessionTests.cpp",
Selene Huang92b61d62020-03-04 02:24:16 -080036 ],
David Zeuthen81603152020-02-11 22:04:24 -050037 shared_libs: [
38 "libbinder",
Seth Moore1bf823c2022-01-25 23:04:37 +000039 "libbinder_ndk",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050040 "libcrypto",
David Zeuthen81603152020-02-11 22:04:24 -050041 ],
42 static_libs: [
Seth Moore41e97f02022-11-04 17:39:05 +000043 "android.hardware.security.rkp-V3-cpp",
44 "android.hardware.security.rkp-V3-ndk",
Seth Moore1bf823c2022-01-25 23:04:37 +000045 "android.hardware.security.secureclock-V1-ndk",
Shawn Willden98125922024-03-28 20:42:34 -060046 "libcppbor",
Max Bires9704ff62021-04-07 11:12:01 -070047 "libcppcose_rkp",
David Zeuthenbaa41d72020-06-12 14:50:21 -040048 "libkeymaster_portable",
Seth Moore1bf823c2022-01-25 23:04:37 +000049 "libkeymint_vts_test_utils",
David Zeuthenbaa41d72020-06-12 14:50:21 -040050 "libpuresoftkeymasterdevice",
David Zeuthen780f8c82020-06-18 09:44:51 -040051 "android.hardware.keymaster@4.0",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050052 "android.hardware.identity-support-lib",
Jiyong Park3c4b1722022-03-22 14:46:00 +090053 "android.hardware.keymaster-V3-cpp",
54 "android.hardware.keymaster-V3-ndk",
David Zeuthen34abaae2020-10-26 20:26:36 -040055 "libkeymaster4support",
56 "libkeymaster4_1support",
Seth Moore1bf823c2022-01-25 23:04:37 +000057 "libkeymint_remote_prov_support",
David Zeuthen81603152020-02-11 22:04:24 -050058 ],
59 test_suites: [
60 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070061 "vts",
David Zeuthen81603152020-02-11 22:04:24 -050062 ],
Joseph Jang7f923b32022-04-20 13:53:50 +080063 require_root: true,
David Zeuthen81603152020-02-11 22:04:24 -050064}