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