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