1// Unit test for AuthTokenTable 2 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "system_security_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-Apache-2.0 9 default_applicable_licenses: ["system_security_license"], 10} 11 12cc_test { 13 cflags: [ 14 "-Wall", 15 "-Werror", 16 "-Wextra", 17 "-O0", 18 ], 19 srcs: [ 20 "aaid_truncation_test.cpp", 21 "verification_token_seralization_test.cpp", 22 "gtest_main.cpp", 23 ], 24 name: "keystore_unit_tests", 25 static_libs: [ 26 "android.hardware.confirmationui@1.0", 27 "libbase", 28 "libcrypto_static", 29 "libcutils", 30 "libgtest_main", 31 "libhidlbase", 32 "libkeymaster4support", 33 "libkeymaster4_1support", 34 "liblog", 35 "libutils", 36 ], 37 shared_libs: [ 38 "libbinder", 39 "libkeymaster_messages", 40 "libkeystore-attestation-application-id", 41 "libvndksupport", 42 ], 43 sanitize: { 44 cfi: false, 45 } 46} 47 48cc_test { 49 cflags: [ 50 "-Wall", 51 "-Werror", 52 "-Wextra", 53 "-O0", 54 ], 55 srcs: [ 56 "confirmationui_invocation_test.cpp", 57 "gtest_main.cpp", 58 ], 59 name: "confirmationui_invocation_test", 60 static_libs: [ 61 "libbase", 62 "libgtest_main", 63 "libutils", 64 "liblog", 65 "android.security.apc-ndk_platform", 66 ], 67 shared_libs: [ 68 "libbinder_ndk", 69 ], 70 sanitize: { 71 cfi: false, 72 } 73} 74