1// 2// Copyright (C) 2020 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_5TargetTestUtil", 29 defaults: ["VtsHalTargetTestDefaults"], 30 srcs: [ 31 "wifi_hidl_test_utils_1_5.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 "libwifi-system-iface", 45 ], 46} 47 48cc_test { 49 name: "VtsHalWifiV1_5TargetTest", 50 defaults: ["VtsHalTargetTestDefaults"], 51 srcs: [ 52 "wifi_chip_hidl_test.cpp", 53 "wifi_sta_iface_hidl_test.cpp", 54 ], 55 static_libs: [ 56 "VtsHalWifiV1_0TargetTestUtil", 57 "[email protected]", 58 "[email protected]", 59 "[email protected]", 60 "[email protected]", 61 "[email protected]", 62 "[email protected]", 63 "libwifi-system-iface", 64 ], 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_5TargetTest", 75 defaults: ["VtsHalTargetTestDefaults"], 76 srcs: [ 77 "wifi_nan_iface_hidl_test.cpp", 78 ], 79 static_libs: [ 80 "VtsHalWifiV1_0TargetTestUtil", 81 "[email protected]", 82 "[email protected]", 83 "[email protected]", 84 "[email protected]", 85 "[email protected]", 86 "[email protected]", 87 "[email protected]", 88 "libwifi-system-iface", 89 ], 90 test_suites: [ 91 "general-tests", 92 "vts", 93 ], 94} 95 96// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest. 97cc_test { 98 name: "VtsHalWifiApV1_5TargetTest", 99 defaults: ["VtsHalTargetTestDefaults"], 100 srcs: [ 101 "wifi_chip_hidl_ap_test.cpp", 102 "wifi_ap_iface_hidl_test.cpp", 103 ], 104 static_libs: [ 105 "VtsHalWifiV1_0TargetTestUtil", 106 "VtsHalWifiV1_5TargetTestUtil", 107 "[email protected]", 108 "[email protected]", 109 "[email protected]", 110 "[email protected]", 111 "[email protected]", 112 "[email protected]", 113 "libwifi-system-iface", 114 ], 115 test_suites: [ 116 "general-tests", 117 "vts", 118 ], 119} 120