blob: 088591ab5b52172902f28961da12c88eb404e26c [file] [log] [blame]
Dan Willemsen242b34e2016-09-28 16:12:24 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voac9f1c02017-02-06 09:59:51 -08003filegroup {
4 name: "android.hardware.wifi@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IWifi.hal",
8 "IWifiApIface.hal",
9 "IWifiChip.hal",
10 "IWifiChipEventCallback.hal",
11 "IWifiEventCallback.hal",
12 "IWifiIface.hal",
13 "IWifiNanIface.hal",
14 "IWifiNanIfaceEventCallback.hal",
15 "IWifiP2pIface.hal",
16 "IWifiRttController.hal",
17 "IWifiRttControllerEventCallback.hal",
18 "IWifiStaIface.hal",
19 "IWifiStaIfaceEventCallback.hal",
20 ],
21}
22
Dan Willemsen242b34e2016-09-28 16:12:24 -070023genrule {
24 name: "android.hardware.wifi@1.0_genc++",
Colin Cross8f084e02016-11-04 15:02:42 -070025 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070026 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0",
Dan Willemsen242b34e2016-09-28 16:12:24 -070027 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080028 ":android.hardware.wifi@1.0_hal",
Dan Willemsen242b34e2016-09-28 16:12:24 -070029 ],
30 out: [
31 "android/hardware/wifi/1.0/types.cpp",
32 "android/hardware/wifi/1.0/WifiAll.cpp",
Roshan Piusadcfba42016-10-05 10:19:06 -070033 "android/hardware/wifi/1.0/WifiApIfaceAll.cpp",
Dan Willemsen242b34e2016-09-28 16:12:24 -070034 "android/hardware/wifi/1.0/WifiChipAll.cpp",
35 "android/hardware/wifi/1.0/WifiChipEventCallbackAll.cpp",
36 "android/hardware/wifi/1.0/WifiEventCallbackAll.cpp",
Roshan Piusadcfba42016-10-05 10:19:06 -070037 "android/hardware/wifi/1.0/WifiIfaceAll.cpp",
38 "android/hardware/wifi/1.0/WifiNanIfaceAll.cpp",
Roshan Pius120f94c2016-10-13 11:48:42 -070039 "android/hardware/wifi/1.0/WifiNanIfaceEventCallbackAll.cpp",
Roshan Piusadcfba42016-10-05 10:19:06 -070040 "android/hardware/wifi/1.0/WifiP2pIfaceAll.cpp",
Roshan Piusfcbf9232016-10-06 11:08:17 -070041 "android/hardware/wifi/1.0/WifiRttControllerAll.cpp",
Roshan Pius18eec812016-10-14 11:29:30 -070042 "android/hardware/wifi/1.0/WifiRttControllerEventCallbackAll.cpp",
Roshan Piusadcfba42016-10-05 10:19:06 -070043 "android/hardware/wifi/1.0/WifiStaIfaceAll.cpp",
Roshan Pius7b777472016-10-07 13:15:59 -070044 "android/hardware/wifi/1.0/WifiStaIfaceEventCallbackAll.cpp",
Dan Willemsen242b34e2016-09-28 16:12:24 -070045 ],
46}
47
48genrule {
49 name: "android.hardware.wifi@1.0_genc++_headers",
Colin Cross8f084e02016-11-04 15:02:42 -070050 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070051 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0",
Dan Willemsen242b34e2016-09-28 16:12:24 -070052 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080053 ":android.hardware.wifi@1.0_hal",
Dan Willemsen242b34e2016-09-28 16:12:24 -070054 ],
55 out: [
56 "android/hardware/wifi/1.0/types.h",
Steven Morelande90c31f2017-03-24 21:50:45 -070057 "android/hardware/wifi/1.0/hwtypes.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070058 "android/hardware/wifi/1.0/IWifi.h",
59 "android/hardware/wifi/1.0/IHwWifi.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080060 "android/hardware/wifi/1.0/BnHwWifi.h",
61 "android/hardware/wifi/1.0/BpHwWifi.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070062 "android/hardware/wifi/1.0/BsWifi.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070063 "android/hardware/wifi/1.0/IWifiApIface.h",
64 "android/hardware/wifi/1.0/IHwWifiApIface.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080065 "android/hardware/wifi/1.0/BnHwWifiApIface.h",
66 "android/hardware/wifi/1.0/BpHwWifiApIface.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070067 "android/hardware/wifi/1.0/BsWifiApIface.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070068 "android/hardware/wifi/1.0/IWifiChip.h",
69 "android/hardware/wifi/1.0/IHwWifiChip.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080070 "android/hardware/wifi/1.0/BnHwWifiChip.h",
71 "android/hardware/wifi/1.0/BpHwWifiChip.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070072 "android/hardware/wifi/1.0/BsWifiChip.h",
73 "android/hardware/wifi/1.0/IWifiChipEventCallback.h",
74 "android/hardware/wifi/1.0/IHwWifiChipEventCallback.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080075 "android/hardware/wifi/1.0/BnHwWifiChipEventCallback.h",
76 "android/hardware/wifi/1.0/BpHwWifiChipEventCallback.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070077 "android/hardware/wifi/1.0/BsWifiChipEventCallback.h",
78 "android/hardware/wifi/1.0/IWifiEventCallback.h",
79 "android/hardware/wifi/1.0/IHwWifiEventCallback.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080080 "android/hardware/wifi/1.0/BnHwWifiEventCallback.h",
81 "android/hardware/wifi/1.0/BpHwWifiEventCallback.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070082 "android/hardware/wifi/1.0/BsWifiEventCallback.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070083 "android/hardware/wifi/1.0/IWifiIface.h",
84 "android/hardware/wifi/1.0/IHwWifiIface.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080085 "android/hardware/wifi/1.0/BnHwWifiIface.h",
86 "android/hardware/wifi/1.0/BpHwWifiIface.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070087 "android/hardware/wifi/1.0/BsWifiIface.h",
88 "android/hardware/wifi/1.0/IWifiNanIface.h",
89 "android/hardware/wifi/1.0/IHwWifiNanIface.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080090 "android/hardware/wifi/1.0/BnHwWifiNanIface.h",
91 "android/hardware/wifi/1.0/BpHwWifiNanIface.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070092 "android/hardware/wifi/1.0/BsWifiNanIface.h",
Roshan Pius120f94c2016-10-13 11:48:42 -070093 "android/hardware/wifi/1.0/IWifiNanIfaceEventCallback.h",
94 "android/hardware/wifi/1.0/IHwWifiNanIfaceEventCallback.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080095 "android/hardware/wifi/1.0/BnHwWifiNanIfaceEventCallback.h",
96 "android/hardware/wifi/1.0/BpHwWifiNanIfaceEventCallback.h",
Roshan Pius120f94c2016-10-13 11:48:42 -070097 "android/hardware/wifi/1.0/BsWifiNanIfaceEventCallback.h",
Roshan Piusadcfba42016-10-05 10:19:06 -070098 "android/hardware/wifi/1.0/IWifiP2pIface.h",
99 "android/hardware/wifi/1.0/IHwWifiP2pIface.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -0800100 "android/hardware/wifi/1.0/BnHwWifiP2pIface.h",
101 "android/hardware/wifi/1.0/BpHwWifiP2pIface.h",
Roshan Piusadcfba42016-10-05 10:19:06 -0700102 "android/hardware/wifi/1.0/BsWifiP2pIface.h",
Roshan Piusfcbf9232016-10-06 11:08:17 -0700103 "android/hardware/wifi/1.0/IWifiRttController.h",
104 "android/hardware/wifi/1.0/IHwWifiRttController.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -0800105 "android/hardware/wifi/1.0/BnHwWifiRttController.h",
106 "android/hardware/wifi/1.0/BpHwWifiRttController.h",
Roshan Piusfcbf9232016-10-06 11:08:17 -0700107 "android/hardware/wifi/1.0/BsWifiRttController.h",
Roshan Pius18eec812016-10-14 11:29:30 -0700108 "android/hardware/wifi/1.0/IWifiRttControllerEventCallback.h",
109 "android/hardware/wifi/1.0/IHwWifiRttControllerEventCallback.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -0800110 "android/hardware/wifi/1.0/BnHwWifiRttControllerEventCallback.h",
111 "android/hardware/wifi/1.0/BpHwWifiRttControllerEventCallback.h",
Roshan Pius18eec812016-10-14 11:29:30 -0700112 "android/hardware/wifi/1.0/BsWifiRttControllerEventCallback.h",
Roshan Piusadcfba42016-10-05 10:19:06 -0700113 "android/hardware/wifi/1.0/IWifiStaIface.h",
114 "android/hardware/wifi/1.0/IHwWifiStaIface.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -0800115 "android/hardware/wifi/1.0/BnHwWifiStaIface.h",
116 "android/hardware/wifi/1.0/BpHwWifiStaIface.h",
Roshan Piusadcfba42016-10-05 10:19:06 -0700117 "android/hardware/wifi/1.0/BsWifiStaIface.h",
Roshan Pius7b777472016-10-07 13:15:59 -0700118 "android/hardware/wifi/1.0/IWifiStaIfaceEventCallback.h",
119 "android/hardware/wifi/1.0/IHwWifiStaIfaceEventCallback.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -0800120 "android/hardware/wifi/1.0/BnHwWifiStaIfaceEventCallback.h",
121 "android/hardware/wifi/1.0/BpHwWifiStaIfaceEventCallback.h",
Roshan Pius7b777472016-10-07 13:15:59 -0700122 "android/hardware/wifi/1.0/BsWifiStaIfaceEventCallback.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -0700123 ],
124}
125
Steven Moreland72067082017-07-26 10:14:57 -0700126cc_library {
Dan Willemsen242b34e2016-09-28 16:12:24 -0700127 name: "android.hardware.wifi@1.0",
Steven Moreland06c85d92017-05-18 16:14:16 -0700128 defaults: ["hidl-module-defaults"],
Dan Willemsen242b34e2016-09-28 16:12:24 -0700129 generated_sources: ["android.hardware.wifi@1.0_genc++"],
130 generated_headers: ["android.hardware.wifi@1.0_genc++_headers"],
131 export_generated_headers: ["android.hardware.wifi@1.0_genc++_headers"],
Steven Moreland0dd5ba22017-04-11 09:57:11 -0700132 vendor_available: true,
Steven Moreland5e594022017-07-25 18:24:40 -0700133 vndk: {
134 enabled: true,
135 },
Dan Willemsen242b34e2016-09-28 16:12:24 -0700136 shared_libs: [
Yifan Hong63544ea2016-11-16 14:17:58 -0800137 "libhidlbase",
138 "libhidltransport",
Dan Willemsen242b34e2016-09-28 16:12:24 -0700139 "libhwbinder",
Steven Moreland3e3a0992016-11-21 16:19:57 -0800140 "liblog",
Dan Willemsen242b34e2016-09-28 16:12:24 -0700141 "libutils",
142 "libcutils",
143 ],
Steven Moreland79820582016-11-01 13:04:54 -0700144 export_shared_lib_headers: [
Yifan Hong63544ea2016-11-16 14:17:58 -0800145 "libhidlbase",
146 "libhidltransport",
Steven Moreland79820582016-11-01 13:04:54 -0700147 "libhwbinder",
148 "libutils",
Steven Morelandce977942016-10-21 13:40:54 -0700149 ],
Dan Willemsen242b34e2016-09-28 16:12:24 -0700150}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700151
152genrule {
153 name: "android.hardware.wifi@1.0-adapter-helper_genc++",
154 tools: ["hidl-gen"],
155 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0",
156 srcs: [
157 ":android.hardware.wifi@1.0_hal",
158 ],
159 out: [
160 "android/hardware/wifi/1.0/AWifi.cpp",
161 "android/hardware/wifi/1.0/AWifiApIface.cpp",
162 "android/hardware/wifi/1.0/AWifiChip.cpp",
163 "android/hardware/wifi/1.0/AWifiChipEventCallback.cpp",
164 "android/hardware/wifi/1.0/AWifiEventCallback.cpp",
165 "android/hardware/wifi/1.0/AWifiIface.cpp",
166 "android/hardware/wifi/1.0/AWifiNanIface.cpp",
167 "android/hardware/wifi/1.0/AWifiNanIfaceEventCallback.cpp",
168 "android/hardware/wifi/1.0/AWifiP2pIface.cpp",
169 "android/hardware/wifi/1.0/AWifiRttController.cpp",
170 "android/hardware/wifi/1.0/AWifiRttControllerEventCallback.cpp",
171 "android/hardware/wifi/1.0/AWifiStaIface.cpp",
172 "android/hardware/wifi/1.0/AWifiStaIfaceEventCallback.cpp",
173 ],
174}
175
176genrule {
177 name: "android.hardware.wifi@1.0-adapter-helper_genc++_headers",
178 tools: ["hidl-gen"],
179 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0",
180 srcs: [
181 ":android.hardware.wifi@1.0_hal",
182 ],
183 out: [
184 "android/hardware/wifi/1.0/AWifi.h",
185 "android/hardware/wifi/1.0/AWifiApIface.h",
186 "android/hardware/wifi/1.0/AWifiChip.h",
187 "android/hardware/wifi/1.0/AWifiChipEventCallback.h",
188 "android/hardware/wifi/1.0/AWifiEventCallback.h",
189 "android/hardware/wifi/1.0/AWifiIface.h",
190 "android/hardware/wifi/1.0/AWifiNanIface.h",
191 "android/hardware/wifi/1.0/AWifiNanIfaceEventCallback.h",
192 "android/hardware/wifi/1.0/AWifiP2pIface.h",
193 "android/hardware/wifi/1.0/AWifiRttController.h",
194 "android/hardware/wifi/1.0/AWifiRttControllerEventCallback.h",
195 "android/hardware/wifi/1.0/AWifiStaIface.h",
196 "android/hardware/wifi/1.0/AWifiStaIfaceEventCallback.h",
197 ],
198}
199
200
201cc_library {
202 name: "android.hardware.wifi@1.0-adapter-helper",
203 defaults: ["hidl-module-defaults"],
204 generated_sources: ["android.hardware.wifi@1.0-adapter-helper_genc++"],
205 generated_headers: ["android.hardware.wifi@1.0-adapter-helper_genc++_headers"],
206 export_generated_headers: ["android.hardware.wifi@1.0-adapter-helper_genc++_headers"],
207 vendor_available: true,
208 shared_libs: [
209 "libhidlbase",
210 "libhidltransport",
211 "libhwbinder",
212 "liblog",
213 "libutils",
214 "libcutils",
215 "libhidladapter",
216 "android.hardware.wifi@1.0",
217 "android.hidl.base@1.0-adapter-helper",
218 ],
219 export_shared_lib_headers: [
220 "libhidlbase",
221 "libhidltransport",
222 "libhwbinder",
223 "libutils",
224 "libhidladapter",
225 "android.hardware.wifi@1.0",
226 "android.hidl.base@1.0-adapter-helper",
227 ],
228}
229
230genrule {
231 name: "android.hardware.wifi@1.0-adapter_genc++",
232 tools: ["hidl-gen"],
233 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700234 out: ["main.cpp"]
235}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700236
237cc_test {
238 name: "android.hardware.wifi@1.0-adapter",
239 shared_libs: [
240 "libhidladapter",
241 "libhidlbase",
242 "libhidltransport",
243 "libutils",
244 "android.hardware.wifi@1.0",
245 "android.hardware.wifi@1.0-adapter-helper",
246 ],
247 generated_sources: ["android.hardware.wifi@1.0-adapter_genc++"],
248}