2cb4f090ae
* Fix keystore_cli_v2 and have it installed on the device by default again. * Fix confirmationui invocation test by statically linking dependencies. Bug: 188450250 Test: atest confirmationui_invocation_test run any keystore_cli_v2 command Merged-In: I7097646b6714214782cf15c51dffb7368d62761b Change-Id: I7097646b6714214782cf15c51dffb7368d62761b
73 lines
1.6 KiB
Text
73 lines
1.6 KiB
Text
// Unit test for AuthTokenTable
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "system_security_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["system_security_license"],
|
|
}
|
|
|
|
cc_test {
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wextra",
|
|
"-O0",
|
|
],
|
|
srcs: [
|
|
"aaid_truncation_test.cpp",
|
|
"verification_token_seralization_test.cpp",
|
|
"gtest_main.cpp",
|
|
],
|
|
name: "keystore_unit_tests",
|
|
static_libs: [
|
|
"android.hardware.confirmationui@1.0",
|
|
"libbase",
|
|
"libcrypto_static",
|
|
"libcutils",
|
|
"libgtest_main",
|
|
"libhidlbase",
|
|
"libkeymaster4support",
|
|
"libkeymaster4_1support",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
shared_libs: [
|
|
"libbinder",
|
|
"libkeymaster_messages",
|
|
"libkeystore-attestation-application-id",
|
|
"libvndksupport",
|
|
],
|
|
sanitize: {
|
|
cfi: false,
|
|
}
|
|
}
|
|
|
|
cc_test {
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wextra",
|
|
"-O0",
|
|
],
|
|
srcs: [
|
|
"confirmationui_invocation_test.cpp",
|
|
"gtest_main.cpp",
|
|
],
|
|
name: "confirmationui_invocation_test",
|
|
static_libs: [
|
|
"libbase",
|
|
"libgtest_main",
|
|
"libutils",
|
|
"liblog",
|
|
"android.security.apc-ndk_platform",
|
|
],
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
],
|
|
sanitize: {
|
|
cfi: false,
|
|
}
|
|
}
|