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.vr-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 IVr.hal
21#
22GEN := $(intermediates)/android/hardware/vr/V1_0/IVr.java
23$(GEN): $(HIDL)
24$(GEN): PRIVATE_HIDL := $(HIDL)
25$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVr.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.vr@1.0::IVr
33
34$(GEN): $(LOCAL_PATH)/IVr.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37include $(BUILD_JAVA_LIBRARY)
38
39
40################################################################################
41
42include $(CLEAR_VARS)
43LOCAL_MODULE := android.hardware.vr-V1.0-java-static
44LOCAL_MODULE_CLASS := JAVA_LIBRARIES
45
46intermediates := $(call local-generated-sources-dir, COMMON)
47
48HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
49
50LOCAL_STATIC_JAVA_LIBRARIES := \
51    android.hidl.base-V1.0-java-static \
52
53
54#
55# Build IVr.hal
56#
57GEN := $(intermediates)/android/hardware/vr/V1_0/IVr.java
58$(GEN): $(HIDL)
59$(GEN): PRIVATE_HIDL := $(HIDL)
60$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVr.hal
61$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
62$(GEN): PRIVATE_CUSTOM_TOOL = \
63        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
64        -Ljava \
65        -randroid.hardware:hardware/interfaces \
66        -randroid.hidl:system/libhidl/transport \
67        android.hardware.vr@1.0::IVr
68
69$(GEN): $(LOCAL_PATH)/IVr.hal
70	$(transform-generated-source)
71LOCAL_GENERATED_SOURCES += $(GEN)
72include $(BUILD_STATIC_JAVA_LIBRARY)
73
74
75
76include $(call all-makefiles-under,$(LOCAL_PATH))
77