• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is autogenerated by hidl-gen. Do not edit manually.
2
3LOCAL_PATH := $(call my-dir)
4
5################################################################################
6
7include $(CLEAR_VARS)
8LOCAL_MODULE := android.hardware.usb-V1.0-java
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(call local-generated-sources-dir, COMMON)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14
15LOCAL_JAVA_LIBRARIES := \
16    android.hidl.base-V1.0-java \
17
18
19#
20# Build types.hal (PortDataRole)
21#
22GEN := $(intermediates)/android/hardware/usb/V1_0/PortDataRole.java
23$(GEN): $(HIDL)
24$(GEN): PRIVATE_HIDL := $(HIDL)
25$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
26$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
27$(GEN): PRIVATE_CUSTOM_TOOL = \
28        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
29        -Ljava \
30        -randroid.hardware:hardware/interfaces \
31        -randroid.hidl:system/libhidl/transport \
32        android.hardware.usb@1.0::types.PortDataRole
33
34$(GEN): $(LOCAL_PATH)/types.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37
38#
39# Build types.hal (PortMode)
40#
41GEN := $(intermediates)/android/hardware/usb/V1_0/PortMode.java
42$(GEN): $(HIDL)
43$(GEN): PRIVATE_HIDL := $(HIDL)
44$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
45$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
46$(GEN): PRIVATE_CUSTOM_TOOL = \
47        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
48        -Ljava \
49        -randroid.hardware:hardware/interfaces \
50        -randroid.hidl:system/libhidl/transport \
51        android.hardware.usb@1.0::types.PortMode
52
53$(GEN): $(LOCAL_PATH)/types.hal
54	$(transform-generated-source)
55LOCAL_GENERATED_SOURCES += $(GEN)
56
57#
58# Build types.hal (PortPowerRole)
59#
60GEN := $(intermediates)/android/hardware/usb/V1_0/PortPowerRole.java
61$(GEN): $(HIDL)
62$(GEN): PRIVATE_HIDL := $(HIDL)
63$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
64$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
65$(GEN): PRIVATE_CUSTOM_TOOL = \
66        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
67        -Ljava \
68        -randroid.hardware:hardware/interfaces \
69        -randroid.hidl:system/libhidl/transport \
70        android.hardware.usb@1.0::types.PortPowerRole
71
72$(GEN): $(LOCAL_PATH)/types.hal
73	$(transform-generated-source)
74LOCAL_GENERATED_SOURCES += $(GEN)
75
76#
77# Build types.hal (PortRole)
78#
79GEN := $(intermediates)/android/hardware/usb/V1_0/PortRole.java
80$(GEN): $(HIDL)
81$(GEN): PRIVATE_HIDL := $(HIDL)
82$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
83$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
84$(GEN): PRIVATE_CUSTOM_TOOL = \
85        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
86        -Ljava \
87        -randroid.hardware:hardware/interfaces \
88        -randroid.hidl:system/libhidl/transport \
89        android.hardware.usb@1.0::types.PortRole
90
91$(GEN): $(LOCAL_PATH)/types.hal
92	$(transform-generated-source)
93LOCAL_GENERATED_SOURCES += $(GEN)
94
95#
96# Build types.hal (PortRoleType)
97#
98GEN := $(intermediates)/android/hardware/usb/V1_0/PortRoleType.java
99$(GEN): $(HIDL)
100$(GEN): PRIVATE_HIDL := $(HIDL)
101$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
102$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
103$(GEN): PRIVATE_CUSTOM_TOOL = \
104        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
105        -Ljava \
106        -randroid.hardware:hardware/interfaces \
107        -randroid.hidl:system/libhidl/transport \
108        android.hardware.usb@1.0::types.PortRoleType
109
110$(GEN): $(LOCAL_PATH)/types.hal
111	$(transform-generated-source)
112LOCAL_GENERATED_SOURCES += $(GEN)
113
114#
115# Build types.hal (PortStatus)
116#
117GEN := $(intermediates)/android/hardware/usb/V1_0/PortStatus.java
118$(GEN): $(HIDL)
119$(GEN): PRIVATE_HIDL := $(HIDL)
120$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
121$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
122$(GEN): PRIVATE_CUSTOM_TOOL = \
123        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
124        -Ljava \
125        -randroid.hardware:hardware/interfaces \
126        -randroid.hidl:system/libhidl/transport \
127        android.hardware.usb@1.0::types.PortStatus
128
129$(GEN): $(LOCAL_PATH)/types.hal
130	$(transform-generated-source)
131LOCAL_GENERATED_SOURCES += $(GEN)
132
133#
134# Build types.hal (Status)
135#
136GEN := $(intermediates)/android/hardware/usb/V1_0/Status.java
137$(GEN): $(HIDL)
138$(GEN): PRIVATE_HIDL := $(HIDL)
139$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
140$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
141$(GEN): PRIVATE_CUSTOM_TOOL = \
142        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
143        -Ljava \
144        -randroid.hardware:hardware/interfaces \
145        -randroid.hidl:system/libhidl/transport \
146        android.hardware.usb@1.0::types.Status
147
148$(GEN): $(LOCAL_PATH)/types.hal
149	$(transform-generated-source)
150LOCAL_GENERATED_SOURCES += $(GEN)
151
152#
153# Build IUsb.hal
154#
155GEN := $(intermediates)/android/hardware/usb/V1_0/IUsb.java
156$(GEN): $(HIDL)
157$(GEN): PRIVATE_HIDL := $(HIDL)
158$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal
159$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IUsbCallback.hal
160$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
161$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
162$(GEN): $(LOCAL_PATH)/types.hal
163$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
164$(GEN): PRIVATE_CUSTOM_TOOL = \
165        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
166        -Ljava \
167        -randroid.hardware:hardware/interfaces \
168        -randroid.hidl:system/libhidl/transport \
169        android.hardware.usb@1.0::IUsb
170
171$(GEN): $(LOCAL_PATH)/IUsb.hal
172	$(transform-generated-source)
173LOCAL_GENERATED_SOURCES += $(GEN)
174
175#
176# Build IUsbCallback.hal
177#
178GEN := $(intermediates)/android/hardware/usb/V1_0/IUsbCallback.java
179$(GEN): $(HIDL)
180$(GEN): PRIVATE_HIDL := $(HIDL)
181$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal
182$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
183$(GEN): $(LOCAL_PATH)/types.hal
184$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
185$(GEN): PRIVATE_CUSTOM_TOOL = \
186        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
187        -Ljava \
188        -randroid.hardware:hardware/interfaces \
189        -randroid.hidl:system/libhidl/transport \
190        android.hardware.usb@1.0::IUsbCallback
191
192$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
193	$(transform-generated-source)
194LOCAL_GENERATED_SOURCES += $(GEN)
195include $(BUILD_JAVA_LIBRARY)
196
197
198################################################################################
199
200include $(CLEAR_VARS)
201LOCAL_MODULE := android.hardware.usb-V1.0-java-static
202LOCAL_MODULE_CLASS := JAVA_LIBRARIES
203
204intermediates := $(call local-generated-sources-dir, COMMON)
205
206HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
207
208LOCAL_STATIC_JAVA_LIBRARIES := \
209    android.hidl.base-V1.0-java-static \
210
211
212#
213# Build types.hal (PortDataRole)
214#
215GEN := $(intermediates)/android/hardware/usb/V1_0/PortDataRole.java
216$(GEN): $(HIDL)
217$(GEN): PRIVATE_HIDL := $(HIDL)
218$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
219$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
220$(GEN): PRIVATE_CUSTOM_TOOL = \
221        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
222        -Ljava \
223        -randroid.hardware:hardware/interfaces \
224        -randroid.hidl:system/libhidl/transport \
225        android.hardware.usb@1.0::types.PortDataRole
226
227$(GEN): $(LOCAL_PATH)/types.hal
228	$(transform-generated-source)
229LOCAL_GENERATED_SOURCES += $(GEN)
230
231#
232# Build types.hal (PortMode)
233#
234GEN := $(intermediates)/android/hardware/usb/V1_0/PortMode.java
235$(GEN): $(HIDL)
236$(GEN): PRIVATE_HIDL := $(HIDL)
237$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
238$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
239$(GEN): PRIVATE_CUSTOM_TOOL = \
240        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
241        -Ljava \
242        -randroid.hardware:hardware/interfaces \
243        -randroid.hidl:system/libhidl/transport \
244        android.hardware.usb@1.0::types.PortMode
245
246$(GEN): $(LOCAL_PATH)/types.hal
247	$(transform-generated-source)
248LOCAL_GENERATED_SOURCES += $(GEN)
249
250#
251# Build types.hal (PortPowerRole)
252#
253GEN := $(intermediates)/android/hardware/usb/V1_0/PortPowerRole.java
254$(GEN): $(HIDL)
255$(GEN): PRIVATE_HIDL := $(HIDL)
256$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
257$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
258$(GEN): PRIVATE_CUSTOM_TOOL = \
259        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
260        -Ljava \
261        -randroid.hardware:hardware/interfaces \
262        -randroid.hidl:system/libhidl/transport \
263        android.hardware.usb@1.0::types.PortPowerRole
264
265$(GEN): $(LOCAL_PATH)/types.hal
266	$(transform-generated-source)
267LOCAL_GENERATED_SOURCES += $(GEN)
268
269#
270# Build types.hal (PortRole)
271#
272GEN := $(intermediates)/android/hardware/usb/V1_0/PortRole.java
273$(GEN): $(HIDL)
274$(GEN): PRIVATE_HIDL := $(HIDL)
275$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
276$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
277$(GEN): PRIVATE_CUSTOM_TOOL = \
278        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
279        -Ljava \
280        -randroid.hardware:hardware/interfaces \
281        -randroid.hidl:system/libhidl/transport \
282        android.hardware.usb@1.0::types.PortRole
283
284$(GEN): $(LOCAL_PATH)/types.hal
285	$(transform-generated-source)
286LOCAL_GENERATED_SOURCES += $(GEN)
287
288#
289# Build types.hal (PortRoleType)
290#
291GEN := $(intermediates)/android/hardware/usb/V1_0/PortRoleType.java
292$(GEN): $(HIDL)
293$(GEN): PRIVATE_HIDL := $(HIDL)
294$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
295$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
296$(GEN): PRIVATE_CUSTOM_TOOL = \
297        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
298        -Ljava \
299        -randroid.hardware:hardware/interfaces \
300        -randroid.hidl:system/libhidl/transport \
301        android.hardware.usb@1.0::types.PortRoleType
302
303$(GEN): $(LOCAL_PATH)/types.hal
304	$(transform-generated-source)
305LOCAL_GENERATED_SOURCES += $(GEN)
306
307#
308# Build types.hal (PortStatus)
309#
310GEN := $(intermediates)/android/hardware/usb/V1_0/PortStatus.java
311$(GEN): $(HIDL)
312$(GEN): PRIVATE_HIDL := $(HIDL)
313$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
314$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
315$(GEN): PRIVATE_CUSTOM_TOOL = \
316        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
317        -Ljava \
318        -randroid.hardware:hardware/interfaces \
319        -randroid.hidl:system/libhidl/transport \
320        android.hardware.usb@1.0::types.PortStatus
321
322$(GEN): $(LOCAL_PATH)/types.hal
323	$(transform-generated-source)
324LOCAL_GENERATED_SOURCES += $(GEN)
325
326#
327# Build types.hal (Status)
328#
329GEN := $(intermediates)/android/hardware/usb/V1_0/Status.java
330$(GEN): $(HIDL)
331$(GEN): PRIVATE_HIDL := $(HIDL)
332$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
333$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
334$(GEN): PRIVATE_CUSTOM_TOOL = \
335        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
336        -Ljava \
337        -randroid.hardware:hardware/interfaces \
338        -randroid.hidl:system/libhidl/transport \
339        android.hardware.usb@1.0::types.Status
340
341$(GEN): $(LOCAL_PATH)/types.hal
342	$(transform-generated-source)
343LOCAL_GENERATED_SOURCES += $(GEN)
344
345#
346# Build IUsb.hal
347#
348GEN := $(intermediates)/android/hardware/usb/V1_0/IUsb.java
349$(GEN): $(HIDL)
350$(GEN): PRIVATE_HIDL := $(HIDL)
351$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal
352$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IUsbCallback.hal
353$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
354$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
355$(GEN): $(LOCAL_PATH)/types.hal
356$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
357$(GEN): PRIVATE_CUSTOM_TOOL = \
358        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
359        -Ljava \
360        -randroid.hardware:hardware/interfaces \
361        -randroid.hidl:system/libhidl/transport \
362        android.hardware.usb@1.0::IUsb
363
364$(GEN): $(LOCAL_PATH)/IUsb.hal
365	$(transform-generated-source)
366LOCAL_GENERATED_SOURCES += $(GEN)
367
368#
369# Build IUsbCallback.hal
370#
371GEN := $(intermediates)/android/hardware/usb/V1_0/IUsbCallback.java
372$(GEN): $(HIDL)
373$(GEN): PRIVATE_HIDL := $(HIDL)
374$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal
375$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
376$(GEN): $(LOCAL_PATH)/types.hal
377$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
378$(GEN): PRIVATE_CUSTOM_TOOL = \
379        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
380        -Ljava \
381        -randroid.hardware:hardware/interfaces \
382        -randroid.hidl:system/libhidl/transport \
383        android.hardware.usb@1.0::IUsbCallback
384
385$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
386	$(transform-generated-source)
387LOCAL_GENERATED_SOURCES += $(GEN)
388include $(BUILD_STATIC_JAVA_LIBRARY)
389
390
391################################################################################
392
393include $(CLEAR_VARS)
394LOCAL_MODULE := android.hardware.usb-V1.0-java-constants
395LOCAL_MODULE_CLASS := JAVA_LIBRARIES
396
397intermediates := $(call local-generated-sources-dir, COMMON)
398
399HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
400#
401GEN := $(intermediates)/android/hardware/usb/V1_0/Constants.java
402$(GEN): $(HIDL)
403$(GEN): $(LOCAL_PATH)/types.hal
404$(GEN): $(LOCAL_PATH)/IUsb.hal
405$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
406
407$(GEN): PRIVATE_HIDL := $(HIDL)
408$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
409$(GEN): PRIVATE_CUSTOM_TOOL = \
410        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
411        -Ljava-constants \
412        -randroid.hardware:hardware/interfaces \
413        -randroid.hidl:system/libhidl/transport \
414        android.hardware.usb@1.0
415
416$(GEN):
417	$(transform-generated-source)
418LOCAL_GENERATED_SOURCES += $(GEN)
419# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
420LOCAL_NO_STANDARD_LIBRARIES := true
421LOCAL_JAVA_LIBRARIES := core-oj
422
423include $(BUILD_STATIC_JAVA_LIBRARY)
424
425
426
427include $(call all-makefiles-under,$(LOCAL_PATH))
428