1// 2// Copyright (C) 2019 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 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "hardware_interfaces_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 default_applicable_licenses: ["hardware_interfaces_license"], 24} 25 26cc_test { 27 name: "VtsHalWifiV1_4TargetTest", 28 defaults: ["VtsHalTargetTestDefaults"], 29 srcs: [ 30 "wifi_chip_hidl_test.cpp", 31 ], 32 static_libs: [ 33 "VtsHalWifiV1_0TargetTestUtil", 34 "android.hardware.wifi@1.0", 35 "android.hardware.wifi@1.1", 36 "android.hardware.wifi@1.2", 37 "android.hardware.wifi@1.3", 38 "android.hardware.wifi@1.4", 39 "libwifi-system-iface", 40 ], 41 test_suites: [ 42 "general-tests", 43 "vts", 44 ], 45} 46 47// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. 48cc_test { 49 name: "VtsHalWifiApV1_4TargetTest", 50 defaults: ["VtsHalTargetTestDefaults"], 51 srcs: [ 52 "wifi_ap_iface_hidl_test.cpp", 53 ], 54 static_libs: [ 55 "VtsHalWifiV1_0TargetTestUtil", 56 "android.hardware.wifi@1.0", 57 "android.hardware.wifi@1.1", 58 "android.hardware.wifi@1.2", 59 "android.hardware.wifi@1.3", 60 "android.hardware.wifi@1.4", 61 "android.hardware.wifi.hostapd@1.0", 62 "libwifi-system-iface", 63 ], 64 disable_framework: true, 65 test_suites: [ 66 "general-tests", 67 "vts", 68 ], 69} 70 71// These tests are split out so that they can be conditioned on presence of the 72// "android.hardware.wifi.aware" feature. 73cc_test { 74 name: "VtsHalWifiNanV1_4TargetTest", 75 defaults: ["VtsHalTargetTestDefaults"], 76 srcs: [ 77 "wifi_nan_iface_hidl_test.cpp", 78 ], 79 static_libs: [ 80 "VtsHalWifiV1_0TargetTestUtil", 81 "android.hardware.wifi@1.0", 82 "android.hardware.wifi@1.1", 83 "android.hardware.wifi@1.2", 84 "android.hardware.wifi@1.3", 85 "android.hardware.wifi@1.4", 86 "android.hardware.wifi@1.5", 87 "libwifi-system-iface", 88 ], 89 test_suites: [ 90 "general-tests", 91 "vts", 92 ], 93} 94 95// These tests are split out so that they can be conditioned on presence of the 96// "android.hardware.wifi.rtt" feature. 97cc_test { 98 name: "VtsHalWifiRttV1_4TargetTest", 99 defaults: ["VtsHalTargetTestDefaults"], 100 srcs: [ 101 "wifi_rtt_controller_hidl_test.cpp", 102 ], 103 static_libs: [ 104 "VtsHalWifiV1_0TargetTestUtil", 105 "android.hardware.wifi@1.0", 106 "android.hardware.wifi@1.1", 107 "android.hardware.wifi@1.2", 108 "android.hardware.wifi@1.3", 109 "android.hardware.wifi@1.4", 110 "libwifi-system-iface", 111 ], 112 test_suites: [ 113 "general-tests", 114 "vts", 115 ], 116} 117