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.power-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 (Feature)
21#
22GEN := $(intermediates)/android/hardware/power/V1_0/Feature.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.power@1.0::types.Feature
33
34$(GEN): $(LOCAL_PATH)/types.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37
38#
39# Build types.hal (PowerHint)
40#
41GEN := $(intermediates)/android/hardware/power/V1_0/PowerHint.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.power@1.0::types.PowerHint
52
53$(GEN): $(LOCAL_PATH)/types.hal
54	$(transform-generated-source)
55LOCAL_GENERATED_SOURCES += $(GEN)
56
57#
58# Build types.hal (PowerStatePlatformSleepState)
59#
60GEN := $(intermediates)/android/hardware/power/V1_0/PowerStatePlatformSleepState.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.power@1.0::types.PowerStatePlatformSleepState
71
72$(GEN): $(LOCAL_PATH)/types.hal
73	$(transform-generated-source)
74LOCAL_GENERATED_SOURCES += $(GEN)
75
76#
77# Build types.hal (PowerStateVoter)
78#
79GEN := $(intermediates)/android/hardware/power/V1_0/PowerStateVoter.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.power@1.0::types.PowerStateVoter
90
91$(GEN): $(LOCAL_PATH)/types.hal
92	$(transform-generated-source)
93LOCAL_GENERATED_SOURCES += $(GEN)
94
95#
96# Build types.hal (Status)
97#
98GEN := $(intermediates)/android/hardware/power/V1_0/Status.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.power@1.0::types.Status
109
110$(GEN): $(LOCAL_PATH)/types.hal
111	$(transform-generated-source)
112LOCAL_GENERATED_SOURCES += $(GEN)
113
114#
115# Build IPower.hal
116#
117GEN := $(intermediates)/android/hardware/power/V1_0/IPower.java
118$(GEN): $(HIDL)
119$(GEN): PRIVATE_HIDL := $(HIDL)
120$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IPower.hal
121$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
122$(GEN): $(LOCAL_PATH)/types.hal
123$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
124$(GEN): PRIVATE_CUSTOM_TOOL = \
125        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
126        -Ljava \
127        -randroid.hardware:hardware/interfaces \
128        -randroid.hidl:system/libhidl/transport \
129        android.hardware.power@1.0::IPower
130
131$(GEN): $(LOCAL_PATH)/IPower.hal
132	$(transform-generated-source)
133LOCAL_GENERATED_SOURCES += $(GEN)
134include $(BUILD_JAVA_LIBRARY)
135
136
137################################################################################
138
139include $(CLEAR_VARS)
140LOCAL_MODULE := android.hardware.power-V1.0-java-static
141LOCAL_MODULE_CLASS := JAVA_LIBRARIES
142
143intermediates := $(call local-generated-sources-dir, COMMON)
144
145HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
146
147LOCAL_STATIC_JAVA_LIBRARIES := \
148    android.hidl.base-V1.0-java-static \
149
150
151#
152# Build types.hal (Feature)
153#
154GEN := $(intermediates)/android/hardware/power/V1_0/Feature.java
155$(GEN): $(HIDL)
156$(GEN): PRIVATE_HIDL := $(HIDL)
157$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
158$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
159$(GEN): PRIVATE_CUSTOM_TOOL = \
160        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
161        -Ljava \
162        -randroid.hardware:hardware/interfaces \
163        -randroid.hidl:system/libhidl/transport \
164        android.hardware.power@1.0::types.Feature
165
166$(GEN): $(LOCAL_PATH)/types.hal
167	$(transform-generated-source)
168LOCAL_GENERATED_SOURCES += $(GEN)
169
170#
171# Build types.hal (PowerHint)
172#
173GEN := $(intermediates)/android/hardware/power/V1_0/PowerHint.java
174$(GEN): $(HIDL)
175$(GEN): PRIVATE_HIDL := $(HIDL)
176$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
177$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
178$(GEN): PRIVATE_CUSTOM_TOOL = \
179        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
180        -Ljava \
181        -randroid.hardware:hardware/interfaces \
182        -randroid.hidl:system/libhidl/transport \
183        android.hardware.power@1.0::types.PowerHint
184
185$(GEN): $(LOCAL_PATH)/types.hal
186	$(transform-generated-source)
187LOCAL_GENERATED_SOURCES += $(GEN)
188
189#
190# Build types.hal (PowerStatePlatformSleepState)
191#
192GEN := $(intermediates)/android/hardware/power/V1_0/PowerStatePlatformSleepState.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.power@1.0::types.PowerStatePlatformSleepState
203
204$(GEN): $(LOCAL_PATH)/types.hal
205	$(transform-generated-source)
206LOCAL_GENERATED_SOURCES += $(GEN)
207
208#
209# Build types.hal (PowerStateVoter)
210#
211GEN := $(intermediates)/android/hardware/power/V1_0/PowerStateVoter.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.power@1.0::types.PowerStateVoter
222
223$(GEN): $(LOCAL_PATH)/types.hal
224	$(transform-generated-source)
225LOCAL_GENERATED_SOURCES += $(GEN)
226
227#
228# Build types.hal (Status)
229#
230GEN := $(intermediates)/android/hardware/power/V1_0/Status.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.power@1.0::types.Status
241
242$(GEN): $(LOCAL_PATH)/types.hal
243	$(transform-generated-source)
244LOCAL_GENERATED_SOURCES += $(GEN)
245
246#
247# Build IPower.hal
248#
249GEN := $(intermediates)/android/hardware/power/V1_0/IPower.java
250$(GEN): $(HIDL)
251$(GEN): PRIVATE_HIDL := $(HIDL)
252$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IPower.hal
253$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
254$(GEN): $(LOCAL_PATH)/types.hal
255$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
256$(GEN): PRIVATE_CUSTOM_TOOL = \
257        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
258        -Ljava \
259        -randroid.hardware:hardware/interfaces \
260        -randroid.hidl:system/libhidl/transport \
261        android.hardware.power@1.0::IPower
262
263$(GEN): $(LOCAL_PATH)/IPower.hal
264	$(transform-generated-source)
265LOCAL_GENERATED_SOURCES += $(GEN)
266include $(BUILD_STATIC_JAVA_LIBRARY)
267
268
269
270include $(call all-makefiles-under,$(LOCAL_PATH))
271