Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 1 | package { |
| 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 Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 10 | cc_test { |
| 11 | name: "VtsHalIdentityTargetTest", |
| 12 | defaults: [ |
| 13 | "VtsHalTargetTestDefaults", |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 14 | "keymint_use_latest_hal_aidl_cpp_static", |
| 15 | "keymint_use_latest_hal_aidl_ndk_static", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 16 | "use_libaidlvintf_gtest_helper_static", |
| 17 | ], |
David Zeuthen | 49f2d25 | 2020-10-16 11:27:24 -0400 | [diff] [blame] | 18 | cflags: [ |
| 19 | "-Wno-deprecated-declarations", |
| 20 | ], |
Selene Huang | 92b61d6 | 2020-03-04 02:24:16 -0800 | [diff] [blame] | 21 | srcs: [ |
Selene Huang | 92b61d6 | 2020-03-04 02:24:16 -0800 | [diff] [blame] | 22 | "VtsIWritableIdentityCredentialTests.cpp", |
David Zeuthen | 49f2d25 | 2020-10-16 11:27:24 -0400 | [diff] [blame] | 23 | "Util.cpp", |
Selene Huang | cab019a | 2020-03-11 04:37:48 -0700 | [diff] [blame] | 24 | "VtsAttestationTests.cpp", |
David Zeuthen | ef73951 | 2020-06-03 13:24:52 -0400 | [diff] [blame] | 25 | "UserAuthTests.cpp", |
| 26 | "ReaderAuthTests.cpp", |
David Zeuthen | 49f2d25 | 2020-10-16 11:27:24 -0400 | [diff] [blame] | 27 | "DeleteCredentialTests.cpp", |
| 28 | "ProveOwnershipTests.cpp", |
| 29 | "UpdateCredentialTests.cpp", |
| 30 | "EndToEndTests.cpp", |
| 31 | "TestCredentialTests.cpp", |
| 32 | "AuthenticationKeyTests.cpp", |
David Zeuthen | 1eb12b2 | 2021-09-11 13:59:43 -0400 | [diff] [blame] | 33 | "PresentationSessionTests.cpp", |
Selene Huang | 92b61d6 | 2020-03-04 02:24:16 -0800 | [diff] [blame] | 34 | ], |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 35 | shared_libs: [ |
| 36 | "libbinder", |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 37 | "libbinder_ndk", |
David Zeuthen | 27cb4eb | 2020-03-02 10:24:23 -0500 | [diff] [blame] | 38 | "libcrypto", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 39 | ], |
| 40 | static_libs: [ |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 41 | "android.hardware.security.secureclock-V1-ndk", |
Max Bires | a3c7f4c | 2021-04-09 08:56:40 -0700 | [diff] [blame] | 42 | "libcppbor_external", |
Max Bires | 9704ff6 | 2021-04-07 11:12:01 -0700 | [diff] [blame] | 43 | "libcppcose_rkp", |
David Zeuthen | baa41d7 | 2020-06-12 14:50:21 -0400 | [diff] [blame] | 44 | "libkeymaster_portable", |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 45 | "libkeymint_vts_test_utils", |
David Zeuthen | baa41d7 | 2020-06-12 14:50:21 -0400 | [diff] [blame] | 46 | "libpuresoftkeymasterdevice", |
David Zeuthen | 780f8c8 | 2020-06-18 09:44:51 -0400 | [diff] [blame] | 47 | "android.hardware.keymaster@4.0", |
David Zeuthen | 27cb4eb | 2020-03-02 10:24:23 -0500 | [diff] [blame] | 48 | "android.hardware.identity-support-lib", |
David Zeuthen | 1eb12b2 | 2021-09-11 13:59:43 -0400 | [diff] [blame] | 49 | "android.hardware.identity-V4-cpp", |
Jiyong Park | 3c4b172 | 2022-03-22 14:46:00 +0900 | [diff] [blame] | 50 | "android.hardware.keymaster-V3-cpp", |
| 51 | "android.hardware.keymaster-V3-ndk", |
David Zeuthen | 34abaae | 2020-10-26 20:26:36 -0400 | [diff] [blame] | 52 | "libkeymaster4support", |
| 53 | "libkeymaster4_1support", |
Seth Moore | 1bf823c | 2022-01-25 23:04:37 +0000 | [diff] [blame] | 54 | "libkeymint_remote_prov_support", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 55 | ], |
| 56 | test_suites: [ |
| 57 | "general-tests", |
Dan Shi | ba894f8 | 2020-03-26 00:06:39 -0700 | [diff] [blame] | 58 | "vts", |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 59 | ], |
Joseph Jang | 7f923b3 | 2022-04-20 13:53:50 +0800 | [diff] [blame] | 60 | require_root: true, |
David Zeuthen | 8160315 | 2020-02-11 22:04:24 -0500 | [diff] [blame] | 61 | } |