• 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.graphics.common-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
15#
16# Build types.hal (BufferUsage)
17#
18GEN := $(intermediates)/android/hardware/graphics/common/V1_0/BufferUsage.java
19$(GEN): $(HIDL)
20$(GEN): PRIVATE_HIDL := $(HIDL)
21$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
22$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
23$(GEN): PRIVATE_CUSTOM_TOOL = \
24        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
25        -Ljava \
26        -randroid.hardware:hardware/interfaces \
27        -randroid.hidl:system/libhidl/transport \
28        android.hardware.graphics.common@1.0::types.BufferUsage
29
30$(GEN): $(LOCAL_PATH)/types.hal
31	$(transform-generated-source)
32LOCAL_GENERATED_SOURCES += $(GEN)
33
34#
35# Build types.hal (ColorMode)
36#
37GEN := $(intermediates)/android/hardware/graphics/common/V1_0/ColorMode.java
38$(GEN): $(HIDL)
39$(GEN): PRIVATE_HIDL := $(HIDL)
40$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
41$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
42$(GEN): PRIVATE_CUSTOM_TOOL = \
43        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
44        -Ljava \
45        -randroid.hardware:hardware/interfaces \
46        -randroid.hidl:system/libhidl/transport \
47        android.hardware.graphics.common@1.0::types.ColorMode
48
49$(GEN): $(LOCAL_PATH)/types.hal
50	$(transform-generated-source)
51LOCAL_GENERATED_SOURCES += $(GEN)
52
53#
54# Build types.hal (ColorTransform)
55#
56GEN := $(intermediates)/android/hardware/graphics/common/V1_0/ColorTransform.java
57$(GEN): $(HIDL)
58$(GEN): PRIVATE_HIDL := $(HIDL)
59$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
60$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
61$(GEN): PRIVATE_CUSTOM_TOOL = \
62        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
63        -Ljava \
64        -randroid.hardware:hardware/interfaces \
65        -randroid.hidl:system/libhidl/transport \
66        android.hardware.graphics.common@1.0::types.ColorTransform
67
68$(GEN): $(LOCAL_PATH)/types.hal
69	$(transform-generated-source)
70LOCAL_GENERATED_SOURCES += $(GEN)
71
72#
73# Build types.hal (Dataspace)
74#
75GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Dataspace.java
76$(GEN): $(HIDL)
77$(GEN): PRIVATE_HIDL := $(HIDL)
78$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
79$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
80$(GEN): PRIVATE_CUSTOM_TOOL = \
81        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
82        -Ljava \
83        -randroid.hardware:hardware/interfaces \
84        -randroid.hidl:system/libhidl/transport \
85        android.hardware.graphics.common@1.0::types.Dataspace
86
87$(GEN): $(LOCAL_PATH)/types.hal
88	$(transform-generated-source)
89LOCAL_GENERATED_SOURCES += $(GEN)
90
91#
92# Build types.hal (Hdr)
93#
94GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Hdr.java
95$(GEN): $(HIDL)
96$(GEN): PRIVATE_HIDL := $(HIDL)
97$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
98$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
99$(GEN): PRIVATE_CUSTOM_TOOL = \
100        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
101        -Ljava \
102        -randroid.hardware:hardware/interfaces \
103        -randroid.hidl:system/libhidl/transport \
104        android.hardware.graphics.common@1.0::types.Hdr
105
106$(GEN): $(LOCAL_PATH)/types.hal
107	$(transform-generated-source)
108LOCAL_GENERATED_SOURCES += $(GEN)
109
110#
111# Build types.hal (PixelFormat)
112#
113GEN := $(intermediates)/android/hardware/graphics/common/V1_0/PixelFormat.java
114$(GEN): $(HIDL)
115$(GEN): PRIVATE_HIDL := $(HIDL)
116$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
117$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
118$(GEN): PRIVATE_CUSTOM_TOOL = \
119        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
120        -Ljava \
121        -randroid.hardware:hardware/interfaces \
122        -randroid.hidl:system/libhidl/transport \
123        android.hardware.graphics.common@1.0::types.PixelFormat
124
125$(GEN): $(LOCAL_PATH)/types.hal
126	$(transform-generated-source)
127LOCAL_GENERATED_SOURCES += $(GEN)
128
129#
130# Build types.hal (Transform)
131#
132GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Transform.java
133$(GEN): $(HIDL)
134$(GEN): PRIVATE_HIDL := $(HIDL)
135$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
136$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
137$(GEN): PRIVATE_CUSTOM_TOOL = \
138        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
139        -Ljava \
140        -randroid.hardware:hardware/interfaces \
141        -randroid.hidl:system/libhidl/transport \
142        android.hardware.graphics.common@1.0::types.Transform
143
144$(GEN): $(LOCAL_PATH)/types.hal
145	$(transform-generated-source)
146LOCAL_GENERATED_SOURCES += $(GEN)
147include $(BUILD_JAVA_LIBRARY)
148
149
150################################################################################
151
152include $(CLEAR_VARS)
153LOCAL_MODULE := android.hardware.graphics.common-V1.0-java-static
154LOCAL_MODULE_CLASS := JAVA_LIBRARIES
155
156intermediates := $(call local-generated-sources-dir, COMMON)
157
158HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
159
160#
161# Build types.hal (BufferUsage)
162#
163GEN := $(intermediates)/android/hardware/graphics/common/V1_0/BufferUsage.java
164$(GEN): $(HIDL)
165$(GEN): PRIVATE_HIDL := $(HIDL)
166$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
167$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
168$(GEN): PRIVATE_CUSTOM_TOOL = \
169        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
170        -Ljava \
171        -randroid.hardware:hardware/interfaces \
172        -randroid.hidl:system/libhidl/transport \
173        android.hardware.graphics.common@1.0::types.BufferUsage
174
175$(GEN): $(LOCAL_PATH)/types.hal
176	$(transform-generated-source)
177LOCAL_GENERATED_SOURCES += $(GEN)
178
179#
180# Build types.hal (ColorMode)
181#
182GEN := $(intermediates)/android/hardware/graphics/common/V1_0/ColorMode.java
183$(GEN): $(HIDL)
184$(GEN): PRIVATE_HIDL := $(HIDL)
185$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
186$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
187$(GEN): PRIVATE_CUSTOM_TOOL = \
188        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
189        -Ljava \
190        -randroid.hardware:hardware/interfaces \
191        -randroid.hidl:system/libhidl/transport \
192        android.hardware.graphics.common@1.0::types.ColorMode
193
194$(GEN): $(LOCAL_PATH)/types.hal
195	$(transform-generated-source)
196LOCAL_GENERATED_SOURCES += $(GEN)
197
198#
199# Build types.hal (ColorTransform)
200#
201GEN := $(intermediates)/android/hardware/graphics/common/V1_0/ColorTransform.java
202$(GEN): $(HIDL)
203$(GEN): PRIVATE_HIDL := $(HIDL)
204$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
205$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
206$(GEN): PRIVATE_CUSTOM_TOOL = \
207        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
208        -Ljava \
209        -randroid.hardware:hardware/interfaces \
210        -randroid.hidl:system/libhidl/transport \
211        android.hardware.graphics.common@1.0::types.ColorTransform
212
213$(GEN): $(LOCAL_PATH)/types.hal
214	$(transform-generated-source)
215LOCAL_GENERATED_SOURCES += $(GEN)
216
217#
218# Build types.hal (Dataspace)
219#
220GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Dataspace.java
221$(GEN): $(HIDL)
222$(GEN): PRIVATE_HIDL := $(HIDL)
223$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
224$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
225$(GEN): PRIVATE_CUSTOM_TOOL = \
226        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
227        -Ljava \
228        -randroid.hardware:hardware/interfaces \
229        -randroid.hidl:system/libhidl/transport \
230        android.hardware.graphics.common@1.0::types.Dataspace
231
232$(GEN): $(LOCAL_PATH)/types.hal
233	$(transform-generated-source)
234LOCAL_GENERATED_SOURCES += $(GEN)
235
236#
237# Build types.hal (Hdr)
238#
239GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Hdr.java
240$(GEN): $(HIDL)
241$(GEN): PRIVATE_HIDL := $(HIDL)
242$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
243$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
244$(GEN): PRIVATE_CUSTOM_TOOL = \
245        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
246        -Ljava \
247        -randroid.hardware:hardware/interfaces \
248        -randroid.hidl:system/libhidl/transport \
249        android.hardware.graphics.common@1.0::types.Hdr
250
251$(GEN): $(LOCAL_PATH)/types.hal
252	$(transform-generated-source)
253LOCAL_GENERATED_SOURCES += $(GEN)
254
255#
256# Build types.hal (PixelFormat)
257#
258GEN := $(intermediates)/android/hardware/graphics/common/V1_0/PixelFormat.java
259$(GEN): $(HIDL)
260$(GEN): PRIVATE_HIDL := $(HIDL)
261$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
262$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
263$(GEN): PRIVATE_CUSTOM_TOOL = \
264        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
265        -Ljava \
266        -randroid.hardware:hardware/interfaces \
267        -randroid.hidl:system/libhidl/transport \
268        android.hardware.graphics.common@1.0::types.PixelFormat
269
270$(GEN): $(LOCAL_PATH)/types.hal
271	$(transform-generated-source)
272LOCAL_GENERATED_SOURCES += $(GEN)
273
274#
275# Build types.hal (Transform)
276#
277GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Transform.java
278$(GEN): $(HIDL)
279$(GEN): PRIVATE_HIDL := $(HIDL)
280$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
281$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
282$(GEN): PRIVATE_CUSTOM_TOOL = \
283        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
284        -Ljava \
285        -randroid.hardware:hardware/interfaces \
286        -randroid.hidl:system/libhidl/transport \
287        android.hardware.graphics.common@1.0::types.Transform
288
289$(GEN): $(LOCAL_PATH)/types.hal
290	$(transform-generated-source)
291LOCAL_GENERATED_SOURCES += $(GEN)
292include $(BUILD_STATIC_JAVA_LIBRARY)
293
294
295################################################################################
296
297include $(CLEAR_VARS)
298LOCAL_MODULE := android.hardware.graphics.common-V1.0-java-constants
299LOCAL_MODULE_CLASS := JAVA_LIBRARIES
300
301intermediates := $(call local-generated-sources-dir, COMMON)
302
303HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
304#
305GEN := $(intermediates)/android/hardware/graphics/common/V1_0/Constants.java
306$(GEN): $(HIDL)
307$(GEN): $(LOCAL_PATH)/types.hal
308
309$(GEN): PRIVATE_HIDL := $(HIDL)
310$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
311$(GEN): PRIVATE_CUSTOM_TOOL = \
312        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
313        -Ljava-constants \
314        -randroid.hardware:hardware/interfaces \
315        -randroid.hidl:system/libhidl/transport \
316        android.hardware.graphics.common@1.0
317
318$(GEN):
319	$(transform-generated-source)
320LOCAL_GENERATED_SOURCES += $(GEN)
321# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
322LOCAL_NO_STANDARD_LIBRARIES := true
323LOCAL_JAVA_LIBRARIES := core-oj
324
325include $(BUILD_STATIC_JAVA_LIBRARY)
326
327
328
329include $(call all-makefiles-under,$(LOCAL_PATH))
330