blob: cac8c0b2f82df51c6aa2c1593499c16a7d178fc7 [file] [log] [blame]
Patrik Fimmlc919f962019-09-11 14:31:56 +02001//
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
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
Patrik Fimmlc919f962019-09-11 14:31:56 +020026cc_test {
Roshan Pius82b41e62020-09-16 13:51:11 -070027 name: "VtsHalWifiV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020028 defaults: ["VtsHalTargetTestDefaults"],
29 srcs: [
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080030 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070031 ],
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
Les Lee42147b72022-06-07 10:02:16 +080047cc_library_static {
48 name: "VtsHalWifiV1_4TargetTestUtil",
49 defaults: ["VtsHalTargetTestDefaults"],
50 srcs: [
51 "wifi_hidl_test_utils_1_4.cpp",
52 ],
53 export_include_dirs: [
54 ".",
55 ],
56 shared_libs: [
57 "libnativehelper",
58 ],
59 static_libs: [
60 "VtsHalWifiV1_0TargetTestUtil",
61 "android.hardware.wifi@1.0",
62 "android.hardware.wifi@1.3",
63 "android.hardware.wifi@1.4",
64 "libwifi-system-iface",
65 ],
66}
67
Roshan Pius82b41e62020-09-16 13:51:11 -070068// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
69cc_test {
70 name: "VtsHalWifiApV1_4TargetTest",
71 defaults: ["VtsHalTargetTestDefaults"],
72 srcs: [
73 "wifi_ap_iface_hidl_test.cpp",
74 ],
75 static_libs: [
76 "VtsHalWifiV1_0TargetTestUtil",
77 "android.hardware.wifi@1.0",
78 "android.hardware.wifi@1.1",
79 "android.hardware.wifi@1.2",
80 "android.hardware.wifi@1.3",
81 "android.hardware.wifi@1.4",
82 "android.hardware.wifi.hostapd@1.0",
83 "libwifi-system-iface",
84 ],
85 disable_framework: true,
86 test_suites: [
87 "general-tests",
88 "vts",
89 ],
90}
91
Nate Jiang9ecaa482020-05-12 17:29:14 -070092// These tests are split out so that they can be conditioned on presence of the
93// "android.hardware.wifi.aware" feature.
94cc_test {
95 name: "VtsHalWifiNanV1_4TargetTest",
96 defaults: ["VtsHalTargetTestDefaults"],
97 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080098 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070099 ],
100 static_libs: [
101 "VtsHalWifiV1_0TargetTestUtil",
102 "android.hardware.wifi@1.0",
103 "android.hardware.wifi@1.1",
104 "android.hardware.wifi@1.2",
105 "android.hardware.wifi@1.3",
106 "android.hardware.wifi@1.4",
Nate Jiang3ec67812020-08-24 11:04:31 -0700107 "android.hardware.wifi@1.5",
Nate Jiang9ecaa482020-05-12 17:29:14 -0700108 "libwifi-system-iface",
109 ],
110 test_suites: [
111 "general-tests",
112 "vts",
113 ],
114}
115
116// These tests are split out so that they can be conditioned on presence of the
117// "android.hardware.wifi.rtt" feature.
118cc_test {
119 name: "VtsHalWifiRttV1_4TargetTest",
120 defaults: ["VtsHalTargetTestDefaults"],
121 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800122 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200123 ],
124 static_libs: [
125 "VtsHalWifiV1_0TargetTestUtil",
126 "android.hardware.wifi@1.0",
127 "android.hardware.wifi@1.1",
128 "android.hardware.wifi@1.2",
129 "android.hardware.wifi@1.3",
130 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800131 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200132 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800133 test_suites: [
134 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -0700135 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800136 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +0200137}