1 // This file is autogenerated by hidl-gen. Do not edit manually. 2 3 filegroup { 4 name: "android.hardware.usb (a] 1.0_hal", 5 srcs: [ 6 "types.hal", 7 "IUsb.hal", 8 "IUsbCallback.hal", 9 ], 10 } 11 12 genrule { 13 name: "android.hardware.usb (a] 1.0_genc++", 14 tools: ["hidl-gen"], 15 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.usb (a] 1.0", 16 srcs: [ 17 ":android.hardware.usb (a] 1.0_hal", 18 ], 19 out: [ 20 "android/hardware/usb/1.0/types.cpp", 21 "android/hardware/usb/1.0/UsbAll.cpp", 22 "android/hardware/usb/1.0/UsbCallbackAll.cpp", 23 ], 24 } 25 26 genrule { 27 name: "android.hardware.usb (a] 1.0_genc++_headers", 28 tools: ["hidl-gen"], 29 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.usb (a] 1.0", 30 srcs: [ 31 ":android.hardware.usb (a] 1.0_hal", 32 ], 33 out: [ 34 "android/hardware/usb/1.0/types.h", 35 "android/hardware/usb/1.0/hwtypes.h", 36 "android/hardware/usb/1.0/IUsb.h", 37 "android/hardware/usb/1.0/IHwUsb.h", 38 "android/hardware/usb/1.0/BnHwUsb.h", 39 "android/hardware/usb/1.0/BpHwUsb.h", 40 "android/hardware/usb/1.0/BsUsb.h", 41 "android/hardware/usb/1.0/IUsbCallback.h", 42 "android/hardware/usb/1.0/IHwUsbCallback.h", 43 "android/hardware/usb/1.0/BnHwUsbCallback.h", 44 "android/hardware/usb/1.0/BpHwUsbCallback.h", 45 "android/hardware/usb/1.0/BsUsbCallback.h", 46 ], 47 } 48 49 cc_library_shared { 50 name: "android.hardware.usb (a] 1.0", 51 defaults: ["hidl-module-defaults"], 52 generated_sources: ["android.hardware.usb (a] 1.0_genc++"], 53 generated_headers: ["android.hardware.usb (a] 1.0_genc++_headers"], 54 export_generated_headers: ["android.hardware.usb (a] 1.0_genc++_headers"], 55 vendor_available: true, 56 shared_libs: [ 57 "libhidlbase", 58 "libhidltransport", 59 "libhwbinder", 60 "liblog", 61 "libutils", 62 "libcutils", 63 "android.hidl.base (a] 1.0", 64 ], 65 export_shared_lib_headers: [ 66 "libhidlbase", 67 "libhidltransport", 68 "libhwbinder", 69 "libutils", 70 "android.hidl.base (a] 1.0", 71 ], 72 } 73