• 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.thermal-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 (CoolingDevice)
21#
22GEN := $(intermediates)/android/hardware/thermal/V1_0/CoolingDevice.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.thermal@1.0::types.CoolingDevice
33
34$(GEN): $(LOCAL_PATH)/types.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37
38#
39# Build types.hal (CoolingType)
40#
41GEN := $(intermediates)/android/hardware/thermal/V1_0/CoolingType.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.thermal@1.0::types.CoolingType
52
53$(GEN): $(LOCAL_PATH)/types.hal
54	$(transform-generated-source)
55LOCAL_GENERATED_SOURCES += $(GEN)
56
57#
58# Build types.hal (CpuUsage)
59#
60GEN := $(intermediates)/android/hardware/thermal/V1_0/CpuUsage.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.thermal@1.0::types.CpuUsage
71
72$(GEN): $(LOCAL_PATH)/types.hal
73	$(transform-generated-source)
74LOCAL_GENERATED_SOURCES += $(GEN)
75
76#
77# Build types.hal (Temperature)
78#
79GEN := $(intermediates)/android/hardware/thermal/V1_0/Temperature.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.thermal@1.0::types.Temperature
90
91$(GEN): $(LOCAL_PATH)/types.hal
92	$(transform-generated-source)
93LOCAL_GENERATED_SOURCES += $(GEN)
94
95#
96# Build types.hal (TemperatureType)
97#
98GEN := $(intermediates)/android/hardware/thermal/V1_0/TemperatureType.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.thermal@1.0::types.TemperatureType
109
110$(GEN): $(LOCAL_PATH)/types.hal
111	$(transform-generated-source)
112LOCAL_GENERATED_SOURCES += $(GEN)
113
114#
115# Build types.hal (ThermalStatus)
116#
117GEN := $(intermediates)/android/hardware/thermal/V1_0/ThermalStatus.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.thermal@1.0::types.ThermalStatus
128
129$(GEN): $(LOCAL_PATH)/types.hal
130	$(transform-generated-source)
131LOCAL_GENERATED_SOURCES += $(GEN)
132
133#
134# Build types.hal (ThermalStatusCode)
135#
136GEN := $(intermediates)/android/hardware/thermal/V1_0/ThermalStatusCode.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.thermal@1.0::types.ThermalStatusCode
147
148$(GEN): $(LOCAL_PATH)/types.hal
149	$(transform-generated-source)
150LOCAL_GENERATED_SOURCES += $(GEN)
151
152#
153# Build IThermal.hal
154#
155GEN := $(intermediates)/android/hardware/thermal/V1_0/IThermal.java
156$(GEN): $(HIDL)
157$(GEN): PRIVATE_HIDL := $(HIDL)
158$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IThermal.hal
159$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
160$(GEN): $(LOCAL_PATH)/types.hal
161$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
162$(GEN): PRIVATE_CUSTOM_TOOL = \
163        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
164        -Ljava \
165        -randroid.hardware:hardware/interfaces \
166        -randroid.hidl:system/libhidl/transport \
167        android.hardware.thermal@1.0::IThermal
168
169$(GEN): $(LOCAL_PATH)/IThermal.hal
170	$(transform-generated-source)
171LOCAL_GENERATED_SOURCES += $(GEN)
172include $(BUILD_JAVA_LIBRARY)
173
174
175################################################################################
176
177include $(CLEAR_VARS)
178LOCAL_MODULE := android.hardware.thermal-V1.0-java-static
179LOCAL_MODULE_CLASS := JAVA_LIBRARIES
180
181intermediates := $(call local-generated-sources-dir, COMMON)
182
183HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
184
185LOCAL_STATIC_JAVA_LIBRARIES := \
186    android.hidl.base-V1.0-java-static \
187
188
189#
190# Build types.hal (CoolingDevice)
191#
192GEN := $(intermediates)/android/hardware/thermal/V1_0/CoolingDevice.java
193$(GEN): $(HIDL)
194$(GEN): PRIVATE_HIDL := $(HIDL)
195$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
196$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
197$(GEN): PRIVATE_CUSTOM_TOOL = \
198        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
199        -Ljava \
200        -randroid.hardware:hardware/interfaces \
201        -randroid.hidl:system/libhidl/transport \
202        android.hardware.thermal@1.0::types.CoolingDevice
203
204$(GEN): $(LOCAL_PATH)/types.hal
205	$(transform-generated-source)
206LOCAL_GENERATED_SOURCES += $(GEN)
207
208#
209# Build types.hal (CoolingType)
210#
211GEN := $(intermediates)/android/hardware/thermal/V1_0/CoolingType.java
212$(GEN): $(HIDL)
213$(GEN): PRIVATE_HIDL := $(HIDL)
214$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
215$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
216$(GEN): PRIVATE_CUSTOM_TOOL = \
217        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
218        -Ljava \
219        -randroid.hardware:hardware/interfaces \
220        -randroid.hidl:system/libhidl/transport \
221        android.hardware.thermal@1.0::types.CoolingType
222
223$(GEN): $(LOCAL_PATH)/types.hal
224	$(transform-generated-source)
225LOCAL_GENERATED_SOURCES += $(GEN)
226
227#
228# Build types.hal (CpuUsage)
229#
230GEN := $(intermediates)/android/hardware/thermal/V1_0/CpuUsage.java
231$(GEN): $(HIDL)
232$(GEN): PRIVATE_HIDL := $(HIDL)
233$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
234$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
235$(GEN): PRIVATE_CUSTOM_TOOL = \
236        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
237        -Ljava \
238        -randroid.hardware:hardware/interfaces \
239        -randroid.hidl:system/libhidl/transport \
240        android.hardware.thermal@1.0::types.CpuUsage
241
242$(GEN): $(LOCAL_PATH)/types.hal
243	$(transform-generated-source)
244LOCAL_GENERATED_SOURCES += $(GEN)
245
246#
247# Build types.hal (Temperature)
248#
249GEN := $(intermediates)/android/hardware/thermal/V1_0/Temperature.java
250$(GEN): $(HIDL)
251$(GEN): PRIVATE_HIDL := $(HIDL)
252$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
253$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
254$(GEN): PRIVATE_CUSTOM_TOOL = \
255        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
256        -Ljava \
257        -randroid.hardware:hardware/interfaces \
258        -randroid.hidl:system/libhidl/transport \
259        android.hardware.thermal@1.0::types.Temperature
260
261$(GEN): $(LOCAL_PATH)/types.hal
262	$(transform-generated-source)
263LOCAL_GENERATED_SOURCES += $(GEN)
264
265#
266# Build types.hal (TemperatureType)
267#
268GEN := $(intermediates)/android/hardware/thermal/V1_0/TemperatureType.java
269$(GEN): $(HIDL)
270$(GEN): PRIVATE_HIDL := $(HIDL)
271$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
272$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
273$(GEN): PRIVATE_CUSTOM_TOOL = \
274        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
275        -Ljava \
276        -randroid.hardware:hardware/interfaces \
277        -randroid.hidl:system/libhidl/transport \
278        android.hardware.thermal@1.0::types.TemperatureType
279
280$(GEN): $(LOCAL_PATH)/types.hal
281	$(transform-generated-source)
282LOCAL_GENERATED_SOURCES += $(GEN)
283
284#
285# Build types.hal (ThermalStatus)
286#
287GEN := $(intermediates)/android/hardware/thermal/V1_0/ThermalStatus.java
288$(GEN): $(HIDL)
289$(GEN): PRIVATE_HIDL := $(HIDL)
290$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
291$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
292$(GEN): PRIVATE_CUSTOM_TOOL = \
293        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
294        -Ljava \
295        -randroid.hardware:hardware/interfaces \
296        -randroid.hidl:system/libhidl/transport \
297        android.hardware.thermal@1.0::types.ThermalStatus
298
299$(GEN): $(LOCAL_PATH)/types.hal
300	$(transform-generated-source)
301LOCAL_GENERATED_SOURCES += $(GEN)
302
303#
304# Build types.hal (ThermalStatusCode)
305#
306GEN := $(intermediates)/android/hardware/thermal/V1_0/ThermalStatusCode.java
307$(GEN): $(HIDL)
308$(GEN): PRIVATE_HIDL := $(HIDL)
309$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
310$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
311$(GEN): PRIVATE_CUSTOM_TOOL = \
312        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
313        -Ljava \
314        -randroid.hardware:hardware/interfaces \
315        -randroid.hidl:system/libhidl/transport \
316        android.hardware.thermal@1.0::types.ThermalStatusCode
317
318$(GEN): $(LOCAL_PATH)/types.hal
319	$(transform-generated-source)
320LOCAL_GENERATED_SOURCES += $(GEN)
321
322#
323# Build IThermal.hal
324#
325GEN := $(intermediates)/android/hardware/thermal/V1_0/IThermal.java
326$(GEN): $(HIDL)
327$(GEN): PRIVATE_HIDL := $(HIDL)
328$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IThermal.hal
329$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
330$(GEN): $(LOCAL_PATH)/types.hal
331$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
332$(GEN): PRIVATE_CUSTOM_TOOL = \
333        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
334        -Ljava \
335        -randroid.hardware:hardware/interfaces \
336        -randroid.hidl:system/libhidl/transport \
337        android.hardware.thermal@1.0::IThermal
338
339$(GEN): $(LOCAL_PATH)/IThermal.hal
340	$(transform-generated-source)
341LOCAL_GENERATED_SOURCES += $(GEN)
342include $(BUILD_STATIC_JAVA_LIBRARY)
343
344
345################################################################################
346
347include $(CLEAR_VARS)
348LOCAL_MODULE := android.hardware.thermal-V1.0-java-constants
349LOCAL_MODULE_CLASS := JAVA_LIBRARIES
350
351intermediates := $(call local-generated-sources-dir, COMMON)
352
353HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
354#
355GEN := $(intermediates)/android/hardware/thermal/V1_0/Constants.java
356$(GEN): $(HIDL)
357$(GEN): $(LOCAL_PATH)/types.hal
358$(GEN): $(LOCAL_PATH)/IThermal.hal
359
360$(GEN): PRIVATE_HIDL := $(HIDL)
361$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
362$(GEN): PRIVATE_CUSTOM_TOOL = \
363        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
364        -Ljava-constants \
365        -randroid.hardware:hardware/interfaces \
366        -randroid.hidl:system/libhidl/transport \
367        android.hardware.thermal@1.0
368
369$(GEN):
370	$(transform-generated-source)
371LOCAL_GENERATED_SOURCES += $(GEN)
372# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
373LOCAL_NO_STANDARD_LIBRARIES := true
374LOCAL_JAVA_LIBRARIES := core-oj
375
376include $(BUILD_STATIC_JAVA_LIBRARY)
377
378
379
380include $(call all-makefiles-under,$(LOCAL_PATH))
381