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.hidl.base-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 (DebugInfo)
17#
18GEN := $(intermediates)/android/hidl/base/V1_0/DebugInfo.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.hidl:system/libhidl/transport \
27        android.hidl.base@1.0::types.DebugInfo
28
29$(GEN): $(LOCAL_PATH)/types.hal
30	$(transform-generated-source)
31LOCAL_GENERATED_SOURCES += $(GEN)
32
33#
34# Build IBase.hal
35#
36GEN := $(intermediates)/android/hidl/base/V1_0/IBase.java
37$(GEN): $(HIDL)
38$(GEN): PRIVATE_HIDL := $(HIDL)
39$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBase.hal
40$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
41$(GEN): $(LOCAL_PATH)/types.hal
42$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
43$(GEN): PRIVATE_CUSTOM_TOOL = \
44        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
45        -Ljava \
46        -randroid.hidl:system/libhidl/transport \
47        android.hidl.base@1.0::IBase
48
49$(GEN): $(LOCAL_PATH)/IBase.hal
50	$(transform-generated-source)
51LOCAL_GENERATED_SOURCES += $(GEN)
52include $(BUILD_JAVA_LIBRARY)
53
54
55################################################################################
56
57include $(CLEAR_VARS)
58LOCAL_MODULE := android.hidl.base-V1.0-java-static
59LOCAL_MODULE_CLASS := JAVA_LIBRARIES
60
61intermediates := $(call local-generated-sources-dir, COMMON)
62
63HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
64
65#
66# Build types.hal (DebugInfo)
67#
68GEN := $(intermediates)/android/hidl/base/V1_0/DebugInfo.java
69$(GEN): $(HIDL)
70$(GEN): PRIVATE_HIDL := $(HIDL)
71$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
72$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
73$(GEN): PRIVATE_CUSTOM_TOOL = \
74        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
75        -Ljava \
76        -randroid.hidl:system/libhidl/transport \
77        android.hidl.base@1.0::types.DebugInfo
78
79$(GEN): $(LOCAL_PATH)/types.hal
80	$(transform-generated-source)
81LOCAL_GENERATED_SOURCES += $(GEN)
82
83#
84# Build IBase.hal
85#
86GEN := $(intermediates)/android/hidl/base/V1_0/IBase.java
87$(GEN): $(HIDL)
88$(GEN): PRIVATE_HIDL := $(HIDL)
89$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IBase.hal
90$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
91$(GEN): $(LOCAL_PATH)/types.hal
92$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
93$(GEN): PRIVATE_CUSTOM_TOOL = \
94        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
95        -Ljava \
96        -randroid.hidl:system/libhidl/transport \
97        android.hidl.base@1.0::IBase
98
99$(GEN): $(LOCAL_PATH)/IBase.hal
100	$(transform-generated-source)
101LOCAL_GENERATED_SOURCES += $(GEN)
102include $(BUILD_STATIC_JAVA_LIBRARY)
103
104
105
106include $(call all-makefiles-under,$(LOCAL_PATH))
107