1package { 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 10cc_test { 11 name: "VtsHalIdentityTargetTest", 12 defaults: [ 13 "VtsHalTargetTestDefaults", 14 "keymint_use_latest_hal_aidl_cpp_static", 15 "keymint_use_latest_hal_aidl_ndk_static", 16 "use_libaidlvintf_gtest_helper_static", 17 ], 18 cflags: [ 19 "-Wno-deprecated-declarations", 20 ], 21 srcs: [ 22 "VtsIWritableIdentityCredentialTests.cpp", 23 "Util.cpp", 24 "VtsAttestationTests.cpp", 25 "UserAuthTests.cpp", 26 "ReaderAuthTests.cpp", 27 "DeleteCredentialTests.cpp", 28 "ProveOwnershipTests.cpp", 29 "UpdateCredentialTests.cpp", 30 "EndToEndTests.cpp", 31 "TestCredentialTests.cpp", 32 "AuthenticationKeyTests.cpp", 33 "PresentationSessionTests.cpp", 34 ], 35 shared_libs: [ 36 "libbinder", 37 "libbinder_ndk", 38 "libcrypto", 39 ], 40 static_libs: [ 41 "android.hardware.security.secureclock-V1-ndk", 42 "libcppbor_external", 43 "libcppcose_rkp", 44 "libkeymaster_portable", 45 "libkeymint_vts_test_utils", 46 "libpuresoftkeymasterdevice", 47 "android.hardware.keymaster@4.0", 48 "android.hardware.identity-support-lib", 49 "android.hardware.identity-V4-cpp", 50 "android.hardware.keymaster-V3-cpp", 51 "android.hardware.keymaster-V3-ndk", 52 "libkeymaster4support", 53 "libkeymaster4_1support", 54 "libkeymint_remote_prov_support", 55 ], 56 test_suites: [ 57 "general-tests", 58 "vts", 59 ], 60 require_root: true, 61} 62