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.vibrator-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 (Effect) 21 # 22 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Effect.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.vibrator (a] 1.0::types.Effect 33 34 $(GEN): $(LOCAL_PATH)/types.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 38 # 39 # Build types.hal (EffectStrength) 40 # 41 GEN := $(intermediates)/android/hardware/vibrator/V1_0/EffectStrength.java 42 $(GEN): $(HIDL) 43 $(GEN): PRIVATE_HIDL := $(HIDL) 44 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 45 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 46 $(GEN): PRIVATE_CUSTOM_TOOL = \ 47 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 48 -Ljava \ 49 -randroid.hardware:hardware/interfaces \ 50 -randroid.hidl:system/libhidl/transport \ 51 android.hardware.vibrator (a] 1.0::types.EffectStrength 52 53 $(GEN): $(LOCAL_PATH)/types.hal 54 $(transform-generated-source) 55 LOCAL_GENERATED_SOURCES += $(GEN) 56 57 # 58 # Build types.hal (Status) 59 # 60 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Status.java 61 $(GEN): $(HIDL) 62 $(GEN): PRIVATE_HIDL := $(HIDL) 63 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 64 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 65 $(GEN): PRIVATE_CUSTOM_TOOL = \ 66 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 67 -Ljava \ 68 -randroid.hardware:hardware/interfaces \ 69 -randroid.hidl:system/libhidl/transport \ 70 android.hardware.vibrator (a] 1.0::types.Status 71 72 $(GEN): $(LOCAL_PATH)/types.hal 73 $(transform-generated-source) 74 LOCAL_GENERATED_SOURCES += $(GEN) 75 76 # 77 # Build IVibrator.hal 78 # 79 GEN := $(intermediates)/android/hardware/vibrator/V1_0/IVibrator.java 80 $(GEN): $(HIDL) 81 $(GEN): PRIVATE_HIDL := $(HIDL) 82 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVibrator.hal 83 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 84 $(GEN): $(LOCAL_PATH)/types.hal 85 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 86 $(GEN): PRIVATE_CUSTOM_TOOL = \ 87 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 88 -Ljava \ 89 -randroid.hardware:hardware/interfaces \ 90 -randroid.hidl:system/libhidl/transport \ 91 android.hardware.vibrator (a] 1.0::IVibrator 92 93 $(GEN): $(LOCAL_PATH)/IVibrator.hal 94 $(transform-generated-source) 95 LOCAL_GENERATED_SOURCES += $(GEN) 96 include $(BUILD_JAVA_LIBRARY) 97 98 99 ################################################################################ 100 101 include $(CLEAR_VARS) 102 LOCAL_MODULE := android.hardware.vibrator-V1.0-java-static 103 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 104 105 intermediates := $(call local-generated-sources-dir, COMMON) 106 107 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 108 109 LOCAL_STATIC_JAVA_LIBRARIES := \ 110 android.hidl.base-V1.0-java-static \ 111 112 113 # 114 # Build types.hal (Effect) 115 # 116 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Effect.java 117 $(GEN): $(HIDL) 118 $(GEN): PRIVATE_HIDL := $(HIDL) 119 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 120 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 121 $(GEN): PRIVATE_CUSTOM_TOOL = \ 122 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 123 -Ljava \ 124 -randroid.hardware:hardware/interfaces \ 125 -randroid.hidl:system/libhidl/transport \ 126 android.hardware.vibrator (a] 1.0::types.Effect 127 128 $(GEN): $(LOCAL_PATH)/types.hal 129 $(transform-generated-source) 130 LOCAL_GENERATED_SOURCES += $(GEN) 131 132 # 133 # Build types.hal (EffectStrength) 134 # 135 GEN := $(intermediates)/android/hardware/vibrator/V1_0/EffectStrength.java 136 $(GEN): $(HIDL) 137 $(GEN): PRIVATE_HIDL := $(HIDL) 138 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 139 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 140 $(GEN): PRIVATE_CUSTOM_TOOL = \ 141 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 142 -Ljava \ 143 -randroid.hardware:hardware/interfaces \ 144 -randroid.hidl:system/libhidl/transport \ 145 android.hardware.vibrator (a] 1.0::types.EffectStrength 146 147 $(GEN): $(LOCAL_PATH)/types.hal 148 $(transform-generated-source) 149 LOCAL_GENERATED_SOURCES += $(GEN) 150 151 # 152 # Build types.hal (Status) 153 # 154 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Status.java 155 $(GEN): $(HIDL) 156 $(GEN): PRIVATE_HIDL := $(HIDL) 157 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 158 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 159 $(GEN): PRIVATE_CUSTOM_TOOL = \ 160 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 161 -Ljava \ 162 -randroid.hardware:hardware/interfaces \ 163 -randroid.hidl:system/libhidl/transport \ 164 android.hardware.vibrator (a] 1.0::types.Status 165 166 $(GEN): $(LOCAL_PATH)/types.hal 167 $(transform-generated-source) 168 LOCAL_GENERATED_SOURCES += $(GEN) 169 170 # 171 # Build IVibrator.hal 172 # 173 GEN := $(intermediates)/android/hardware/vibrator/V1_0/IVibrator.java 174 $(GEN): $(HIDL) 175 $(GEN): PRIVATE_HIDL := $(HIDL) 176 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVibrator.hal 177 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 178 $(GEN): $(LOCAL_PATH)/types.hal 179 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 180 $(GEN): PRIVATE_CUSTOM_TOOL = \ 181 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 182 -Ljava \ 183 -randroid.hardware:hardware/interfaces \ 184 -randroid.hidl:system/libhidl/transport \ 185 android.hardware.vibrator (a] 1.0::IVibrator 186 187 $(GEN): $(LOCAL_PATH)/IVibrator.hal 188 $(transform-generated-source) 189 LOCAL_GENERATED_SOURCES += $(GEN) 190 include $(BUILD_STATIC_JAVA_LIBRARY) 191 192 193 ################################################################################ 194 195 include $(CLEAR_VARS) 196 LOCAL_MODULE := android.hardware.vibrator-V1.0-java-constants 197 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 198 199 intermediates := $(call local-generated-sources-dir, COMMON) 200 201 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 202 # 203 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Constants.java 204 $(GEN): $(HIDL) 205 $(GEN): $(LOCAL_PATH)/types.hal 206 $(GEN): $(LOCAL_PATH)/IVibrator.hal 207 208 $(GEN): PRIVATE_HIDL := $(HIDL) 209 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 210 $(GEN): PRIVATE_CUSTOM_TOOL = \ 211 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 212 -Ljava-constants \ 213 -randroid.hardware:hardware/interfaces \ 214 -randroid.hidl:system/libhidl/transport \ 215 android.hardware.vibrator (a] 1.0 216 217 $(GEN): 218 $(transform-generated-source) 219 LOCAL_GENERATED_SOURCES += $(GEN) 220 # Avoid dependency cycle of framework.jar -> this-library -> framework.jar 221 LOCAL_NO_STANDARD_LIBRARIES := true 222 LOCAL_JAVA_LIBRARIES := core-oj 223 224 include $(BUILD_STATIC_JAVA_LIBRARY) 225 226 227 228 include $(call all-makefiles-under,$(LOCAL_PATH)) 229