1// 2// Copyright (C) 2022 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_test { 28 name: "VtsHalWifiChipTargetTest", 29 defaults: [ 30 "VtsHalTargetTestDefaults", 31 "use_libaidlvintf_gtest_helper_static", 32 ], 33 srcs: [ 34 "wifi_chip_aidl_test.cpp", 35 ], 36 shared_libs: [ 37 "libbinder", 38 "libbinder_ndk", 39 "libvndksupport", 40 ], 41 static_libs: [ 42 "VtsHalWifiTargetTestUtil", 43 "android.hardware.wifi.common-V2-ndk", 44 "android.hardware.wifi-V3-ndk", 45 "libwifi-system-iface", 46 ], 47 test_suites: [ 48 "general-tests", 49 "vts", 50 ], 51} 52 53cc_test { 54 name: "VtsHalWifiStaIfaceTargetTest", 55 defaults: [ 56 "VtsHalTargetTestDefaults", 57 "use_libaidlvintf_gtest_helper_static", 58 ], 59 srcs: [ 60 "wifi_sta_iface_aidl_test.cpp", 61 ], 62 shared_libs: [ 63 "libbinder", 64 "libbinder_ndk", 65 "libvndksupport", 66 ], 67 static_libs: [ 68 "VtsHalWifiTargetTestUtil", 69 "android.hardware.wifi.common-V2-ndk", 70 "android.hardware.wifi-V3-ndk", 71 "libwifi-system-iface", 72 ], 73 test_suites: [ 74 "general-tests", 75 "vts", 76 ], 77} 78 79cc_test { 80 name: "VtsHalWifiApIfaceTargetTest", 81 defaults: [ 82 "VtsHalTargetTestDefaults", 83 "use_libaidlvintf_gtest_helper_static", 84 ], 85 srcs: [ 86 "wifi_ap_iface_aidl_test.cpp", 87 ], 88 shared_libs: [ 89 "libbinder", 90 "libbinder_ndk", 91 "libvndksupport", 92 ], 93 static_libs: [ 94 "VtsHalWifiTargetTestUtil", 95 "android.hardware.wifi.common-V2-ndk", 96 "android.hardware.wifi-V3-ndk", 97 "libwifi-system-iface", 98 ], 99 test_suites: [ 100 "general-tests", 101 "vts", 102 ], 103} 104 105cc_test { 106 name: "VtsHalWifiNanIfaceTargetTest", 107 defaults: [ 108 "VtsHalTargetTestDefaults", 109 "use_libaidlvintf_gtest_helper_static", 110 ], 111 srcs: [ 112 "wifi_nan_iface_aidl_test.cpp", 113 ], 114 shared_libs: [ 115 "libbinder", 116 "libbinder_ndk", 117 "libvndksupport", 118 ], 119 static_libs: [ 120 "VtsHalWifiTargetTestUtil", 121 "android.hardware.wifi.common-V2-ndk", 122 "android.hardware.wifi-V3-ndk", 123 "libwifi-system-iface", 124 ], 125 test_suites: [ 126 "general-tests", 127 "vts", 128 ], 129} 130 131cc_test { 132 name: "VtsHalWifiRttControllerTargetTest", 133 defaults: [ 134 "VtsHalTargetTestDefaults", 135 "use_libaidlvintf_gtest_helper_static", 136 ], 137 srcs: [ 138 "wifi_rtt_controller_aidl_test.cpp", 139 ], 140 shared_libs: [ 141 "libbinder", 142 "libbinder_ndk", 143 "libvndksupport", 144 ], 145 static_libs: [ 146 "VtsHalWifiTargetTestUtil", 147 "android.hardware.wifi.common-V2-ndk", 148 "android.hardware.wifi-V3-ndk", 149 "libwifi-system-iface", 150 ], 151 test_suites: [ 152 "general-tests", 153 "vts", 154 ], 155} 156 157cc_library_static { 158 name: "VtsHalWifiTargetTestUtil", 159 defaults: ["VtsHalTargetTestDefaults"], 160 srcs: [ 161 "wifi_aidl_test_utils.cpp", 162 ], 163 export_include_dirs: [ 164 ".", 165 ], 166 shared_libs: [ 167 "libbinder", 168 "libbinder_ndk", 169 "libnativehelper", 170 ], 171 static_libs: [ 172 "android.hardware.wifi.common-V2-ndk", 173 "android.hardware.wifi-V3-ndk", 174 "libwifi-system-iface", 175 ], 176} 177