• 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.1-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    android.hidl.manager-V1.0-java \
18
19
20#
21# Build IServiceManager.hal
22#
23GEN := $(intermediates)/android/hidl/manager/V1_1/IServiceManager.java
24$(GEN): $(HIDL)
25$(GEN): PRIVATE_HIDL := $(HIDL)
26$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IServiceManager.hal
27$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
28$(GEN): PRIVATE_CUSTOM_TOOL = \
29        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
30        -Ljava \
31        -randroid.hidl:system/libhidl/transport \
32        android.hidl.manager@1.1::IServiceManager
33
34$(GEN): $(LOCAL_PATH)/IServiceManager.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37include $(BUILD_JAVA_LIBRARY)
38
39
40################################################################################
41
42include $(CLEAR_VARS)
43LOCAL_MODULE := android.hidl.manager-V1.1-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    android.hidl.manager-V1.0-java-static \
53
54
55#
56# Build IServiceManager.hal
57#
58GEN := $(intermediates)/android/hidl/manager/V1_1/IServiceManager.java
59$(GEN): $(HIDL)
60$(GEN): PRIVATE_HIDL := $(HIDL)
61$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IServiceManager.hal
62$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
63$(GEN): PRIVATE_CUSTOM_TOOL = \
64        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
65        -Ljava \
66        -randroid.hidl:system/libhidl/transport \
67        android.hidl.manager@1.1::IServiceManager
68
69$(GEN): $(LOCAL_PATH)/IServiceManager.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