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.power-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.power-V1.0-java \ 17 android.hidl.base-V1.0-java \ 18 19 20 # 21 # Build types.hal (PowerStateSubsystem) 22 # 23 GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystem.java 24 $(GEN): $(HIDL) 25 $(GEN): PRIVATE_HIDL := $(HIDL) 26 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 27 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 28 $(GEN): PRIVATE_CUSTOM_TOOL = \ 29 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 30 -Ljava \ 31 -randroid.hardware:hardware/interfaces \ 32 -randroid.hidl:system/libhidl/transport \ 33 android.hardware.power (a] 1.1::types.PowerStateSubsystem 34 35 $(GEN): $(LOCAL_PATH)/types.hal 36 $(transform-generated-source) 37 LOCAL_GENERATED_SOURCES += $(GEN) 38 39 # 40 # Build types.hal (PowerStateSubsystemSleepState) 41 # 42 GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystemSleepState.java 43 $(GEN): $(HIDL) 44 $(GEN): PRIVATE_HIDL := $(HIDL) 45 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 46 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 47 $(GEN): PRIVATE_CUSTOM_TOOL = \ 48 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 49 -Ljava \ 50 -randroid.hardware:hardware/interfaces \ 51 -randroid.hidl:system/libhidl/transport \ 52 android.hardware.power (a] 1.1::types.PowerStateSubsystemSleepState 53 54 $(GEN): $(LOCAL_PATH)/types.hal 55 $(transform-generated-source) 56 LOCAL_GENERATED_SOURCES += $(GEN) 57 58 # 59 # Build IPower.hal 60 # 61 GEN := $(intermediates)/android/hardware/power/V1_1/IPower.java 62 $(GEN): $(HIDL) 63 $(GEN): PRIVATE_HIDL := $(HIDL) 64 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IPower.hal 65 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 66 $(GEN): $(LOCAL_PATH)/types.hal 67 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 68 $(GEN): PRIVATE_CUSTOM_TOOL = \ 69 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 70 -Ljava \ 71 -randroid.hardware:hardware/interfaces \ 72 -randroid.hidl:system/libhidl/transport \ 73 android.hardware.power (a] 1.1::IPower 74 75 $(GEN): $(LOCAL_PATH)/IPower.hal 76 $(transform-generated-source) 77 LOCAL_GENERATED_SOURCES += $(GEN) 78 include $(BUILD_JAVA_LIBRARY) 79 80 81 ################################################################################ 82 83 include $(CLEAR_VARS) 84 LOCAL_MODULE := android.hardware.power-V1.1-java-static 85 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 86 87 intermediates := $(call local-generated-sources-dir, COMMON) 88 89 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 90 91 LOCAL_STATIC_JAVA_LIBRARIES := \ 92 android.hardware.power-V1.0-java-static \ 93 android.hidl.base-V1.0-java-static \ 94 95 96 # 97 # Build types.hal (PowerStateSubsystem) 98 # 99 GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystem.java 100 $(GEN): $(HIDL) 101 $(GEN): PRIVATE_HIDL := $(HIDL) 102 $(GEN): PRIVATE_DEPS := $(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.power (a] 1.1::types.PowerStateSubsystem 110 111 $(GEN): $(LOCAL_PATH)/types.hal 112 $(transform-generated-source) 113 LOCAL_GENERATED_SOURCES += $(GEN) 114 115 # 116 # Build types.hal (PowerStateSubsystemSleepState) 117 # 118 GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystemSleepState.java 119 $(GEN): $(HIDL) 120 $(GEN): PRIVATE_HIDL := $(HIDL) 121 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 122 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 123 $(GEN): PRIVATE_CUSTOM_TOOL = \ 124 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 125 -Ljava \ 126 -randroid.hardware:hardware/interfaces \ 127 -randroid.hidl:system/libhidl/transport \ 128 android.hardware.power (a] 1.1::types.PowerStateSubsystemSleepState 129 130 $(GEN): $(LOCAL_PATH)/types.hal 131 $(transform-generated-source) 132 LOCAL_GENERATED_SOURCES += $(GEN) 133 134 # 135 # Build IPower.hal 136 # 137 GEN := $(intermediates)/android/hardware/power/V1_1/IPower.java 138 $(GEN): $(HIDL) 139 $(GEN): PRIVATE_HIDL := $(HIDL) 140 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IPower.hal 141 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 142 $(GEN): $(LOCAL_PATH)/types.hal 143 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 144 $(GEN): PRIVATE_CUSTOM_TOOL = \ 145 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 146 -Ljava \ 147 -randroid.hardware:hardware/interfaces \ 148 -randroid.hidl:system/libhidl/transport \ 149 android.hardware.power (a] 1.1::IPower 150 151 $(GEN): $(LOCAL_PATH)/IPower.hal 152 $(transform-generated-source) 153 LOCAL_GENERATED_SOURCES += $(GEN) 154 include $(BUILD_STATIC_JAVA_LIBRARY) 155 156 157 158 include $(call all-makefiles-under,$(LOCAL_PATH)) 159