OSDN Git Service

Snap for 4404534 from a555e04f8c37db86c5016218d5b7ab37cccc29c6 to oc-mr1-release
[android-x86/hardware-interfaces.git] / bluetooth / 1.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2
3 filegroup {
4     name: "android.hardware.bluetooth@1.0_hal",
5     srcs: [
6         "types.hal",
7         "IBluetoothHci.hal",
8         "IBluetoothHciCallbacks.hal",
9     ],
10 }
11
12 genrule {
13     name: "android.hardware.bluetooth@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.bluetooth@1.0",
16     srcs: [
17         ":android.hardware.bluetooth@1.0_hal",
18     ],
19     out: [
20         "android/hardware/bluetooth/1.0/types.cpp",
21         "android/hardware/bluetooth/1.0/BluetoothHciAll.cpp",
22         "android/hardware/bluetooth/1.0/BluetoothHciCallbacksAll.cpp",
23     ],
24 }
25
26 genrule {
27     name: "android.hardware.bluetooth@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.bluetooth@1.0",
30     srcs: [
31         ":android.hardware.bluetooth@1.0_hal",
32     ],
33     out: [
34         "android/hardware/bluetooth/1.0/types.h",
35         "android/hardware/bluetooth/1.0/hwtypes.h",
36         "android/hardware/bluetooth/1.0/IBluetoothHci.h",
37         "android/hardware/bluetooth/1.0/IHwBluetoothHci.h",
38         "android/hardware/bluetooth/1.0/BnHwBluetoothHci.h",
39         "android/hardware/bluetooth/1.0/BpHwBluetoothHci.h",
40         "android/hardware/bluetooth/1.0/BsBluetoothHci.h",
41         "android/hardware/bluetooth/1.0/IBluetoothHciCallbacks.h",
42         "android/hardware/bluetooth/1.0/IHwBluetoothHciCallbacks.h",
43         "android/hardware/bluetooth/1.0/BnHwBluetoothHciCallbacks.h",
44         "android/hardware/bluetooth/1.0/BpHwBluetoothHciCallbacks.h",
45         "android/hardware/bluetooth/1.0/BsBluetoothHciCallbacks.h",
46     ],
47 }
48
49 cc_library {
50     name: "android.hardware.bluetooth@1.0",
51     defaults: ["hidl-module-defaults"],
52     generated_sources: ["android.hardware.bluetooth@1.0_genc++"],
53     generated_headers: ["android.hardware.bluetooth@1.0_genc++_headers"],
54     export_generated_headers: ["android.hardware.bluetooth@1.0_genc++_headers"],
55     vendor_available: true,
56     vndk: {
57         enabled: true,
58     },
59     shared_libs: [
60         "libhidlbase",
61         "libhidltransport",
62         "libhwbinder",
63         "liblog",
64         "libutils",
65         "libcutils",
66     ],
67     export_shared_lib_headers: [
68         "libhidlbase",
69         "libhidltransport",
70         "libhwbinder",
71         "libutils",
72     ],
73 }