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 "libgmock", 30 "libwifi-system", 31 "libwifi-system-iface", 32 ], 33} 34 35cc_test { 36 name: "VtsHalWifiSupplicantV1_0TargetTest", 37 defaults: ["VtsHalTargetTestDefaults"], 38 srcs: [ 39 "supplicant_hidl_test.cpp", 40 "supplicant_sta_iface_hidl_test.cpp", 41 "supplicant_sta_network_hidl_test.cpp", 42 ], 43 static_libs: [ 44 "VtsHalWifiV1_0TargetTestUtil", 45 "VtsHalWifiSupplicantV1_0TargetTestUtil", 46 "android.hardware.wifi.supplicant@1.0", 47 "android.hardware.wifi.supplicant@1.1", 48 "android.hardware.wifi.supplicant@1.2", 49 "android.hardware.wifi.supplicant@1.3", 50 "android.hardware.wifi@1.0", 51 "libgmock", 52 "libwifi-system", 53 "libwifi-system-iface", 54 ], 55 test_suites: [ 56 "general-tests", 57 "vts", 58 ], 59} 60 61cc_test { 62 name: "VtsHalWifiSupplicantP2pV1_0TargetTest", 63 defaults: ["VtsHalTargetTestDefaults"], 64 srcs: [ 65 "VtsHalWifiSupplicantP2pV1_0TargetTest.cpp", 66 "supplicant_p2p_iface_hidl_test.cpp", 67 ], 68 static_libs: [ 69 "VtsHalWifiV1_0TargetTestUtil", 70 "VtsHalWifiSupplicantV1_0TargetTestUtil", 71 "android.hardware.wifi.supplicant@1.0", 72 "android.hardware.wifi.supplicant@1.1", 73 "android.hardware.wifi@1.0", 74 "libgmock", 75 "libwifi-system", 76 "libwifi-system-iface", 77 ], 78 test_suites: [ 79 "general-tests", 80 "vts", 81 ], 82} 83