blob: 8ff238220e13575efe4427ade08c4ee280e4f646 [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",
Tri Vo680cb1d2022-09-06 17:20:37 -070014 "identity_use_latest_hal_aidl_cpp_static",
Seth Moore1bf823c2022-01-25 23:04:37 +000015 "keymint_use_latest_hal_aidl_cpp_static",
16 "keymint_use_latest_hal_aidl_ndk_static",
David Zeuthen81603152020-02-11 22:04:24 -050017 "use_libaidlvintf_gtest_helper_static",
18 ],
David Zeuthen49f2d252020-10-16 11:27:24 -040019 cflags: [
20 "-Wno-deprecated-declarations",
21 ],
Selene Huang92b61d62020-03-04 02:24:16 -080022 srcs: [
Selene Huang92b61d62020-03-04 02:24:16 -080023 "VtsIWritableIdentityCredentialTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040024 "Util.cpp",
Selene Huangcab019a2020-03-11 04:37:48 -070025 "VtsAttestationTests.cpp",
David Zeuthenef739512020-06-03 13:24:52 -040026 "UserAuthTests.cpp",
27 "ReaderAuthTests.cpp",
David Zeuthen49f2d252020-10-16 11:27:24 -040028 "DeleteCredentialTests.cpp",
29 "ProveOwnershipTests.cpp",
30 "UpdateCredentialTests.cpp",
31 "EndToEndTests.cpp",
32 "TestCredentialTests.cpp",
33 "AuthenticationKeyTests.cpp",
David Zeuthen1eb12b22021-09-11 13:59:43 -040034 "PresentationSessionTests.cpp",
Selene Huang92b61d62020-03-04 02:24:16 -080035 ],
David Zeuthen81603152020-02-11 22:04:24 -050036 shared_libs: [
37 "libbinder",
Seth Moore1bf823c2022-01-25 23:04:37 +000038 "libbinder_ndk",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050039 "libcrypto",
David Zeuthen81603152020-02-11 22:04:24 -050040 ],
41 static_libs: [
Seth Moore41e97f02022-11-04 17:39:05 +000042 "android.hardware.security.rkp-V3-cpp",
43 "android.hardware.security.rkp-V3-ndk",
Seth Moore1bf823c2022-01-25 23:04:37 +000044 "android.hardware.security.secureclock-V1-ndk",
Shawn Willden98125922024-03-28 20:42:34 -060045 "libcppbor",
Max Bires9704ff62021-04-07 11:12:01 -070046 "libcppcose_rkp",
David Zeuthenbaa41d72020-06-12 14:50:21 -040047 "libkeymaster_portable",
Seth Moore1bf823c2022-01-25 23:04:37 +000048 "libkeymint_vts_test_utils",
David Zeuthenbaa41d72020-06-12 14:50:21 -040049 "libpuresoftkeymasterdevice",
David Zeuthen780f8c82020-06-18 09:44:51 -040050 "android.hardware.keymaster@4.0",
David Zeuthen27cb4eb2020-03-02 10:24:23 -050051 "android.hardware.identity-support-lib",
Jiyong Park3c4b1722022-03-22 14:46:00 +090052 "android.hardware.keymaster-V3-cpp",
53 "android.hardware.keymaster-V3-ndk",
David Zeuthen34abaae2020-10-26 20:26:36 -040054 "libkeymaster4support",
55 "libkeymaster4_1support",
Seth Moore1bf823c2022-01-25 23:04:37 +000056 "libkeymint_remote_prov_support",
David Zeuthen81603152020-02-11 22:04:24 -050057 ],
58 test_suites: [
59 "general-tests",
Dan Shiba894f82020-03-26 00:06:39 -070060 "vts",
David Zeuthen81603152020-02-11 22:04:24 -050061 ],
Joseph Jang7f923b32022-04-20 13:53:50 +080062 require_root: true,
David Zeuthen81603152020-02-11 22:04:24 -050063}