1 # This file is autogenerated by hidl-gen. Do not edit manually. 2 3 LOCAL_PATH := $(call my-dir) 4 5 ################################################################################ 6 7 include $(CLEAR_VARS) 8 LOCAL_MODULE := android.hidl.base-V1.0-java 9 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 10 11 intermediates := $(call local-generated-sources-dir, COMMON) 12 13 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 14 15 # 16 # Build types.hal (DebugInfo) 17 # 18 GEN := $(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 (a] 1.0::types.DebugInfo 28 29 $(GEN): $(LOCAL_PATH)/types.hal 30 $(transform-generated-source) 31 LOCAL_GENERATED_SOURCES += $(GEN) 32 33 # 34 # Build IBase.hal 35 # 36 GEN := $(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 (a] 1.0::IBase 48 49 $(GEN): $(LOCAL_PATH)/IBase.hal 50 $(transform-generated-source) 51 LOCAL_GENERATED_SOURCES += $(GEN) 52 include $(BUILD_JAVA_LIBRARY) 53 54 55 ################################################################################ 56 57 include $(CLEAR_VARS) 58 LOCAL_MODULE := android.hidl.base-V1.0-java-static 59 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 60 61 intermediates := $(call local-generated-sources-dir, COMMON) 62 63 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 64 65 # 66 # Build types.hal (DebugInfo) 67 # 68 GEN := $(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 (a] 1.0::types.DebugInfo 78 79 $(GEN): $(LOCAL_PATH)/types.hal 80 $(transform-generated-source) 81 LOCAL_GENERATED_SOURCES += $(GEN) 82 83 # 84 # Build IBase.hal 85 # 86 GEN := $(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 (a] 1.0::IBase 98 99 $(GEN): $(LOCAL_PATH)/IBase.hal 100 $(transform-generated-source) 101 LOCAL_GENERATED_SOURCES += $(GEN) 102 include $(BUILD_STATIC_JAVA_LIBRARY) 103 104 105 106 include $(call all-makefiles-under,$(LOCAL_PATH)) 107