blob: 4cf5b35671cdce27924ad33df36d52a322529410 [file] [log] [blame]
Etan Cohen6ce50902017-09-14 07:30:57 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.wifi@1.2_hal",
5 srcs: [
6 "IWifi.hal",
7 "IWifiChip.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.wifi@1.2_genc++",
13 tools: ["hidl-gen"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
15 srcs: [
16 ":android.hardware.wifi@1.2_hal",
17 ],
18 out: [
19 "android/hardware/wifi/1.2/WifiAll.cpp",
20 "android/hardware/wifi/1.2/WifiChipAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.wifi@1.2_genc++_headers",
26 tools: ["hidl-gen"],
27 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
28 srcs: [
29 ":android.hardware.wifi@1.2_hal",
30 ],
31 out: [
32 "android/hardware/wifi/1.2/IWifi.h",
33 "android/hardware/wifi/1.2/IHwWifi.h",
34 "android/hardware/wifi/1.2/BnHwWifi.h",
35 "android/hardware/wifi/1.2/BpHwWifi.h",
36 "android/hardware/wifi/1.2/BsWifi.h",
37 "android/hardware/wifi/1.2/IWifiChip.h",
38 "android/hardware/wifi/1.2/IHwWifiChip.h",
39 "android/hardware/wifi/1.2/BnHwWifiChip.h",
40 "android/hardware/wifi/1.2/BpHwWifiChip.h",
41 "android/hardware/wifi/1.2/BsWifiChip.h",
42 ],
43}
44
45cc_library {
46 name: "android.hardware.wifi@1.2",
47 defaults: ["hidl-module-defaults"],
48 generated_sources: ["android.hardware.wifi@1.2_genc++"],
49 generated_headers: ["android.hardware.wifi@1.2_genc++_headers"],
50 export_generated_headers: ["android.hardware.wifi@1.2_genc++_headers"],
51 vendor_available: true,
52 vndk: {
53 enabled: true,
54 },
55 shared_libs: [
56 "libhidlbase",
57 "libhidltransport",
58 "libhwbinder",
59 "liblog",
60 "libutils",
61 "libcutils",
62 "android.hardware.wifi@1.0",
63 "android.hardware.wifi@1.1",
64 ],
65 export_shared_lib_headers: [
66 "libhidlbase",
67 "libhidltransport",
68 "libhwbinder",
69 "libutils",
70 "android.hardware.wifi@1.0",
71 "android.hardware.wifi@1.1",
72 ],
73}
Steven Moreland3788a732017-09-26 10:11:18 -070074
75genrule {
76 name: "android.hardware.wifi@1.2-adapter-helper_genc++",
77 tools: ["hidl-gen"],
78 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
79 srcs: [
80 ":android.hardware.wifi@1.2_hal",
81 ],
82 out: [
83 "android/hardware/wifi/1.2/AWifi.cpp",
84 "android/hardware/wifi/1.2/AWifiChip.cpp",
85 ],
86}
87
88genrule {
89 name: "android.hardware.wifi@1.2-adapter-helper_genc++_headers",
90 tools: ["hidl-gen"],
91 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
92 srcs: [
93 ":android.hardware.wifi@1.2_hal",
94 ],
95 out: [
96 "android/hardware/wifi/1.2/AWifi.h",
97 "android/hardware/wifi/1.2/AWifiChip.h",
98 ],
99}
100
101
102cc_library {
103 name: "android.hardware.wifi@1.2-adapter-helper",
104 defaults: ["hidl-module-defaults"],
105 generated_sources: ["android.hardware.wifi@1.2-adapter-helper_genc++"],
106 generated_headers: ["android.hardware.wifi@1.2-adapter-helper_genc++_headers"],
107 export_generated_headers: ["android.hardware.wifi@1.2-adapter-helper_genc++_headers"],
108 vendor_available: true,
109 shared_libs: [
110 "libhidlbase",
111 "libhidltransport",
112 "libhwbinder",
113 "liblog",
114 "libutils",
115 "libcutils",
116 "libhidladapter",
117 "android.hardware.wifi@1.0",
118 "android.hardware.wifi@1.1",
119 "android.hardware.wifi@1.2",
120 "android.hardware.wifi@1.0-adapter-helper",
121 "android.hardware.wifi@1.1-adapter-helper",
122 "android.hidl.base@1.0-adapter-helper",
123 ],
124 export_shared_lib_headers: [
125 "libhidlbase",
126 "libhidltransport",
127 "libhwbinder",
128 "libutils",
129 "libhidladapter",
130 "android.hardware.wifi@1.0",
131 "android.hardware.wifi@1.1",
132 "android.hardware.wifi@1.2",
133 "android.hardware.wifi@1.0-adapter-helper",
134 "android.hardware.wifi@1.1-adapter-helper",
135 "android.hidl.base@1.0-adapter-helper",
136 ],
137}
138
139genrule {
140 name: "android.hardware.wifi@1.2-adapter_genc++",
141 tools: ["hidl-gen"],
142 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
143 out: ["main.cpp"]
144}
145
146cc_test {
147 name: "android.hardware.wifi@1.2-adapter",
148 shared_libs: [
149 "libhidladapter",
150 "libhidlbase",
151 "libhidltransport",
152 "libutils",
153 "android.hardware.wifi@1.0",
154 "android.hardware.wifi@1.1",
155 "android.hardware.wifi@1.2",
156 "android.hardware.wifi@1.2-adapter-helper",
157 ],
158 generated_sources: ["android.hardware.wifi@1.2-adapter_genc++"],
159}