summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/1.1/Android.bp')
-rw-r--r--wifi/1.1/Android.bp81
1 files changed, 81 insertions, 0 deletions
diff --git a/wifi/1.1/Android.bp b/wifi/1.1/Android.bp
index aa6e9379..0b6ecb81 100644
--- a/wifi/1.1/Android.bp
+++ b/wifi/1.1/Android.bp
@@ -69,3 +69,84 @@ cc_library {
69 "android.hardware.wifi@1.0", 69 "android.hardware.wifi@1.0",
70 ], 70 ],
71} 71}
72
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}