summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorSteven Moreland2017-08-10 17:14:53 -0500
committerSteven Moreland2017-08-10 18:43:46 -0500
commit6da35570df5711f14bc9dd8e5883d83e45e6c213 (patch)
tree5d6805eadfac8bb670a4c0e37dd84f39a446eafc /light
parent3867cce26bd12a247b8b97ecd3344a383dcee2ae (diff)
downloadplatform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.tar.gz
platform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.tar.xz
platform-hardware-interfaces-6da35570df5711f14bc9dd8e5883d83e45e6c213.zip
Updating all makefiles.
Bug: 64487114 Test: none Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Diffstat (limited to 'light')
-rw-r--r--light/2.0/Android.mk134
1 files changed, 0 insertions, 134 deletions
diff --git a/light/2.0/Android.mk b/light/2.0/Android.mk
index 926c6001..93211e19 100644
--- a/light/2.0/Android.mk
+++ b/light/2.0/Android.mk
@@ -136,139 +136,5 @@ LOCAL_GENERATED_SOURCES += $(GEN)
136include $(BUILD_JAVA_LIBRARY) 136include $(BUILD_JAVA_LIBRARY)
137 137
138 138
139################################################################################
140
141include $(CLEAR_VARS)
142LOCAL_MODULE := android.hardware.light-V2.0-java-static
143LOCAL_MODULE_CLASS := JAVA_LIBRARIES
144
145intermediates := $(call local-generated-sources-dir, COMMON)
146
147HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
148
149LOCAL_STATIC_JAVA_LIBRARIES := \
150 android.hidl.base-V1.0-java-static \
151
152LOCAL_NO_STANDARD_LIBRARIES := true
153LOCAL_JAVA_LIBRARIES := core-oj hwbinder
154
155#
156# Build types.hal (Brightness)
157#
158GEN := $(intermediates)/android/hardware/light/V2_0/Brightness.java
159$(GEN): $(HIDL)
160$(GEN): PRIVATE_HIDL := $(HIDL)
161$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
162$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
163$(GEN): PRIVATE_CUSTOM_TOOL = \
164 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
165 -Ljava \
166 -randroid.hardware:hardware/interfaces \
167 -randroid.hidl:system/libhidl/transport \
168 android.hardware.light@2.0::types.Brightness
169
170$(GEN): $(LOCAL_PATH)/types.hal
171 $(transform-generated-source)
172LOCAL_GENERATED_SOURCES += $(GEN)
173
174#
175# Build types.hal (Flash)
176#
177GEN := $(intermediates)/android/hardware/light/V2_0/Flash.java
178$(GEN): $(HIDL)
179$(GEN): PRIVATE_HIDL := $(HIDL)
180$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
181$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
182$(GEN): PRIVATE_CUSTOM_TOOL = \
183 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
184 -Ljava \
185 -randroid.hardware:hardware/interfaces \
186 -randroid.hidl:system/libhidl/transport \
187 android.hardware.light@2.0::types.Flash
188
189$(GEN): $(LOCAL_PATH)/types.hal
190 $(transform-generated-source)
191LOCAL_GENERATED_SOURCES += $(GEN)
192
193#
194# Build types.hal (LightState)
195#
196GEN := $(intermediates)/android/hardware/light/V2_0/LightState.java
197$(GEN): $(HIDL)
198$(GEN): PRIVATE_HIDL := $(HIDL)
199$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
200$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
201$(GEN): PRIVATE_CUSTOM_TOOL = \
202 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
203 -Ljava \
204 -randroid.hardware:hardware/interfaces \
205 -randroid.hidl:system/libhidl/transport \
206 android.hardware.light@2.0::types.LightState
207
208$(GEN): $(LOCAL_PATH)/types.hal
209 $(transform-generated-source)
210LOCAL_GENERATED_SOURCES += $(GEN)
211
212#
213# Build types.hal (Status)
214#
215GEN := $(intermediates)/android/hardware/light/V2_0/Status.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.light@2.0::types.Status
226
227$(GEN): $(LOCAL_PATH)/types.hal
228 $(transform-generated-source)
229LOCAL_GENERATED_SOURCES += $(GEN)
230
231#
232# Build types.hal (Type)
233#
234GEN := $(intermediates)/android/hardware/light/V2_0/Type.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.light@2.0::types.Type
245
246$(GEN): $(LOCAL_PATH)/types.hal
247 $(transform-generated-source)
248LOCAL_GENERATED_SOURCES += $(GEN)
249
250#
251# Build ILight.hal
252#
253GEN := $(intermediates)/android/hardware/light/V2_0/ILight.java
254$(GEN): $(HIDL)
255$(GEN): PRIVATE_HIDL := $(HIDL)
256$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ILight.hal
257$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
258$(GEN): $(LOCAL_PATH)/types.hal
259$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
260$(GEN): PRIVATE_CUSTOM_TOOL = \
261 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
262 -Ljava \
263 -randroid.hardware:hardware/interfaces \
264 -randroid.hidl:system/libhidl/transport \
265 android.hardware.light@2.0::ILight
266
267$(GEN): $(LOCAL_PATH)/ILight.hal
268 $(transform-generated-source)
269LOCAL_GENERATED_SOURCES += $(GEN)
270include $(BUILD_STATIC_JAVA_LIBRARY)
271
272
273 139
274include $(call all-makefiles-under,$(LOCAL_PATH)) 140include $(call all-makefiles-under,$(LOCAL_PATH))