blob: 6ab5a4b0e30c90aa774f800cbf0b8bdbbecc478c [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 {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000018 default_team: "trendy_team_fwk_wifi_hal",
Gabriel Birenf3262f92022-07-15 23:25:39 +000019 // 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
27cc_test {
28 name: "VtsHalWifiChipTargetTest",
29 defaults: [
30 "VtsHalTargetTestDefaults",
31 "use_libaidlvintf_gtest_helper_static",
32 ],
33 srcs: [
34 "wifi_chip_aidl_test.cpp",
35 ],
36 shared_libs: [
37 "libbinder",
38 "libbinder_ndk",
39 "libvndksupport",
40 ],
41 static_libs: [
42 "VtsHalWifiTargetTestUtil",
43 "android.hardware.wifi-V1-ndk",
44 "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",
68 "android.hardware.wifi-V1-ndk",
69 "libwifi-system-iface",
70 ],
71 test_suites: [
72 "general-tests",
73 "vts",
74 ],
75}
76
77cc_test {
78 name: "VtsHalWifiApIfaceTargetTest",
79 defaults: [
80 "VtsHalTargetTestDefaults",
81 "use_libaidlvintf_gtest_helper_static",
82 ],
83 srcs: [
84 "wifi_ap_iface_aidl_test.cpp",
85 ],
86 shared_libs: [
87 "libbinder",
88 "libbinder_ndk",
89 "libvndksupport",
90 ],
91 static_libs: [
92 "VtsHalWifiTargetTestUtil",
93 "android.hardware.wifi-V1-ndk",
94 "libwifi-system-iface",
95 ],
96 test_suites: [
97 "general-tests",
98 "vts",
99 ],
100}
101
102cc_test {
103 name: "VtsHalWifiNanIfaceTargetTest",
104 defaults: [
105 "VtsHalTargetTestDefaults",
106 "use_libaidlvintf_gtest_helper_static",
107 ],
108 srcs: [
109 "wifi_nan_iface_aidl_test.cpp",
110 ],
111 shared_libs: [
112 "libbinder",
113 "libbinder_ndk",
114 "libvndksupport",
115 ],
116 static_libs: [
117 "VtsHalWifiTargetTestUtil",
118 "android.hardware.wifi-V1-ndk",
119 "libwifi-system-iface",
120 ],
121 test_suites: [
122 "general-tests",
123 "vts",
124 ],
125}
126
127cc_test {
128 name: "VtsHalWifiRttControllerTargetTest",
129 defaults: [
130 "VtsHalTargetTestDefaults",
131 "use_libaidlvintf_gtest_helper_static",
132 ],
133 srcs: [
134 "wifi_rtt_controller_aidl_test.cpp",
135 ],
136 shared_libs: [
137 "libbinder",
138 "libbinder_ndk",
139 "libvndksupport",
140 ],
141 static_libs: [
142 "VtsHalWifiTargetTestUtil",
143 "android.hardware.wifi-V1-ndk",
144 "libwifi-system-iface",
145 ],
146 test_suites: [
147 "general-tests",
148 "vts",
149 ],
150}
151
152cc_library_static {
153 name: "VtsHalWifiTargetTestUtil",
154 defaults: ["VtsHalTargetTestDefaults"],
155 srcs: [
156 "wifi_aidl_test_utils.cpp",
157 ],
158 export_include_dirs: [
159 ".",
160 ],
161 shared_libs: [
162 "libbinder",
163 "libbinder_ndk",
164 "libnativehelper",
165 ],
166 static_libs: [
167 "android.hardware.wifi-V1-ndk",
168 "libwifi-system-iface",
169 ],
170}