1// 2// Copyright (C) 2021 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21cc_test { 22 name: "WifiLegacyKeystoreIntegrationTest", 23 srcs: [ 24 "WifiLegacyKeystoreIntegrationTest.cpp", 25 ], 26 defaults: [ 27 "VtsHalTargetTestDefaults", 28 "keymint_use_latest_hal_aidl_ndk_static", 29 "keystore2_use_latest_aidl_ndk_static", 30 ], 31 shared_libs: [ 32 "libbase", 33 "liblog", 34 "libcrypto", 35 "libcutils", 36 "libhidlbase", 37 "libnativehelper", 38 "libutils", 39 "libbinder_ndk", 40 ], 41 static_libs: [ 42 "VtsHalHidlTargetTestBase", 43 "android.hardware.security.secureclock-V1-ndk", 44 "android.security.legacykeystore-ndk", 45 "android.system.wifi.keystore@1.0", 46 "libkeymint_support", 47 ], 48 cflags: [ 49 "-O0", 50 "-g", 51 "-Wall", 52 "-Werror", 53 ], 54 test_suites: ["general-tests"], 55} 56