blob: 222f3e67e12309bb517bbe661d28d5c1db618bfa [file] [log] [blame]
Myles Watsonacfbd252016-09-12 10:58:42 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voac9f1c02017-02-06 09:59:51 -08003filegroup {
4 name: "android.hardware.bluetooth@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IBluetoothHci.hal",
8 "IBluetoothHciCallbacks.hal",
9 ],
10}
11
Myles Watsonacfbd252016-09-12 10:58:42 -070012genrule {
13 name: "android.hardware.bluetooth@1.0_genc++",
Colin Cross8f084e02016-11-04 15:02:42 -070014 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070015 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
Myles Watsonacfbd252016-09-12 10:58:42 -070016 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080017 ":android.hardware.bluetooth@1.0_hal",
Myles Watsonacfbd252016-09-12 10:58:42 -070018 ],
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
26genrule {
27 name: "android.hardware.bluetooth@1.0_genc++_headers",
Colin Cross8f084e02016-11-04 15:02:42 -070028 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070029 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
Myles Watsonacfbd252016-09-12 10:58:42 -070030 srcs: [
Tri Vo06da29f2017-02-08 10:53:06 -080031 ":android.hardware.bluetooth@1.0_hal",
Myles Watsonacfbd252016-09-12 10:58:42 -070032 ],
33 out: [
34 "android/hardware/bluetooth/1.0/types.h",
Steven Morelande90c31f2017-03-24 21:50:45 -070035 "android/hardware/bluetooth/1.0/hwtypes.h",
Myles Watsonacfbd252016-09-12 10:58:42 -070036 "android/hardware/bluetooth/1.0/IBluetoothHci.h",
37 "android/hardware/bluetooth/1.0/IHwBluetoothHci.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080038 "android/hardware/bluetooth/1.0/BnHwBluetoothHci.h",
39 "android/hardware/bluetooth/1.0/BpHwBluetoothHci.h",
Myles Watsonacfbd252016-09-12 10:58:42 -070040 "android/hardware/bluetooth/1.0/BsBluetoothHci.h",
41 "android/hardware/bluetooth/1.0/IBluetoothHciCallbacks.h",
42 "android/hardware/bluetooth/1.0/IHwBluetoothHciCallbacks.h",
Yifan Hong10ac9b42017-01-09 17:46:36 -080043 "android/hardware/bluetooth/1.0/BnHwBluetoothHciCallbacks.h",
44 "android/hardware/bluetooth/1.0/BpHwBluetoothHciCallbacks.h",
Myles Watsonacfbd252016-09-12 10:58:42 -070045 "android/hardware/bluetooth/1.0/BsBluetoothHciCallbacks.h",
46 ],
47}
48
Steven Moreland72067082017-07-26 10:14:57 -070049cc_library {
Myles Watsonacfbd252016-09-12 10:58:42 -070050 name: "android.hardware.bluetooth@1.0",
Steven Moreland06c85d92017-05-18 16:14:16 -070051 defaults: ["hidl-module-defaults"],
Myles Watsonacfbd252016-09-12 10:58:42 -070052 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"],
Steven Moreland0dd5ba22017-04-11 09:57:11 -070055 vendor_available: true,
Steven Moreland5e594022017-07-25 18:24:40 -070056 vndk: {
57 enabled: true,
58 },
Myles Watsonacfbd252016-09-12 10:58:42 -070059 shared_libs: [
Yifan Hong63544ea2016-11-16 14:17:58 -080060 "libhidlbase",
61 "libhidltransport",
Myles Watsonacfbd252016-09-12 10:58:42 -070062 "libhwbinder",
Steven Moreland3e3a0992016-11-21 16:19:57 -080063 "liblog",
Myles Watsonacfbd252016-09-12 10:58:42 -070064 "libutils",
65 "libcutils",
66 ],
Steven Moreland79820582016-11-01 13:04:54 -070067 export_shared_lib_headers: [
Yifan Hong63544ea2016-11-16 14:17:58 -080068 "libhidlbase",
69 "libhidltransport",
Steven Moreland79820582016-11-01 13:04:54 -070070 "libhwbinder",
71 "libutils",
Steven Morelandce977942016-10-21 13:40:54 -070072 ],
Myles Watsonacfbd252016-09-12 10:58:42 -070073}
Steven Moreland26a0bb22017-09-22 14:10:47 -070074
75genrule {
76 name: "android.hardware.bluetooth@1.0-adapter-helper_genc++",
77 tools: ["hidl-gen"],
78 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
79 srcs: [
80 ":android.hardware.bluetooth@1.0_hal",
81 ],
82 out: [
83 "android/hardware/bluetooth/1.0/ABluetoothHci.cpp",
84 "android/hardware/bluetooth/1.0/ABluetoothHciCallbacks.cpp",
85 ],
86}
87
88genrule {
89 name: "android.hardware.bluetooth@1.0-adapter-helper_genc++_headers",
90 tools: ["hidl-gen"],
91 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
92 srcs: [
93 ":android.hardware.bluetooth@1.0_hal",
94 ],
95 out: [
96 "android/hardware/bluetooth/1.0/ABluetoothHci.h",
97 "android/hardware/bluetooth/1.0/ABluetoothHciCallbacks.h",
98 ],
99}
100
101
102cc_library {
103 name: "android.hardware.bluetooth@1.0-adapter-helper",
104 defaults: ["hidl-module-defaults"],
105 generated_sources: ["android.hardware.bluetooth@1.0-adapter-helper_genc++"],
106 generated_headers: ["android.hardware.bluetooth@1.0-adapter-helper_genc++_headers"],
107 export_generated_headers: ["android.hardware.bluetooth@1.0-adapter-helper_genc++_headers"],
108 vendor_available: true,
109 shared_libs: [
110 "libhidlbase",
111 "libhidltransport",
112 "libhwbinder",
113 "liblog",
114 "libutils",
115 "libcutils",
116 "libhidladapter",
117 "android.hardware.bluetooth@1.0",
118 "android.hidl.base@1.0-adapter-helper",
119 ],
120 export_shared_lib_headers: [
121 "libhidlbase",
122 "libhidltransport",
123 "libhwbinder",
124 "libutils",
125 "libhidladapter",
126 "android.hardware.bluetooth@1.0",
127 "android.hidl.base@1.0-adapter-helper",
128 ],
129}
130
131genrule {
132 name: "android.hardware.bluetooth@1.0-adapter_genc++",
133 tools: ["hidl-gen"],
134 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
135 out: ["main.cpp"]}
136
137cc_test {
138 name: "android.hardware.bluetooth@1.0-adapter",
139 shared_libs: [
140 "libhidladapter",
141 "libhidlbase",
142 "libhidltransport",
143 "libutils",
144 "android.hardware.bluetooth@1.0",
145 "android.hardware.bluetooth@1.0-adapter-helper",
146 ],
147 generated_sources: ["android.hardware.bluetooth@1.0-adapter_genc++"],
148}