blob: a1be9526c4b03a109b29100c649ff314ea8ebd2b [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 {
Yihan Dongb65093a2024-10-12 08:57:44 +000018 default_team: "trendy_team_fwk_wifi_hal",
Bob Badourc22b35b2021-02-23 14:26:20 -080019 // 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
Patrik Fimmlc919f962019-09-11 14:31:56 +020027cc_test {
Roshan Pius82b41e62020-09-16 13:51:11 -070028 name: "VtsHalWifiV1_4TargetTest",
Patrik Fimmlc919f962019-09-11 14:31:56 +020029 defaults: ["VtsHalTargetTestDefaults"],
30 srcs: [
Ahmed ElArabawy83baffd2019-11-15 19:20:41 -080031 "wifi_chip_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -070032 ],
33 static_libs: [
34 "VtsHalWifiV1_0TargetTestUtil",
35 "android.hardware.wifi@1.0",
36 "android.hardware.wifi@1.1",
37 "android.hardware.wifi@1.2",
38 "android.hardware.wifi@1.3",
39 "android.hardware.wifi@1.4",
40 "libwifi-system-iface",
41 ],
42 test_suites: [
43 "general-tests",
44 "vts",
45 ],
46}
47
Les Lee42147b72022-06-07 10:02:16 +080048cc_library_static {
49 name: "VtsHalWifiV1_4TargetTestUtil",
50 defaults: ["VtsHalTargetTestDefaults"],
51 srcs: [
52 "wifi_hidl_test_utils_1_4.cpp",
53 ],
54 export_include_dirs: [
55 ".",
56 ],
57 shared_libs: [
58 "libnativehelper",
59 ],
60 static_libs: [
61 "VtsHalWifiV1_0TargetTestUtil",
62 "android.hardware.wifi@1.0",
63 "android.hardware.wifi@1.3",
64 "android.hardware.wifi@1.4",
65 "libwifi-system-iface",
66 ],
67}
68
Roshan Pius82b41e62020-09-16 13:51:11 -070069// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
70cc_test {
71 name: "VtsHalWifiApV1_4TargetTest",
72 defaults: ["VtsHalTargetTestDefaults"],
73 srcs: [
74 "wifi_ap_iface_hidl_test.cpp",
75 ],
76 static_libs: [
77 "VtsHalWifiV1_0TargetTestUtil",
78 "android.hardware.wifi@1.0",
79 "android.hardware.wifi@1.1",
80 "android.hardware.wifi@1.2",
81 "android.hardware.wifi@1.3",
82 "android.hardware.wifi@1.4",
83 "android.hardware.wifi.hostapd@1.0",
84 "libwifi-system-iface",
85 ],
86 disable_framework: true,
87 test_suites: [
88 "general-tests",
89 "vts",
90 ],
91}
92
Nate Jiang9ecaa482020-05-12 17:29:14 -070093// These tests are split out so that they can be conditioned on presence of the
94// "android.hardware.wifi.aware" feature.
95cc_test {
96 name: "VtsHalWifiNanV1_4TargetTest",
97 defaults: ["VtsHalTargetTestDefaults"],
98 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -080099 "wifi_nan_iface_hidl_test.cpp",
Nate Jiang9ecaa482020-05-12 17:29:14 -0700100 ],
101 static_libs: [
102 "VtsHalWifiV1_0TargetTestUtil",
103 "android.hardware.wifi@1.0",
104 "android.hardware.wifi@1.1",
105 "android.hardware.wifi@1.2",
106 "android.hardware.wifi@1.3",
107 "android.hardware.wifi@1.4",
Nate Jiang3ec67812020-08-24 11:04:31 -0700108 "android.hardware.wifi@1.5",
Nate Jiang9ecaa482020-05-12 17:29:14 -0700109 "libwifi-system-iface",
110 ],
111 test_suites: [
112 "general-tests",
113 "vts",
114 ],
115}
116
117// These tests are split out so that they can be conditioned on presence of the
118// "android.hardware.wifi.rtt" feature.
119cc_test {
120 name: "VtsHalWifiRttV1_4TargetTest",
121 defaults: ["VtsHalTargetTestDefaults"],
122 srcs: [
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800123 "wifi_rtt_controller_hidl_test.cpp",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200124 ],
125 static_libs: [
126 "VtsHalWifiV1_0TargetTestUtil",
127 "android.hardware.wifi@1.0",
128 "android.hardware.wifi@1.1",
129 "android.hardware.wifi@1.2",
130 "android.hardware.wifi@1.3",
131 "android.hardware.wifi@1.4",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800132 "libwifi-system-iface",
Patrik Fimmlc919f962019-09-11 14:31:56 +0200133 ],
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800134 test_suites: [
135 "general-tests",
Dan Shi3a8a6502020-03-26 00:06:39 -0700136 "vts",
Ahmed ElArabawy98eab1d2020-02-17 16:35:19 -0800137 ],
Patrik Fimmlc919f962019-09-11 14:31:56 +0200138}