blob: d906d069bc746e4d9d339ae1c36c18ba614f50e0 [file] [log] [blame]
Nate Jiang3ec67812020-08-24 11:04:31 -07001//
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
Bob Badourc22b35b2021-02-23 14:26:20 -080017package {
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
lesl90e65652021-01-13 17:38:53 +080026cc_library_static {
27 name: "VtsHalWifiV1_5TargetTestUtil",
28 defaults: ["VtsHalTargetTestDefaults"],
29 srcs: [
30 "wifi_hidl_test_utils_1_5.cpp",
31 ],
32 export_include_dirs: [
33 ".",
34 ],
35 shared_libs: [
36 "libnativehelper",
37 ],
38 static_libs: [
39 "VtsHalWifiV1_0TargetTestUtil",
40 "android.hardware.wifi@1.0",
41 "android.hardware.wifi@1.3",
42 "android.hardware.wifi@1.5",
43 "libwifi-system-iface",
44 ],
45}
46
Roshan Piuse9d1e7d2020-11-04 11:44:16 -080047cc_test {
48 name: "VtsHalWifiV1_5TargetTest",
49 defaults: ["VtsHalTargetTestDefaults"],
50 srcs: [
51 "wifi_chip_hidl_test.cpp",
52 "wifi_sta_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@1.5",
62 "libwifi-system-iface",
63 ],
64 test_suites: [
65 "general-tests",
66 "vts",
67 ],
68}
69
Nate Jiang3ec67812020-08-24 11:04:31 -070070// These tests are split out so that they can be conditioned on presence of the
71// "android.hardware.wifi.aware" feature.
72cc_test {
73 name: "VtsHalWifiNanV1_5TargetTest",
74 defaults: ["VtsHalTargetTestDefaults"],
75 srcs: [
76 "wifi_nan_iface_hidl_test.cpp",
77 ],
78 static_libs: [
79 "VtsHalWifiV1_0TargetTestUtil",
80 "android.hardware.wifi@1.0",
81 "android.hardware.wifi@1.1",
82 "android.hardware.wifi@1.2",
83 "android.hardware.wifi@1.3",
84 "android.hardware.wifi@1.4",
85 "android.hardware.wifi@1.5",
Nate Jiangeac80de2022-02-24 16:09:05 -080086 "android.hardware.wifi@1.6",
Nate Jiang3ec67812020-08-24 11:04:31 -070087 "libwifi-system-iface",
88 ],
89 test_suites: [
90 "general-tests",
91 "vts",
92 ],
93}
lesl420c4fc2020-11-23 19:33:04 +080094
95// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
96cc_test {
97 name: "VtsHalWifiApV1_5TargetTest",
98 defaults: ["VtsHalTargetTestDefaults"],
99 srcs: [
100 "wifi_chip_hidl_ap_test.cpp",
lesl90e65652021-01-13 17:38:53 +0800101 "wifi_ap_iface_hidl_test.cpp",
lesl420c4fc2020-11-23 19:33:04 +0800102 ],
103 static_libs: [
104 "VtsHalWifiV1_0TargetTestUtil",
lesl90e65652021-01-13 17:38:53 +0800105 "VtsHalWifiV1_5TargetTestUtil",
lesl420c4fc2020-11-23 19:33:04 +0800106 "android.hardware.wifi@1.0",
107 "android.hardware.wifi@1.1",
108 "android.hardware.wifi@1.2",
109 "android.hardware.wifi@1.3",
110 "android.hardware.wifi@1.4",
111 "android.hardware.wifi@1.5",
112 "libwifi-system-iface",
113 ],
114 test_suites: [
115 "general-tests",
116 "vts",
117 ],
118}