platform_hardware_interfaces/identity/aidl/vts/Android.bp
David Zeuthen 9699aa5aad identity: Add VTS test to check that Identity Credential is implemented.
Chipsets launching with Android 13 must support Identity Credential at
feature version 202201 or later. Verify this.

Bug: 217197568
Test: atest IdentityCredentialImplementedTest
Change-Id: Icddb2c63571a4a69213bd9796ba78f5b384f7d5d
2022-02-01 13:04:37 -05:00

73 lines
2.1 KiB
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
cc_test {
name: "VtsHalIdentityTargetTest",
defaults: [
"VtsHalTargetTestDefaults",
"keymint_use_latest_hal_aidl_cpp_static",
"keymint_use_latest_hal_aidl_ndk_static",
"use_libaidlvintf_gtest_helper_static",
],
cflags: [
"-Wno-deprecated-declarations",
],
srcs: [
"VtsIWritableIdentityCredentialTests.cpp",
"Util.cpp",
"VtsAttestationTests.cpp",
"UserAuthTests.cpp",
"ReaderAuthTests.cpp",
"DeleteCredentialTests.cpp",
"ProveOwnershipTests.cpp",
"UpdateCredentialTests.cpp",
"EndToEndTests.cpp",
"TestCredentialTests.cpp",
"AuthenticationKeyTests.cpp",
"PresentationSessionTests.cpp",
],
shared_libs: [
"libbinder",
"libbinder_ndk",
"libcrypto",
],
static_libs: [
"android.hardware.security.secureclock-V1-ndk",
"libcppbor_external",
"libcppcose_rkp",
"libkeymaster_portable",
"libkeymint_vts_test_utils",
"libpuresoftkeymasterdevice",
"android.hardware.keymaster@4.0",
"android.hardware.identity-support-lib",
"android.hardware.identity-V4-cpp",
"android.hardware.keymaster-V4-cpp",
"android.hardware.keymaster-V4-ndk",
"libkeymaster4support",
"libkeymaster4_1support",
"libkeymint_remote_prov_support",
],
test_suites: [
"general-tests",
"vts",
],
}
java_test_host {
name: "IdentityCredentialImplementedTest",
libs: [
"tradefed",
"vts-core-tradefed-harness",
],
srcs: ["src/**/*.java"],
test_suites: [
"vts",
],
test_config: "IdentityCredentialImplementedTest.xml",
}