Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
Tri Vo | ac9f1c0 | 2017-02-06 09:59:51 -0800 | [diff] [blame] | 3 | filegroup { |
| 4 | name: "android.hardware.bluetooth@1.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "IBluetoothHci.hal", |
| 8 | "IBluetoothHciCallbacks.hal", |
| 9 | ], |
| 10 | } |
| 11 | |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 12 | genrule { |
| 13 | name: "android.hardware.bluetooth@1.0_genc++", |
Colin Cross | 8f084e0 | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 14 | tools: ["hidl-gen"], |
Steven Moreland | cb360c6 | 2017-05-09 14:34:19 -0700 | [diff] [blame] | 15 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 16 | srcs: [ |
Tri Vo | 06da29f | 2017-02-08 10:53:06 -0800 | [diff] [blame] | 17 | ":android.hardware.bluetooth@1.0_hal", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 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", |
Colin Cross | 8f084e0 | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 28 | tools: ["hidl-gen"], |
Steven Moreland | cb360c6 | 2017-05-09 14:34:19 -0700 | [diff] [blame] | 29 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 30 | srcs: [ |
Tri Vo | 06da29f | 2017-02-08 10:53:06 -0800 | [diff] [blame] | 31 | ":android.hardware.bluetooth@1.0_hal", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 32 | ], |
| 33 | out: [ |
| 34 | "android/hardware/bluetooth/1.0/types.h", |
Steven Moreland | e90c31f | 2017-03-24 21:50:45 -0700 | [diff] [blame] | 35 | "android/hardware/bluetooth/1.0/hwtypes.h", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 36 | "android/hardware/bluetooth/1.0/IBluetoothHci.h", |
| 37 | "android/hardware/bluetooth/1.0/IHwBluetoothHci.h", |
Yifan Hong | 10ac9b4 | 2017-01-09 17:46:36 -0800 | [diff] [blame] | 38 | "android/hardware/bluetooth/1.0/BnHwBluetoothHci.h", |
| 39 | "android/hardware/bluetooth/1.0/BpHwBluetoothHci.h", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 40 | "android/hardware/bluetooth/1.0/BsBluetoothHci.h", |
| 41 | "android/hardware/bluetooth/1.0/IBluetoothHciCallbacks.h", |
| 42 | "android/hardware/bluetooth/1.0/IHwBluetoothHciCallbacks.h", |
Yifan Hong | 10ac9b4 | 2017-01-09 17:46:36 -0800 | [diff] [blame] | 43 | "android/hardware/bluetooth/1.0/BnHwBluetoothHciCallbacks.h", |
| 44 | "android/hardware/bluetooth/1.0/BpHwBluetoothHciCallbacks.h", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 45 | "android/hardware/bluetooth/1.0/BsBluetoothHciCallbacks.h", |
| 46 | ], |
| 47 | } |
| 48 | |
Steven Moreland | 7206708 | 2017-07-26 10:14:57 -0700 | [diff] [blame] | 49 | cc_library { |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 50 | name: "android.hardware.bluetooth@1.0", |
Steven Moreland | 06c85d9 | 2017-05-18 16:14:16 -0700 | [diff] [blame] | 51 | defaults: ["hidl-module-defaults"], |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 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"], |
Steven Moreland | 0dd5ba2 | 2017-04-11 09:57:11 -0700 | [diff] [blame] | 55 | vendor_available: true, |
Steven Moreland | 5e59402 | 2017-07-25 18:24:40 -0700 | [diff] [blame] | 56 | vndk: { |
| 57 | enabled: true, |
| 58 | }, |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 59 | shared_libs: [ |
Yifan Hong | 63544ea | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 60 | "libhidlbase", |
| 61 | "libhidltransport", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 62 | "libhwbinder", |
Steven Moreland | 3e3a099 | 2016-11-21 16:19:57 -0800 | [diff] [blame] | 63 | "liblog", |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 64 | "libutils", |
| 65 | "libcutils", |
| 66 | ], |
Steven Moreland | 7982058 | 2016-11-01 13:04:54 -0700 | [diff] [blame] | 67 | export_shared_lib_headers: [ |
Yifan Hong | 63544ea | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 68 | "libhidlbase", |
| 69 | "libhidltransport", |
Steven Moreland | 7982058 | 2016-11-01 13:04:54 -0700 | [diff] [blame] | 70 | "libhwbinder", |
| 71 | "libutils", |
Steven Moreland | ce97794 | 2016-10-21 13:40:54 -0700 | [diff] [blame] | 72 | ], |
Myles Watson | acfbd25 | 2016-09-12 10:58:42 -0700 | [diff] [blame] | 73 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 74 | |
| 75 | genrule { |
| 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 | |
| 88 | genrule { |
| 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 | |
| 102 | cc_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 | |
| 131 | genrule { |
| 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 | |
| 137 | cc_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 | } |