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: ["hidl_defaults"], 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 "libbase", 30 "liblog", 31 "libcutils", 32 "libhidlbase", 33 "libhidltransport", 34 "libnativehelper", 35 "libutils", 36 "android.hardware.wifi (a] 1.0", 37 ], 38 static_libs: ["VtsHalHidlTargetTestBase"], 39 } 40 41 cc_test { 42 name: "VtsHalWifiV1_0TargetTest", 43 defaults: ["VtsHalTargetTestDefaults"], 44 srcs: [ 45 "VtsHalWifiV1_0TargetTest.cpp", 46 "wifi_ap_iface_hidl_test.cpp", 47 "wifi_chip_hidl_test.cpp", 48 "wifi_p2p_iface_hidl_test.cpp", 49 "wifi_rtt_controller_hidl_test.cpp", 50 "wifi_sta_iface_hidl_test.cpp", 51 ], 52 static_libs: [ 53 "VtsHalWifiV1_0TargetTestUtil", 54 "android.hardware.wifi (a] 1.0", 55 ], 56 } 57 58 cc_test { 59 name: "VtsHalWifiNanV1_0TargetTest", 60 defaults: ["VtsHalTargetTestDefaults"], 61 srcs: [ 62 "VtsHalWifiV1_0TargetTest.cpp", 63 "wifi_nan_iface_hidl_test.cpp", 64 ], 65 static_libs: [ 66 "VtsHalWifiV1_0TargetTestUtil", 67 "android.hardware.wifi (a] 1.0", 68 ], 69 } 70