OSDN Git Service

Fix expected attestation version. am: 538b7d85ef
[android-x86/hardware-interfaces.git] / usb / 1.1 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2
3 filegroup {
4     name: "android.hardware.usb@1.1_hal",
5     srcs: [
6         "types.hal",
7         "IUsb.hal",
8         "IUsbCallback.hal",
9     ],
10 }
11
12 genrule {
13     name: "android.hardware.usb@1.1_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@1.1",
16     srcs: [
17         ":android.hardware.usb@1.1_hal",
18     ],
19     out: [
20         "android/hardware/usb/1.1/types.cpp",
21         "android/hardware/usb/1.1/UsbAll.cpp",
22         "android/hardware/usb/1.1/UsbCallbackAll.cpp",
23     ],
24 }
25
26 genrule {
27     name: "android.hardware.usb@1.1_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@1.1",
30     srcs: [
31         ":android.hardware.usb@1.1_hal",
32     ],
33     out: [
34         "android/hardware/usb/1.1/types.h",
35         "android/hardware/usb/1.1/hwtypes.h",
36         "android/hardware/usb/1.1/IUsb.h",
37         "android/hardware/usb/1.1/IHwUsb.h",
38         "android/hardware/usb/1.1/BnHwUsb.h",
39         "android/hardware/usb/1.1/BpHwUsb.h",
40         "android/hardware/usb/1.1/BsUsb.h",
41         "android/hardware/usb/1.1/IUsbCallback.h",
42         "android/hardware/usb/1.1/IHwUsbCallback.h",
43         "android/hardware/usb/1.1/BnHwUsbCallback.h",
44         "android/hardware/usb/1.1/BpHwUsbCallback.h",
45         "android/hardware/usb/1.1/BsUsbCallback.h",
46     ],
47 }
48
49 cc_library_shared {
50     name: "android.hardware.usb@1.1",
51     defaults: ["hidl-module-defaults"],
52     generated_sources: ["android.hardware.usb@1.1_genc++"],
53     generated_headers: ["android.hardware.usb@1.1_genc++_headers"],
54     export_generated_headers: ["android.hardware.usb@1.1_genc++_headers"],
55     vendor_available: true,
56     shared_libs: [
57         "libhidlbase",
58         "libhidltransport",
59         "libhwbinder",
60         "liblog",
61         "libutils",
62         "libcutils",
63         "android.hardware.usb@1.0",
64     ],
65     export_shared_lib_headers: [
66         "libhidlbase",
67         "libhidltransport",
68         "libhwbinder",
69         "libutils",
70         "android.hardware.usb@1.0",
71     ],
72 }