| // Unit test for AuthTokenTable |
| |
| package { |
| default_team: "trendy_team_android_hardware_backed_security", |
| // 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: [ |
| "android.security.aaid_aidl-cpp", |
| "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", |
| ], |
| shared_libs: [ |
| "libbinder_ndk", |
| ], |
| sanitize: { |
| cfi: false, |
| }, |
| } |