1// 2// Copyright (C) 2017 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 17cc_library_static { 18 name: "VtsHalWifiSupplicantV1_0TargetTestUtil", 19 defaults: ["VtsHalTargetTestDefaults"], 20 srcs: ["supplicant_hidl_test_utils.cpp"], 21 export_include_dirs: [ 22 "." 23 ], 24 static_libs: [ 25 "VtsHalWifiV1_0TargetTestUtil", 26 "android.hardware.wifi.supplicant@1.0", 27 "android.hardware.wifi.supplicant@1.1", 28 "android.hardware.wifi@1.0", 29 "libcrypto", 30 "libgmock", 31 "libwifi-system", 32 "libwifi-system-iface", 33 ], 34} 35 36cc_test { 37 name: "VtsHalWifiSupplicantV1_0TargetTest", 38 defaults: ["VtsHalTargetTestDefaults"], 39 srcs: [ 40 "VtsHalWifiSupplicantV1_0TargetTest.cpp", 41 "supplicant_hidl_test.cpp", 42 "supplicant_sta_iface_hidl_test.cpp", 43 "supplicant_sta_network_hidl_test.cpp", 44 ], 45 static_libs: [ 46 "VtsHalWifiV1_0TargetTestUtil", 47 "VtsHalWifiSupplicantV1_0TargetTestUtil", 48 "android.hardware.wifi.supplicant@1.0", 49 "android.hardware.wifi.supplicant@1.1", 50 "android.hardware.wifi@1.0", 51 "libcrypto", 52 "libgmock", 53 "libwifi-system", 54 "libwifi-system-iface", 55 ], 56 test_suites: ["general-tests"], 57} 58 59cc_test { 60 name: "VtsHalWifiSupplicantP2pV1_0TargetTest", 61 defaults: ["VtsHalTargetTestDefaults"], 62 srcs: [ 63 "VtsHalWifiSupplicantV1_0TargetTest.cpp", 64 "supplicant_p2p_iface_hidl_test.cpp", 65 ], 66 static_libs: [ 67 "VtsHalWifiV1_0TargetTestUtil", 68 "VtsHalWifiSupplicantV1_0TargetTestUtil", 69 "android.hardware.wifi.supplicant@1.0", 70 "android.hardware.wifi.supplicant@1.1", 71 "android.hardware.wifi@1.0", 72 "libcrypto", 73 "libgmock", 74 "libwifi-system", 75 "libwifi-system-iface", 76 ], 77} 78