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.usb-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 (PortDataRole) 21 # 22 GEN := $(intermediates)/android/hardware/usb/V1_0/PortDataRole.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.usb (a] 1.0::types.PortDataRole 33 34 $(GEN): $(LOCAL_PATH)/types.hal 35 $(transform-generated-source) 36 LOCAL_GENERATED_SOURCES += $(GEN) 37 38 # 39 # Build types.hal (PortMode) 40 # 41 GEN := $(intermediates)/android/hardware/usb/V1_0/PortMode.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.usb (a] 1.0::types.PortMode 52 53 $(GEN): $(LOCAL_PATH)/types.hal 54 $(transform-generated-source) 55 LOCAL_GENERATED_SOURCES += $(GEN) 56 57 # 58 # Build types.hal (PortPowerRole) 59 # 60 GEN := $(intermediates)/android/hardware/usb/V1_0/PortPowerRole.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.usb (a] 1.0::types.PortPowerRole 71 72 $(GEN): $(LOCAL_PATH)/types.hal 73 $(transform-generated-source) 74 LOCAL_GENERATED_SOURCES += $(GEN) 75 76 # 77 # Build types.hal (PortRole) 78 # 79 GEN := $(intermediates)/android/hardware/usb/V1_0/PortRole.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.usb (a] 1.0::types.PortRole 90 91 $(GEN): $(LOCAL_PATH)/types.hal 92 $(transform-generated-source) 93 LOCAL_GENERATED_SOURCES += $(GEN) 94 95 # 96 # Build types.hal (PortRoleType) 97 # 98 GEN := $(intermediates)/android/hardware/usb/V1_0/PortRoleType.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.usb (a] 1.0::types.PortRoleType 109 110 $(GEN): $(LOCAL_PATH)/types.hal 111 $(transform-generated-source) 112 LOCAL_GENERATED_SOURCES += $(GEN) 113 114 # 115 # Build types.hal (PortStatus) 116 # 117 GEN := $(intermediates)/android/hardware/usb/V1_0/PortStatus.java 118 $(GEN): $(HIDL) 119 $(GEN): PRIVATE_HIDL := $(HIDL) 120 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 121 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 122 $(GEN): PRIVATE_CUSTOM_TOOL = \ 123 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 124 -Ljava \ 125 -randroid.hardware:hardware/interfaces \ 126 -randroid.hidl:system/libhidl/transport \ 127 android.hardware.usb (a] 1.0::types.PortStatus 128 129 $(GEN): $(LOCAL_PATH)/types.hal 130 $(transform-generated-source) 131 LOCAL_GENERATED_SOURCES += $(GEN) 132 133 # 134 # Build types.hal (Status) 135 # 136 GEN := $(intermediates)/android/hardware/usb/V1_0/Status.java 137 $(GEN): $(HIDL) 138 $(GEN): PRIVATE_HIDL := $(HIDL) 139 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 140 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 141 $(GEN): PRIVATE_CUSTOM_TOOL = \ 142 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 143 -Ljava \ 144 -randroid.hardware:hardware/interfaces \ 145 -randroid.hidl:system/libhidl/transport \ 146 android.hardware.usb (a] 1.0::types.Status 147 148 $(GEN): $(LOCAL_PATH)/types.hal 149 $(transform-generated-source) 150 LOCAL_GENERATED_SOURCES += $(GEN) 151 152 # 153 # Build IUsb.hal 154 # 155 GEN := $(intermediates)/android/hardware/usb/V1_0/IUsb.java 156 $(GEN): $(HIDL) 157 $(GEN): PRIVATE_HIDL := $(HIDL) 158 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal 159 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IUsbCallback.hal 160 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 161 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 162 $(GEN): $(LOCAL_PATH)/types.hal 163 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 164 $(GEN): PRIVATE_CUSTOM_TOOL = \ 165 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 166 -Ljava \ 167 -randroid.hardware:hardware/interfaces \ 168 -randroid.hidl:system/libhidl/transport \ 169 android.hardware.usb (a] 1.0::IUsb 170 171 $(GEN): $(LOCAL_PATH)/IUsb.hal 172 $(transform-generated-source) 173 LOCAL_GENERATED_SOURCES += $(GEN) 174 175 # 176 # Build IUsbCallback.hal 177 # 178 GEN := $(intermediates)/android/hardware/usb/V1_0/IUsbCallback.java 179 $(GEN): $(HIDL) 180 $(GEN): PRIVATE_HIDL := $(HIDL) 181 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal 182 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 183 $(GEN): $(LOCAL_PATH)/types.hal 184 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 185 $(GEN): PRIVATE_CUSTOM_TOOL = \ 186 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 187 -Ljava \ 188 -randroid.hardware:hardware/interfaces \ 189 -randroid.hidl:system/libhidl/transport \ 190 android.hardware.usb (a] 1.0::IUsbCallback 191 192 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 193 $(transform-generated-source) 194 LOCAL_GENERATED_SOURCES += $(GEN) 195 include $(BUILD_JAVA_LIBRARY) 196 197 198 ################################################################################ 199 200 include $(CLEAR_VARS) 201 LOCAL_MODULE := android.hardware.usb-V1.0-java-static 202 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 203 204 intermediates := $(call local-generated-sources-dir, COMMON) 205 206 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 207 208 LOCAL_STATIC_JAVA_LIBRARIES := \ 209 android.hidl.base-V1.0-java-static \ 210 211 212 # 213 # Build types.hal (PortDataRole) 214 # 215 GEN := $(intermediates)/android/hardware/usb/V1_0/PortDataRole.java 216 $(GEN): $(HIDL) 217 $(GEN): PRIVATE_HIDL := $(HIDL) 218 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 219 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 220 $(GEN): PRIVATE_CUSTOM_TOOL = \ 221 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 222 -Ljava \ 223 -randroid.hardware:hardware/interfaces \ 224 -randroid.hidl:system/libhidl/transport \ 225 android.hardware.usb (a] 1.0::types.PortDataRole 226 227 $(GEN): $(LOCAL_PATH)/types.hal 228 $(transform-generated-source) 229 LOCAL_GENERATED_SOURCES += $(GEN) 230 231 # 232 # Build types.hal (PortMode) 233 # 234 GEN := $(intermediates)/android/hardware/usb/V1_0/PortMode.java 235 $(GEN): $(HIDL) 236 $(GEN): PRIVATE_HIDL := $(HIDL) 237 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 238 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 239 $(GEN): PRIVATE_CUSTOM_TOOL = \ 240 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 241 -Ljava \ 242 -randroid.hardware:hardware/interfaces \ 243 -randroid.hidl:system/libhidl/transport \ 244 android.hardware.usb (a] 1.0::types.PortMode 245 246 $(GEN): $(LOCAL_PATH)/types.hal 247 $(transform-generated-source) 248 LOCAL_GENERATED_SOURCES += $(GEN) 249 250 # 251 # Build types.hal (PortPowerRole) 252 # 253 GEN := $(intermediates)/android/hardware/usb/V1_0/PortPowerRole.java 254 $(GEN): $(HIDL) 255 $(GEN): PRIVATE_HIDL := $(HIDL) 256 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 257 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 258 $(GEN): PRIVATE_CUSTOM_TOOL = \ 259 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 260 -Ljava \ 261 -randroid.hardware:hardware/interfaces \ 262 -randroid.hidl:system/libhidl/transport \ 263 android.hardware.usb (a] 1.0::types.PortPowerRole 264 265 $(GEN): $(LOCAL_PATH)/types.hal 266 $(transform-generated-source) 267 LOCAL_GENERATED_SOURCES += $(GEN) 268 269 # 270 # Build types.hal (PortRole) 271 # 272 GEN := $(intermediates)/android/hardware/usb/V1_0/PortRole.java 273 $(GEN): $(HIDL) 274 $(GEN): PRIVATE_HIDL := $(HIDL) 275 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 276 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 277 $(GEN): PRIVATE_CUSTOM_TOOL = \ 278 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 279 -Ljava \ 280 -randroid.hardware:hardware/interfaces \ 281 -randroid.hidl:system/libhidl/transport \ 282 android.hardware.usb (a] 1.0::types.PortRole 283 284 $(GEN): $(LOCAL_PATH)/types.hal 285 $(transform-generated-source) 286 LOCAL_GENERATED_SOURCES += $(GEN) 287 288 # 289 # Build types.hal (PortRoleType) 290 # 291 GEN := $(intermediates)/android/hardware/usb/V1_0/PortRoleType.java 292 $(GEN): $(HIDL) 293 $(GEN): PRIVATE_HIDL := $(HIDL) 294 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 295 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 296 $(GEN): PRIVATE_CUSTOM_TOOL = \ 297 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 298 -Ljava \ 299 -randroid.hardware:hardware/interfaces \ 300 -randroid.hidl:system/libhidl/transport \ 301 android.hardware.usb (a] 1.0::types.PortRoleType 302 303 $(GEN): $(LOCAL_PATH)/types.hal 304 $(transform-generated-source) 305 LOCAL_GENERATED_SOURCES += $(GEN) 306 307 # 308 # Build types.hal (PortStatus) 309 # 310 GEN := $(intermediates)/android/hardware/usb/V1_0/PortStatus.java 311 $(GEN): $(HIDL) 312 $(GEN): PRIVATE_HIDL := $(HIDL) 313 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 314 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 315 $(GEN): PRIVATE_CUSTOM_TOOL = \ 316 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 317 -Ljava \ 318 -randroid.hardware:hardware/interfaces \ 319 -randroid.hidl:system/libhidl/transport \ 320 android.hardware.usb (a] 1.0::types.PortStatus 321 322 $(GEN): $(LOCAL_PATH)/types.hal 323 $(transform-generated-source) 324 LOCAL_GENERATED_SOURCES += $(GEN) 325 326 # 327 # Build types.hal (Status) 328 # 329 GEN := $(intermediates)/android/hardware/usb/V1_0/Status.java 330 $(GEN): $(HIDL) 331 $(GEN): PRIVATE_HIDL := $(HIDL) 332 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 333 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 334 $(GEN): PRIVATE_CUSTOM_TOOL = \ 335 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 336 -Ljava \ 337 -randroid.hardware:hardware/interfaces \ 338 -randroid.hidl:system/libhidl/transport \ 339 android.hardware.usb (a] 1.0::types.Status 340 341 $(GEN): $(LOCAL_PATH)/types.hal 342 $(transform-generated-source) 343 LOCAL_GENERATED_SOURCES += $(GEN) 344 345 # 346 # Build IUsb.hal 347 # 348 GEN := $(intermediates)/android/hardware/usb/V1_0/IUsb.java 349 $(GEN): $(HIDL) 350 $(GEN): PRIVATE_HIDL := $(HIDL) 351 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal 352 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IUsbCallback.hal 353 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 354 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 355 $(GEN): $(LOCAL_PATH)/types.hal 356 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 357 $(GEN): PRIVATE_CUSTOM_TOOL = \ 358 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 359 -Ljava \ 360 -randroid.hardware:hardware/interfaces \ 361 -randroid.hidl:system/libhidl/transport \ 362 android.hardware.usb (a] 1.0::IUsb 363 364 $(GEN): $(LOCAL_PATH)/IUsb.hal 365 $(transform-generated-source) 366 LOCAL_GENERATED_SOURCES += $(GEN) 367 368 # 369 # Build IUsbCallback.hal 370 # 371 GEN := $(intermediates)/android/hardware/usb/V1_0/IUsbCallback.java 372 $(GEN): $(HIDL) 373 $(GEN): PRIVATE_HIDL := $(HIDL) 374 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal 375 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 376 $(GEN): $(LOCAL_PATH)/types.hal 377 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 378 $(GEN): PRIVATE_CUSTOM_TOOL = \ 379 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 380 -Ljava \ 381 -randroid.hardware:hardware/interfaces \ 382 -randroid.hidl:system/libhidl/transport \ 383 android.hardware.usb (a] 1.0::IUsbCallback 384 385 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 386 $(transform-generated-source) 387 LOCAL_GENERATED_SOURCES += $(GEN) 388 include $(BUILD_STATIC_JAVA_LIBRARY) 389 390 391 ################################################################################ 392 393 include $(CLEAR_VARS) 394 LOCAL_MODULE := android.hardware.usb-V1.0-java-constants 395 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 396 397 intermediates := $(call local-generated-sources-dir, COMMON) 398 399 HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX) 400 # 401 GEN := $(intermediates)/android/hardware/usb/V1_0/Constants.java 402 $(GEN): $(HIDL) 403 $(GEN): $(LOCAL_PATH)/types.hal 404 $(GEN): $(LOCAL_PATH)/IUsb.hal 405 $(GEN): $(LOCAL_PATH)/IUsbCallback.hal 406 407 $(GEN): PRIVATE_HIDL := $(HIDL) 408 $(GEN): PRIVATE_OUTPUT_DIR := $(intermediates) 409 $(GEN): PRIVATE_CUSTOM_TOOL = \ 410 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \ 411 -Ljava-constants \ 412 -randroid.hardware:hardware/interfaces \ 413 -randroid.hidl:system/libhidl/transport \ 414 android.hardware.usb (a] 1.0 415 416 $(GEN): 417 $(transform-generated-source) 418 LOCAL_GENERATED_SOURCES += $(GEN) 419 # Avoid dependency cycle of framework.jar -> this-library -> framework.jar 420 LOCAL_NO_STANDARD_LIBRARIES := true 421 LOCAL_JAVA_LIBRARIES := core-oj 422 423 include $(BUILD_STATIC_JAVA_LIBRARY) 424 425 426 427 include $(call all-makefiles-under,$(LOCAL_PATH)) 428