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