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