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 "[email protected]", 42 "[email protected]", 43 "[email protected]", 44 "[email protected]", 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 "[email protected]", 59 "[email protected]", 60 "[email protected]", 61 "[email protected]", 62 "[email protected]", 63 "[email protected]", 64 "[email protected]", 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 "[email protected]", 84 "[email protected]", 85 "[email protected]", 86 "[email protected]", 87 "[email protected]", 88 "[email protected]", 89 "[email protected]", 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 "[email protected]", 109 "[email protected]", 110 "[email protected]", 111 "[email protected]", 112 "[email protected]", 113 "[email protected]", 114 "[email protected]", 115 "libwifi-system-iface", 116 ], 117 test_suites: [ 118 "general-tests", 119 "vts", 120 ], 121} 122