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.light-V2.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 (Brightness) 21 # 22 GEN := $(intermediates)/android/hardware/light/V2_0/Brightness.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.light (a] 2.0::types.Brightness 33 34 $(GEN): $(LOCAL_PATH)/types.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 38 # 39 # Build types.hal (Flash) 40 # 41 GEN := $(intermediates)/android/hardware/light/V2_0/Flash.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.light (a] 2.0::types.Flash 52 53 $(GEN): $(LOCAL_PATH)/types.hal 54 $(transform-generated-source) 55 LOCAL_GENERATED_SOURCES += $(GEN) 56 57 # 58 # Build types.hal (LightState) 59 # 60 GEN := $(intermediates)/android/hardware/light/V2_0/LightState.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.light (a] 2.0::types.LightState 71 72 $(GEN): $(LOCAL_PATH)/types.hal 73 $(transform-generated-source) 74 LOCAL_GENERATED_SOURCES += $(GEN) 75 76 # 77 # Build types.hal (Status) 78 # 79 GEN := $(intermediates)/android/hardware/light/V2_0/Status.java 80 $(GEN): $(HIDL) 81 $(GEN): PRIVATE_HIDL := $(HIDL) 82 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 83 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 84 $(GEN): PRIVATE_CUSTOM_TOOL = \ 85 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 86 -Ljava \ 87 -randroid.hardware:hardware/interfaces \ 88 -randroid.hidl:system/libhidl/transport \ 89 android.hardware.light (a] 2.0::types.Status 90 91 $(GEN): $(LOCAL_PATH)/types.hal 92 $(transform-generated-source) 93 LOCAL_GENERATED_SOURCES += $(GEN) 94 95 # 96 # Build types.hal (Type) 97 # 98 GEN := $(intermediates)/android/hardware/light/V2_0/Type.java 99 $(GEN): $(HIDL) 100 $(GEN): PRIVATE_HIDL := $(HIDL) 101 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 102 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 103 $(GEN): PRIVATE_CUSTOM_TOOL = \ 104 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 105 -Ljava \ 106 -randroid.hardware:hardware/interfaces \ 107 -randroid.hidl:system/libhidl/transport \ 108 android.hardware.light (a] 2.0::types.Type 109 110 $(GEN): $(LOCAL_PATH)/types.hal 111 $(transform-generated-source) 112 LOCAL_GENERATED_SOURCES += $(GEN) 113 114 # 115 # Build ILight.hal 116 # 117 GEN := $(intermediates)/android/hardware/light/V2_0/ILight.java 118 $(GEN): $(HIDL) 119 $(GEN): PRIVATE_HIDL := $(HIDL) 120 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ILight.hal 121 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 122 $(GEN): $(LOCAL_PATH)/types.hal 123 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 124 $(GEN): PRIVATE_CUSTOM_TOOL = \ 125 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 126 -Ljava \ 127 -randroid.hardware:hardware/interfaces \ 128 -randroid.hidl:system/libhidl/transport \ 129 android.hardware.light (a] 2.0::ILight 130 131 $(GEN): $(LOCAL_PATH)/ILight.hal 132 $(transform-generated-source) 133 LOCAL_GENERATED_SOURCES += $(GEN) 134 include $(BUILD_JAVA_LIBRARY) 135 136 137 ################################################################################ 138 139 include $(CLEAR_VARS) 140 LOCAL_MODULE := android.hardware.light-V2.0-java-static 141 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 142 143 intermediates := $(call local-generated-sources-dir, COMMON) 144 145 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 146 147 LOCAL_STATIC_JAVA_LIBRARIES := \ 148 android.hidl.base-V1.0-java-static \ 149 150 151 # 152 # Build types.hal (Brightness) 153 # 154 GEN := $(intermediates)/android/hardware/light/V2_0/Brightness.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.light (a] 2.0::types.Brightness 165 166 $(GEN): $(LOCAL_PATH)/types.hal 167 $(transform-generated-source) 168 LOCAL_GENERATED_SOURCES += $(GEN) 169 170 # 171 # Build types.hal (Flash) 172 # 173 GEN := $(intermediates)/android/hardware/light/V2_0/Flash.java 174 $(GEN): $(HIDL) 175 $(GEN): PRIVATE_HIDL := $(HIDL) 176 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 177 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 178 $(GEN): PRIVATE_CUSTOM_TOOL = \ 179 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 180 -Ljava \ 181 -randroid.hardware:hardware/interfaces \ 182 -randroid.hidl:system/libhidl/transport \ 183 android.hardware.light (a] 2.0::types.Flash 184 185 $(GEN): $(LOCAL_PATH)/types.hal 186 $(transform-generated-source) 187 LOCAL_GENERATED_SOURCES += $(GEN) 188 189 # 190 # Build types.hal (LightState) 191 # 192 GEN := $(intermediates)/android/hardware/light/V2_0/LightState.java 193 $(GEN): $(HIDL) 194 $(GEN): PRIVATE_HIDL := $(HIDL) 195 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 196 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 197 $(GEN): PRIVATE_CUSTOM_TOOL = \ 198 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 199 -Ljava \ 200 -randroid.hardware:hardware/interfaces \ 201 -randroid.hidl:system/libhidl/transport \ 202 android.hardware.light (a] 2.0::types.LightState 203 204 $(GEN): $(LOCAL_PATH)/types.hal 205 $(transform-generated-source) 206 LOCAL_GENERATED_SOURCES += $(GEN) 207 208 # 209 # Build types.hal (Status) 210 # 211 GEN := $(intermediates)/android/hardware/light/V2_0/Status.java 212 $(GEN): $(HIDL) 213 $(GEN): PRIVATE_HIDL := $(HIDL) 214 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 215 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 216 $(GEN): PRIVATE_CUSTOM_TOOL = \ 217 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 218 -Ljava \ 219 -randroid.hardware:hardware/interfaces \ 220 -randroid.hidl:system/libhidl/transport \ 221 android.hardware.light (a] 2.0::types.Status 222 223 $(GEN): $(LOCAL_PATH)/types.hal 224 $(transform-generated-source) 225 LOCAL_GENERATED_SOURCES += $(GEN) 226 227 # 228 # Build types.hal (Type) 229 # 230 GEN := $(intermediates)/android/hardware/light/V2_0/Type.java 231 $(GEN): $(HIDL) 232 $(GEN): PRIVATE_HIDL := $(HIDL) 233 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 234 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 235 $(GEN): PRIVATE_CUSTOM_TOOL = \ 236 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 237 -Ljava \ 238 -randroid.hardware:hardware/interfaces \ 239 -randroid.hidl:system/libhidl/transport \ 240 android.hardware.light (a] 2.0::types.Type 241 242 $(GEN): $(LOCAL_PATH)/types.hal 243 $(transform-generated-source) 244 LOCAL_GENERATED_SOURCES += $(GEN) 245 246 # 247 # Build ILight.hal 248 # 249 GEN := $(intermediates)/android/hardware/light/V2_0/ILight.java 250 $(GEN): $(HIDL) 251 $(GEN): PRIVATE_HIDL := $(HIDL) 252 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ILight.hal 253 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 254 $(GEN): $(LOCAL_PATH)/types.hal 255 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 256 $(GEN): PRIVATE_CUSTOM_TOOL = \ 257 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 258 -Ljava \ 259 -randroid.hardware:hardware/interfaces \ 260 -randroid.hidl:system/libhidl/transport \ 261 android.hardware.light (a] 2.0::ILight 262 263 $(GEN): $(LOCAL_PATH)/ILight.hal 264 $(transform-generated-source) 265 LOCAL_GENERATED_SOURCES += $(GEN) 266 include $(BUILD_STATIC_JAVA_LIBRARY) 267 268 269 270 include $(call all-makefiles-under,$(LOCAL_PATH)) 271