1 // 2 // Copyright (C) 2016 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 17 cc_library_static { 18 name: "VtsHalWifiV1_0TargetTestUtil", 19 defaults: ["VtsHalTargetTestDefaults"], 20 srcs: [ 21 "wifi_hidl_call_util_selftest.cpp", 22 "wifi_hidl_test.cpp", 23 "wifi_hidl_test_utils.cpp", 24 ], 25 export_include_dirs: [ 26 "." 27 ], 28 shared_libs: [ 29 "libnativehelper", 30 ], 31 static_libs: ["android.hardware.wifi (a] 1.0"], 32 } 33 34 cc_test { 35 name: "VtsHalWifiV1_0TargetTest", 36 defaults: ["VtsHalTargetTestDefaults"], 37 srcs: [ 38 "VtsHalWifiV1_0TargetTest.cpp", 39 "wifi_ap_iface_hidl_test.cpp", 40 "wifi_chip_hidl_test.cpp", 41 "wifi_p2p_iface_hidl_test.cpp", 42 "wifi_rtt_controller_hidl_test.cpp", 43 "wifi_sta_iface_hidl_test.cpp", 44 ], 45 static_libs: [ 46 "VtsHalWifiV1_0TargetTestUtil", 47 "android.hardware.wifi (a] 1.0", 48 "android.hardware.wifi (a] 1.1", 49 "android.hardware.wifi (a] 1.2", 50 "android.hardware.wifi (a] 1.3", 51 ], 52 test_suites: ["general-tests"], 53 } 54 55 cc_test { 56 name: "VtsHalWifiNanV1_0TargetTest", 57 defaults: ["VtsHalTargetTestDefaults"], 58 srcs: [ 59 "VtsHalWifiV1_0TargetTest.cpp", 60 "wifi_nan_iface_hidl_test.cpp", 61 ], 62 static_libs: [ 63 "VtsHalWifiV1_0TargetTestUtil", 64 "android.hardware.wifi (a] 1.0", 65 ], 66 test_suites: ["general-tests"], 67 } 68