blob: 6896110610bbca242b1b0c081bbe33b975842285 [file] [log] [blame]
Gabriel Birenf3262f92022-07-15 23:25:39 +00001//
2// Copyright (C) 2022 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 // 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
26cc_test {
27 name: "VtsHalWifiChipTargetTest",
28 defaults: [
29 "VtsHalTargetTestDefaults",
30 "use_libaidlvintf_gtest_helper_static",
31 ],
32 srcs: [
33 "wifi_chip_aidl_test.cpp",
34 ],
35 shared_libs: [
36 "libbinder",
37 "libbinder_ndk",
38 "libvndksupport",
39 ],
40 static_libs: [
41 "VtsHalWifiTargetTestUtil",
Les Leeaf860de2023-12-07 04:45:03 +000042 "android.hardware.wifi.common-V1-ndk",
43 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +000044 "libwifi-system-iface",
45 ],
46 test_suites: [
47 "general-tests",
48 "vts",
49 ],
50}
51
52cc_test {
53 name: "VtsHalWifiStaIfaceTargetTest",
54 defaults: [
55 "VtsHalTargetTestDefaults",
56 "use_libaidlvintf_gtest_helper_static",
57 ],
58 srcs: [
59 "wifi_sta_iface_aidl_test.cpp",
60 ],
61 shared_libs: [
62 "libbinder",
63 "libbinder_ndk",
64 "libvndksupport",
65 ],
66 static_libs: [
67 "VtsHalWifiTargetTestUtil",
Les Leeaf860de2023-12-07 04:45:03 +000068 "android.hardware.wifi.common-V1-ndk",
69 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +000070 "libwifi-system-iface",
71 ],
72 test_suites: [
73 "general-tests",
74 "vts",
75 ],
76}
77
78cc_test {
79 name: "VtsHalWifiApIfaceTargetTest",
80 defaults: [
81 "VtsHalTargetTestDefaults",
82 "use_libaidlvintf_gtest_helper_static",
83 ],
84 srcs: [
85 "wifi_ap_iface_aidl_test.cpp",
86 ],
87 shared_libs: [
88 "libbinder",
89 "libbinder_ndk",
90 "libvndksupport",
91 ],
92 static_libs: [
93 "VtsHalWifiTargetTestUtil",
Les Leeaf860de2023-12-07 04:45:03 +000094 "android.hardware.wifi.common-V1-ndk",
95 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +000096 "libwifi-system-iface",
97 ],
98 test_suites: [
99 "general-tests",
100 "vts",
101 ],
102}
103
104cc_test {
105 name: "VtsHalWifiNanIfaceTargetTest",
106 defaults: [
107 "VtsHalTargetTestDefaults",
108 "use_libaidlvintf_gtest_helper_static",
109 ],
110 srcs: [
111 "wifi_nan_iface_aidl_test.cpp",
112 ],
113 shared_libs: [
114 "libbinder",
115 "libbinder_ndk",
116 "libvndksupport",
117 ],
118 static_libs: [
119 "VtsHalWifiTargetTestUtil",
Les Leeaf860de2023-12-07 04:45:03 +0000120 "android.hardware.wifi.common-V1-ndk",
121 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +0000122 "libwifi-system-iface",
123 ],
124 test_suites: [
125 "general-tests",
126 "vts",
127 ],
128}
129
130cc_test {
131 name: "VtsHalWifiRttControllerTargetTest",
132 defaults: [
133 "VtsHalTargetTestDefaults",
134 "use_libaidlvintf_gtest_helper_static",
135 ],
136 srcs: [
137 "wifi_rtt_controller_aidl_test.cpp",
138 ],
139 shared_libs: [
140 "libbinder",
141 "libbinder_ndk",
142 "libvndksupport",
143 ],
144 static_libs: [
145 "VtsHalWifiTargetTestUtil",
Les Leeaf860de2023-12-07 04:45:03 +0000146 "android.hardware.wifi.common-V1-ndk",
147 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +0000148 "libwifi-system-iface",
149 ],
150 test_suites: [
151 "general-tests",
152 "vts",
153 ],
154}
155
156cc_library_static {
157 name: "VtsHalWifiTargetTestUtil",
158 defaults: ["VtsHalTargetTestDefaults"],
159 srcs: [
160 "wifi_aidl_test_utils.cpp",
161 ],
162 export_include_dirs: [
163 ".",
164 ],
165 shared_libs: [
166 "libbinder",
167 "libbinder_ndk",
168 "libnativehelper",
169 ],
170 static_libs: [
Les Leeaf860de2023-12-07 04:45:03 +0000171 "android.hardware.wifi.common-V1-ndk",
172 "android.hardware.wifi-V2-ndk",
Gabriel Birenf3262f92022-07-15 23:25:39 +0000173 "libwifi-system-iface",
174 ],
175}