blob: d6496d232f82ccd791a2c37245639045a859eece [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
17cc_test {
Roshan Pius0076dae2020-09-16 13:51:11 -070018 name: "VtsHalWifiV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020019 defaults: ["VtsHalTargetTestDefaults"],
20 srcs: [
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080021 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070022 ],
23 static_libs: [
24 "VtsHalWifiV1_0TargetTestUtil",
25 "android.hardware.wifi@1.0",
26 "android.hardware.wifi@1.1",
27 "android.hardware.wifi@1.2",
28 "android.hardware.wifi@1.3",
29 "android.hardware.wifi@1.4",
30 "libwifi-system-iface",
31 ],
32 test_suites: [
33 "general-tests",
34 "vts",
35 ],
36}
37
Les Lee42147b72022-06-07 10:02:16 +080038cc_library_static {
39 name: "VtsHalWifiV1_4TargetTestUtil",
40 defaults: ["VtsHalTargetTestDefaults"],
41 srcs: [
42 "wifi_hidl_test_utils_1_4.cpp",
43 ],
44 export_include_dirs: [
45 ".",
46 ],
47 shared_libs: [
48 "libnativehelper",
49 ],
50 static_libs: [
51 "VtsHalWifiV1_0TargetTestUtil",
52 "android.hardware.wifi@1.0",
53 "android.hardware.wifi@1.3",
54 "android.hardware.wifi@1.4",
55 "libwifi-system-iface",
56 ],
57}
58
Roshan Pius0076dae2020-09-16 13:51:11 -070059// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
60cc_test {
61 name: "VtsHalWifiApV1_4TargetTest",
62 defaults: ["VtsHalTargetTestDefaults"],
63 srcs: [
64 "wifi_ap_iface_hidl_test.cpp",
65 ],
66 static_libs: [
67 "VtsHalWifiV1_0TargetTestUtil",
68 "android.hardware.wifi@1.0",
69 "android.hardware.wifi@1.1",
70 "android.hardware.wifi@1.2",
71 "android.hardware.wifi@1.3",
72 "android.hardware.wifi@1.4",
73 "android.hardware.wifi.hostapd@1.0",
74 "libwifi-system-iface",
75 ],
76 disable_framework: true,
77 test_suites: [
78 "general-tests",
79 "vts",
80 ],
81}
82
Nate Jiang9ecaa482020-05-12 17:29:14 -070083// These tests are split out so that they can be conditioned on presence of the
84// "android.hardware.wifi.aware" feature.
85cc_test {
86 name: "VtsHalWifiNanV1_4TargetTest",
87 defaults: ["VtsHalTargetTestDefaults"],
88 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080089 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070090 ],
91 static_libs: [
92 "VtsHalWifiV1_0TargetTestUtil",
93 "android.hardware.wifi@1.0",
94 "android.hardware.wifi@1.1",
95 "android.hardware.wifi@1.2",
96 "android.hardware.wifi@1.3",
97 "android.hardware.wifi@1.4",
98 "libwifi-system-iface",
99 ],
100 test_suites: [
101 "general-tests",
102 "vts",
103 ],
104}
105
106// These tests are split out so that they can be conditioned on presence of the
107// "android.hardware.wifi.rtt" feature.
108cc_test {
109 name: "VtsHalWifiRttV1_4TargetTest",
110 defaults: ["VtsHalTargetTestDefaults"],
111 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800112 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200113 ],
114 static_libs: [
115 "VtsHalWifiV1_0TargetTestUtil",
116 "android.hardware.wifi@1.0",
117 "android.hardware.wifi@1.1",
118 "android.hardware.wifi@1.2",
119 "android.hardware.wifi@1.3",
120 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800121 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200122 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800123 test_suites: [
124 "general-tests",
Dan Shiaad51fa2020-04-05 14:34:48 -0700125 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800126 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +0200127}