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