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 17package { 18 default_team: "trendy_team_fwk_wifi_hal", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "hardware_interfaces_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["hardware_interfaces_license"], 25} 26 27cc_library_static { 28 name: "VtsHalWifiV1_0TargetTestUtil", 29 defaults: ["VtsHalTargetTestDefaults"], 30 srcs: [ 31 "wifi_hidl_call_util_selftest.cpp", 32 "wifi_hidl_test.cpp", 33 "wifi_hidl_test_utils.cpp", 34 ], 35 export_include_dirs: [ 36 ".", 37 ], 38 shared_libs: [ 39 "libnativehelper", 40 ], 41 static_libs: [ 42 "[email protected]", 43 "[email protected]", 44 "[email protected]", 45 "libwifi-system-iface", 46 ], 47} 48 49cc_test { 50 name: "VtsHalWifiV1_0TargetTest", 51 defaults: ["VtsHalTargetTestDefaults"], 52 tidy_timeout_srcs: [ 53 "wifi_chip_hidl_test.cpp", 54 ], 55 srcs: [ 56 "wifi_chip_hidl_test.cpp", 57 "wifi_p2p_iface_hidl_test.cpp", 58 "wifi_rtt_controller_hidl_test.cpp", 59 "wifi_sta_iface_hidl_test.cpp", 60 ], 61 static_libs: [ 62 "VtsHalWifiV1_0TargetTestUtil", 63 "[email protected]", 64 "[email protected]", 65 "[email protected]", 66 "[email protected]", 67 "[email protected]", 68 "[email protected]", 69 "libwifi-system-iface", 70 ], 71 test_suites: [ 72 "general-tests", 73 "vts", 74 ], 75} 76 77// These tests are split out so that they can be conditioned on presence of the 78// "android.hardware.wifi.aware" feature. 79cc_test { 80 name: "VtsHalWifiNanV1_0TargetTest", 81 defaults: ["VtsHalTargetTestDefaults"], 82 srcs: [ 83 "wifi_chip_hidl_nan_test.cpp", 84 "wifi_nan_iface_hidl_test.cpp", 85 ], 86 static_libs: [ 87 "VtsHalWifiV1_0TargetTestUtil", 88 "[email protected]", 89 "[email protected]", 90 "[email protected]", 91 "[email protected]", 92 "[email protected]", 93 "[email protected]", 94 "libwifi-system-iface", 95 ], 96 test_suites: [ 97 "general-tests", 98 "vts", 99 ], 100} 101 102// These tests are split out so that they can be conditioned on presence of 103// the hostapd HAL, which indicates SoftAP support. 104cc_test { 105 name: "VtsHalWifiApV1_0TargetTest", 106 defaults: ["VtsHalTargetTestDefaults"], 107 srcs: [ 108 "wifi_ap_iface_hidl_test.cpp", 109 "wifi_chip_hidl_ap_test.cpp", 110 ], 111 static_libs: [ 112 "VtsHalWifiV1_0TargetTestUtil", 113 "[email protected]", 114 "[email protected]", 115 "libwifi-system-iface", 116 ], 117 disable_framework: true, 118 test_suites: [ 119 "general-tests", 120 "vts", 121 ], 122} 123