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_library_static { 28 name: "VtsHalWifiV1_6TargetTestUtil", 29 defaults: ["VtsHalTargetTestDefaults"], 30 srcs: [ 31 "wifi_hidl_test_utils_1_6.cpp", 32 ], 33 export_include_dirs: [ 34 ".", 35 ], 36 shared_libs: [ 37 "libnativehelper", 38 ], 39 static_libs: [ 40 "VtsHalWifiV1_0TargetTestUtil", 41 "android.hardware.wifi@1.0", 42 "android.hardware.wifi@1.3", 43 "android.hardware.wifi@1.5", 44 "android.hardware.wifi@1.6", 45 "libwifi-system-iface", 46 ], 47} 48 49cc_test { 50 name: "VtsHalWifiV1_6TargetTest", 51 defaults: ["VtsHalTargetTestDefaults"], 52 srcs: [ 53 "wifi_chip_hidl_test.cpp", 54 "wifi_sta_iface_hidl_test.cpp", 55 ], 56 static_libs: [ 57 "VtsHalWifiV1_0TargetTestUtil", 58 "android.hardware.wifi@1.0", 59 "android.hardware.wifi@1.1", 60 "android.hardware.wifi@1.2", 61 "android.hardware.wifi@1.3", 62 "android.hardware.wifi@1.4", 63 "android.hardware.wifi@1.5", 64 "android.hardware.wifi@1.6", 65 "libwifi-system-iface", 66 ], 67 test_suites: [ 68 "general-tests", 69 "vts", 70 ], 71} 72 73// These tests are split out so that they can be conditioned on presence of the 74// "android.hardware.wifi.rtt" feature. 75cc_test { 76 name: "VtsHalWifiRttV1_6TargetTest", 77 defaults: ["VtsHalTargetTestDefaults"], 78 srcs: [ 79 "wifi_rtt_controller_hidl_test.cpp", 80 ], 81 static_libs: [ 82 "VtsHalWifiV1_0TargetTestUtil", 83 "android.hardware.wifi@1.0", 84 "android.hardware.wifi@1.1", 85 "android.hardware.wifi@1.2", 86 "android.hardware.wifi@1.3", 87 "android.hardware.wifi@1.4", 88 "android.hardware.wifi@1.5", 89 "android.hardware.wifi@1.6", 90 "libwifi-system-iface", 91 ], 92 test_suites: [ 93 "general-tests", 94 "vts", 95 ], 96} 97 98// These tests are split out so that they can be conditioned on presence of the 99// "android.hardware.wifi.aware" feature. 100cc_test { 101 name: "VtsHalWifiNanV1_6TargetTest", 102 defaults: ["VtsHalTargetTestDefaults"], 103 srcs: [ 104 "wifi_nan_iface_hidl_test.cpp", 105 ], 106 static_libs: [ 107 "VtsHalWifiV1_0TargetTestUtil", 108 "android.hardware.wifi@1.0", 109 "android.hardware.wifi@1.1", 110 "android.hardware.wifi@1.2", 111 "android.hardware.wifi@1.3", 112 "android.hardware.wifi@1.4", 113 "android.hardware.wifi@1.5", 114 "android.hardware.wifi@1.6", 115 "libwifi-system-iface", 116 ], 117 test_suites: [ 118 "general-tests", 119 "vts", 120 ], 121} 122