Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
| 3 | genrule { |
| 4 | name: "android.hardware.audio@2.0_genc++", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 5 | tools: ["hidl-gen"], |
Yifan Hong | 5018394 | 2016-11-28 16:09:37 -0800 | [diff] [blame] | 6 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 7 | srcs: [ |
| 8 | "types.hal", |
| 9 | "IDevice.hal", |
| 10 | "IDevicesFactory.hal", |
| 11 | "IPrimaryDevice.hal", |
| 12 | "IStream.hal", |
| 13 | "IStreamIn.hal", |
| 14 | "IStreamOut.hal", |
| 15 | "IStreamOutCallback.hal", |
| 16 | ], |
| 17 | out: [ |
| 18 | "android/hardware/audio/2.0/types.cpp", |
| 19 | "android/hardware/audio/2.0/DeviceAll.cpp", |
| 20 | "android/hardware/audio/2.0/DevicesFactoryAll.cpp", |
| 21 | "android/hardware/audio/2.0/PrimaryDeviceAll.cpp", |
| 22 | "android/hardware/audio/2.0/StreamAll.cpp", |
| 23 | "android/hardware/audio/2.0/StreamInAll.cpp", |
| 24 | "android/hardware/audio/2.0/StreamOutAll.cpp", |
| 25 | "android/hardware/audio/2.0/StreamOutCallbackAll.cpp", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | genrule { |
| 30 | name: "android.hardware.audio@2.0_genc++_headers", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 31 | tools: ["hidl-gen"], |
Yifan Hong | 5018394 | 2016-11-28 16:09:37 -0800 | [diff] [blame] | 32 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 33 | srcs: [ |
| 34 | "types.hal", |
| 35 | "IDevice.hal", |
| 36 | "IDevicesFactory.hal", |
| 37 | "IPrimaryDevice.hal", |
| 38 | "IStream.hal", |
| 39 | "IStreamIn.hal", |
| 40 | "IStreamOut.hal", |
| 41 | "IStreamOutCallback.hal", |
| 42 | ], |
| 43 | out: [ |
| 44 | "android/hardware/audio/2.0/types.h", |
| 45 | "android/hardware/audio/2.0/IDevice.h", |
| 46 | "android/hardware/audio/2.0/IHwDevice.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 47 | "android/hardware/audio/2.0/BnHwDevice.h", |
| 48 | "android/hardware/audio/2.0/BpHwDevice.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 49 | "android/hardware/audio/2.0/BsDevice.h", |
| 50 | "android/hardware/audio/2.0/IDevicesFactory.h", |
| 51 | "android/hardware/audio/2.0/IHwDevicesFactory.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 52 | "android/hardware/audio/2.0/BnHwDevicesFactory.h", |
| 53 | "android/hardware/audio/2.0/BpHwDevicesFactory.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 54 | "android/hardware/audio/2.0/BsDevicesFactory.h", |
| 55 | "android/hardware/audio/2.0/IPrimaryDevice.h", |
| 56 | "android/hardware/audio/2.0/IHwPrimaryDevice.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 57 | "android/hardware/audio/2.0/BnHwPrimaryDevice.h", |
| 58 | "android/hardware/audio/2.0/BpHwPrimaryDevice.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 59 | "android/hardware/audio/2.0/BsPrimaryDevice.h", |
| 60 | "android/hardware/audio/2.0/IStream.h", |
| 61 | "android/hardware/audio/2.0/IHwStream.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 62 | "android/hardware/audio/2.0/BnHwStream.h", |
| 63 | "android/hardware/audio/2.0/BpHwStream.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 64 | "android/hardware/audio/2.0/BsStream.h", |
| 65 | "android/hardware/audio/2.0/IStreamIn.h", |
| 66 | "android/hardware/audio/2.0/IHwStreamIn.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 67 | "android/hardware/audio/2.0/BnHwStreamIn.h", |
| 68 | "android/hardware/audio/2.0/BpHwStreamIn.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 69 | "android/hardware/audio/2.0/BsStreamIn.h", |
| 70 | "android/hardware/audio/2.0/IStreamOut.h", |
| 71 | "android/hardware/audio/2.0/IHwStreamOut.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 72 | "android/hardware/audio/2.0/BnHwStreamOut.h", |
| 73 | "android/hardware/audio/2.0/BpHwStreamOut.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 74 | "android/hardware/audio/2.0/BsStreamOut.h", |
| 75 | "android/hardware/audio/2.0/IStreamOutCallback.h", |
| 76 | "android/hardware/audio/2.0/IHwStreamOutCallback.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 77 | "android/hardware/audio/2.0/BnHwStreamOutCallback.h", |
| 78 | "android/hardware/audio/2.0/BpHwStreamOutCallback.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 79 | "android/hardware/audio/2.0/BsStreamOutCallback.h", |
| 80 | ], |
| 81 | } |
| 82 | |
| 83 | cc_library_shared { |
| 84 | name: "android.hardware.audio@2.0", |
| 85 | generated_sources: ["android.hardware.audio@2.0_genc++"], |
| 86 | generated_headers: ["android.hardware.audio@2.0_genc++_headers"], |
| 87 | export_generated_headers: ["android.hardware.audio@2.0_genc++_headers"], |
| 88 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 89 | "libhidlbase", |
| 90 | "libhidltransport", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 91 | "libhwbinder", |
Steven Moreland | f8d68ec | 2016-11-21 16:28:54 -0800 | [diff] [blame] | 92 | "liblog", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 93 | "libutils", |
| 94 | "libcutils", |
| 95 | "android.hardware.audio.common@2.0", |
Yifan Hong | 5018394 | 2016-11-28 16:09:37 -0800 | [diff] [blame] | 96 | "android.hidl.base@1.0", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 97 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 98 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 99 | "libhidlbase", |
| 100 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 101 | "libhwbinder", |
| 102 | "libutils", |
Yifan Hong | c2f2779 | 2016-11-07 15:38:41 -0800 | [diff] [blame] | 103 | "android.hardware.audio.common@2.0", |
Yifan Hong | 5018394 | 2016-11-28 16:09:37 -0800 | [diff] [blame] | 104 | "android.hidl.base@1.0", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 105 | ], |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 106 | } |
Zhuoyao Zhang | e9b43bb | 2017-02-02 16:55:00 -0800 | [diff] [blame^] | 107 | |
| 108 | genrule { |
| 109 | name: "android.hardware.audio.vts.driver@2.0_genc++", |
| 110 | tools: ["hidl-gen", "vtsc"], |
| 111 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| 112 | srcs: [ |
| 113 | "types.hal", |
| 114 | "IDevice.hal", |
| 115 | "IDevicesFactory.hal", |
| 116 | "IPrimaryDevice.hal", |
| 117 | "IStream.hal", |
| 118 | "IStreamIn.hal", |
| 119 | "IStreamOut.hal", |
| 120 | "IStreamOutCallback.hal", |
| 121 | ], |
| 122 | out: [ |
| 123 | "android/hardware/audio/2.0/types.vts.cpp", |
| 124 | "android/hardware/audio/2.0/Device.vts.cpp", |
| 125 | "android/hardware/audio/2.0/DevicesFactory.vts.cpp", |
| 126 | "android/hardware/audio/2.0/PrimaryDevice.vts.cpp", |
| 127 | "android/hardware/audio/2.0/Stream.vts.cpp", |
| 128 | "android/hardware/audio/2.0/StreamIn.vts.cpp", |
| 129 | "android/hardware/audio/2.0/StreamOut.vts.cpp", |
| 130 | "android/hardware/audio/2.0/StreamOutCallback.vts.cpp", |
| 131 | ], |
| 132 | } |
| 133 | |
| 134 | genrule { |
| 135 | name: "android.hardware.audio.vts.driver@2.0_genc++_headers", |
| 136 | tools: ["hidl-gen", "vtsc"], |
| 137 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| 138 | srcs: [ |
| 139 | "types.hal", |
| 140 | "IDevice.hal", |
| 141 | "IDevicesFactory.hal", |
| 142 | "IPrimaryDevice.hal", |
| 143 | "IStream.hal", |
| 144 | "IStreamIn.hal", |
| 145 | "IStreamOut.hal", |
| 146 | "IStreamOutCallback.hal", |
| 147 | ], |
| 148 | out: [ |
| 149 | "android/hardware/audio/2.0/types.vts.h", |
| 150 | "android/hardware/audio/2.0/Device.vts.h", |
| 151 | "android/hardware/audio/2.0/DevicesFactory.vts.h", |
| 152 | "android/hardware/audio/2.0/PrimaryDevice.vts.h", |
| 153 | "android/hardware/audio/2.0/Stream.vts.h", |
| 154 | "android/hardware/audio/2.0/StreamIn.vts.h", |
| 155 | "android/hardware/audio/2.0/StreamOut.vts.h", |
| 156 | "android/hardware/audio/2.0/StreamOutCallback.vts.h", |
| 157 | ], |
| 158 | } |
| 159 | |
| 160 | cc_library_shared { |
| 161 | name: "android.hardware.audio.vts.driver@2.0", |
| 162 | generated_sources: ["android.hardware.audio.vts.driver@2.0_genc++"], |
| 163 | generated_headers: ["android.hardware.audio.vts.driver@2.0_genc++_headers"], |
| 164 | export_generated_headers: ["android.hardware.audio.vts.driver@2.0_genc++_headers"], |
| 165 | shared_libs: [ |
| 166 | "libhidlbase", |
| 167 | "libhidltransport", |
| 168 | "libhwbinder", |
| 169 | "liblog", |
| 170 | "libutils", |
| 171 | "libcutils", |
| 172 | "libvts_common", |
| 173 | "libvts_datatype", |
| 174 | "libvts_measurement", |
| 175 | "libvts_multidevice_proto", |
| 176 | "libcamera_metadata", |
| 177 | "libprotobuf-cpp-full", |
| 178 | "android.hardware.audio.common@2.0", |
| 179 | "android.hidl.base@1.0", |
| 180 | "android.hardware.audio@2.0", |
| 181 | ], |
| 182 | export_shared_lib_headers: [ |
| 183 | "libhidlbase", |
| 184 | "libhidltransport", |
| 185 | "libhwbinder", |
| 186 | "libutils", |
| 187 | "android.hardware.audio.common@2.0", |
| 188 | "android.hidl.base@1.0", |
| 189 | ], |
| 190 | } |
| 191 | |
| 192 | genrule { |
| 193 | name: "android.hardware.audio@2.0-vts.profiler_genc++", |
| 194 | tools: ["hidl-gen", "vtsc"], |
| 195 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| 196 | srcs: [ |
| 197 | "types.hal", |
| 198 | "IDevice.hal", |
| 199 | "IDevicesFactory.hal", |
| 200 | "IPrimaryDevice.hal", |
| 201 | "IStream.hal", |
| 202 | "IStreamIn.hal", |
| 203 | "IStreamOut.hal", |
| 204 | "IStreamOutCallback.hal", |
| 205 | ], |
| 206 | out: [ |
| 207 | "android/hardware/audio/2.0/types.vts.cpp", |
| 208 | "android/hardware/audio/2.0/Device.vts.cpp", |
| 209 | "android/hardware/audio/2.0/DevicesFactory.vts.cpp", |
| 210 | "android/hardware/audio/2.0/PrimaryDevice.vts.cpp", |
| 211 | "android/hardware/audio/2.0/Stream.vts.cpp", |
| 212 | "android/hardware/audio/2.0/StreamIn.vts.cpp", |
| 213 | "android/hardware/audio/2.0/StreamOut.vts.cpp", |
| 214 | "android/hardware/audio/2.0/StreamOutCallback.vts.cpp", |
| 215 | ], |
| 216 | } |
| 217 | |
| 218 | genrule { |
| 219 | name: "android.hardware.audio@2.0-vts.profiler_genc++_headers", |
| 220 | tools: ["hidl-gen", "vtsc"], |
| 221 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| 222 | srcs: [ |
| 223 | "types.hal", |
| 224 | "IDevice.hal", |
| 225 | "IDevicesFactory.hal", |
| 226 | "IPrimaryDevice.hal", |
| 227 | "IStream.hal", |
| 228 | "IStreamIn.hal", |
| 229 | "IStreamOut.hal", |
| 230 | "IStreamOutCallback.hal", |
| 231 | ], |
| 232 | out: [ |
| 233 | "android/hardware/audio/2.0/types.vts.h", |
| 234 | "android/hardware/audio/2.0/Device.vts.h", |
| 235 | "android/hardware/audio/2.0/DevicesFactory.vts.h", |
| 236 | "android/hardware/audio/2.0/PrimaryDevice.vts.h", |
| 237 | "android/hardware/audio/2.0/Stream.vts.h", |
| 238 | "android/hardware/audio/2.0/StreamIn.vts.h", |
| 239 | "android/hardware/audio/2.0/StreamOut.vts.h", |
| 240 | "android/hardware/audio/2.0/StreamOutCallback.vts.h", |
| 241 | ], |
| 242 | } |
| 243 | |
| 244 | cc_library_shared { |
| 245 | name: "android.hardware.audio@2.0-vts.profiler", |
| 246 | generated_sources: ["android.hardware.audio@2.0-vts.profiler_genc++"], |
| 247 | generated_headers: ["android.hardware.audio@2.0-vts.profiler_genc++_headers"], |
| 248 | export_generated_headers: ["android.hardware.audio@2.0-vts.profiler_genc++_headers"], |
| 249 | shared_libs: [ |
| 250 | "libbase", |
| 251 | "libhidlbase", |
| 252 | "libhidltransport", |
| 253 | "libvts_profiling", |
| 254 | "libvts_multidevice_proto", |
| 255 | "libprotobuf-cpp-full", |
| 256 | "android.hardware.audio.common@2.0", |
| 257 | "android.hidl.base@1.0", |
| 258 | "android.hardware.audio@2.0", |
| 259 | ], |
| 260 | } |