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 | |
Tri Vo | ce608be | 2017-02-07 19:13:25 -0800 | [diff] [blame] | 3 | filegroup { |
| 4 | name: "android.hardware.audio@2.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "IDevice.hal", |
| 8 | "IDevicesFactory.hal", |
| 9 | "IPrimaryDevice.hal", |
| 10 | "IStream.hal", |
| 11 | "IStreamIn.hal", |
| 12 | "IStreamOut.hal", |
| 13 | "IStreamOutCallback.hal", |
| 14 | ], |
| 15 | } |
| 16 | |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 17 | genrule { |
| 18 | name: "android.hardware.audio@2.0_genc++", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 19 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 20 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -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] | 21 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 22 | ":android.hardware.audio@2.0_hal", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 23 | ], |
| 24 | out: [ |
| 25 | "android/hardware/audio/2.0/types.cpp", |
| 26 | "android/hardware/audio/2.0/DeviceAll.cpp", |
| 27 | "android/hardware/audio/2.0/DevicesFactoryAll.cpp", |
| 28 | "android/hardware/audio/2.0/PrimaryDeviceAll.cpp", |
| 29 | "android/hardware/audio/2.0/StreamAll.cpp", |
| 30 | "android/hardware/audio/2.0/StreamInAll.cpp", |
| 31 | "android/hardware/audio/2.0/StreamOutAll.cpp", |
| 32 | "android/hardware/audio/2.0/StreamOutCallbackAll.cpp", |
| 33 | ], |
| 34 | } |
| 35 | |
| 36 | genrule { |
| 37 | name: "android.hardware.audio@2.0_genc++_headers", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 38 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 39 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -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] | 40 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 41 | ":android.hardware.audio@2.0_hal", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 42 | ], |
| 43 | out: [ |
| 44 | "android/hardware/audio/2.0/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 45 | "android/hardware/audio/2.0/hwtypes.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 46 | "android/hardware/audio/2.0/IDevice.h", |
| 47 | "android/hardware/audio/2.0/IHwDevice.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 48 | "android/hardware/audio/2.0/BnHwDevice.h", |
| 49 | "android/hardware/audio/2.0/BpHwDevice.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 50 | "android/hardware/audio/2.0/BsDevice.h", |
| 51 | "android/hardware/audio/2.0/IDevicesFactory.h", |
| 52 | "android/hardware/audio/2.0/IHwDevicesFactory.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 53 | "android/hardware/audio/2.0/BnHwDevicesFactory.h", |
| 54 | "android/hardware/audio/2.0/BpHwDevicesFactory.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 55 | "android/hardware/audio/2.0/BsDevicesFactory.h", |
| 56 | "android/hardware/audio/2.0/IPrimaryDevice.h", |
| 57 | "android/hardware/audio/2.0/IHwPrimaryDevice.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 58 | "android/hardware/audio/2.0/BnHwPrimaryDevice.h", |
| 59 | "android/hardware/audio/2.0/BpHwPrimaryDevice.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 60 | "android/hardware/audio/2.0/BsPrimaryDevice.h", |
| 61 | "android/hardware/audio/2.0/IStream.h", |
| 62 | "android/hardware/audio/2.0/IHwStream.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 63 | "android/hardware/audio/2.0/BnHwStream.h", |
| 64 | "android/hardware/audio/2.0/BpHwStream.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 65 | "android/hardware/audio/2.0/BsStream.h", |
| 66 | "android/hardware/audio/2.0/IStreamIn.h", |
| 67 | "android/hardware/audio/2.0/IHwStreamIn.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 68 | "android/hardware/audio/2.0/BnHwStreamIn.h", |
| 69 | "android/hardware/audio/2.0/BpHwStreamIn.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 70 | "android/hardware/audio/2.0/BsStreamIn.h", |
| 71 | "android/hardware/audio/2.0/IStreamOut.h", |
| 72 | "android/hardware/audio/2.0/IHwStreamOut.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 73 | "android/hardware/audio/2.0/BnHwStreamOut.h", |
| 74 | "android/hardware/audio/2.0/BpHwStreamOut.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 75 | "android/hardware/audio/2.0/BsStreamOut.h", |
| 76 | "android/hardware/audio/2.0/IStreamOutCallback.h", |
| 77 | "android/hardware/audio/2.0/IHwStreamOutCallback.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 78 | "android/hardware/audio/2.0/BnHwStreamOutCallback.h", |
| 79 | "android/hardware/audio/2.0/BpHwStreamOutCallback.h", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 80 | "android/hardware/audio/2.0/BsStreamOutCallback.h", |
| 81 | ], |
| 82 | } |
| 83 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 84 | cc_library { |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 85 | name: "android.hardware.audio@2.0", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 86 | defaults: ["hidl-module-defaults"], |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 87 | generated_sources: ["android.hardware.audio@2.0_genc++"], |
| 88 | generated_headers: ["android.hardware.audio@2.0_genc++_headers"], |
| 89 | export_generated_headers: ["android.hardware.audio@2.0_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 90 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 91 | vndk: { |
| 92 | enabled: true, |
| 93 | }, |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 94 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 95 | "libhidlbase", |
| 96 | "libhidltransport", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 97 | "libhwbinder", |
Steven Moreland | f8d68ec | 2016-11-21 16:28:54 -0800 | [diff] [blame] | 98 | "liblog", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 99 | "libutils", |
| 100 | "libcutils", |
| 101 | "android.hardware.audio.common@2.0", |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 102 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 103 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 104 | "libhidlbase", |
| 105 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 106 | "libhwbinder", |
| 107 | "libutils", |
Yifan Hong | c2f2779 | 2016-11-07 15:38:41 -0800 | [diff] [blame] | 108 | "android.hardware.audio.common@2.0", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 109 | ], |
Mikhail Naganov | 96b30be | 2016-10-05 11:21:12 -0700 | [diff] [blame] | 110 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 111 | |
| 112 | genrule { |
| 113 | name: "android.hardware.audio@2.0-adapter-helper_genc++", |
| 114 | tools: ["hidl-gen"], |
| 115 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0", |
| 116 | srcs: [ |
| 117 | ":android.hardware.audio@2.0_hal", |
| 118 | ], |
| 119 | out: [ |
| 120 | "android/hardware/audio/2.0/ADevice.cpp", |
| 121 | "android/hardware/audio/2.0/ADevicesFactory.cpp", |
| 122 | "android/hardware/audio/2.0/APrimaryDevice.cpp", |
| 123 | "android/hardware/audio/2.0/AStream.cpp", |
| 124 | "android/hardware/audio/2.0/AStreamIn.cpp", |
| 125 | "android/hardware/audio/2.0/AStreamOut.cpp", |
| 126 | "android/hardware/audio/2.0/AStreamOutCallback.cpp", |
| 127 | ], |
| 128 | } |
| 129 | |
| 130 | genrule { |
| 131 | name: "android.hardware.audio@2.0-adapter-helper_genc++_headers", |
| 132 | tools: ["hidl-gen"], |
| 133 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0", |
| 134 | srcs: [ |
| 135 | ":android.hardware.audio@2.0_hal", |
| 136 | ], |
| 137 | out: [ |
| 138 | "android/hardware/audio/2.0/ADevice.h", |
| 139 | "android/hardware/audio/2.0/ADevicesFactory.h", |
| 140 | "android/hardware/audio/2.0/APrimaryDevice.h", |
| 141 | "android/hardware/audio/2.0/AStream.h", |
| 142 | "android/hardware/audio/2.0/AStreamIn.h", |
| 143 | "android/hardware/audio/2.0/AStreamOut.h", |
| 144 | "android/hardware/audio/2.0/AStreamOutCallback.h", |
| 145 | ], |
| 146 | } |
| 147 | |
| 148 | |
| 149 | cc_library { |
| 150 | name: "android.hardware.audio@2.0-adapter-helper", |
| 151 | defaults: ["hidl-module-defaults"], |
| 152 | generated_sources: ["android.hardware.audio@2.0-adapter-helper_genc++"], |
| 153 | generated_headers: ["android.hardware.audio@2.0-adapter-helper_genc++_headers"], |
| 154 | export_generated_headers: ["android.hardware.audio@2.0-adapter-helper_genc++_headers"], |
| 155 | vendor_available: true, |
| 156 | shared_libs: [ |
| 157 | "libhidlbase", |
| 158 | "libhidltransport", |
| 159 | "libhwbinder", |
| 160 | "liblog", |
| 161 | "libutils", |
| 162 | "libcutils", |
| 163 | "libhidladapter", |
| 164 | "android.hardware.audio.common@2.0", |
| 165 | "android.hardware.audio@2.0", |
| 166 | "android.hidl.base@1.0-adapter-helper", |
| 167 | ], |
| 168 | export_shared_lib_headers: [ |
| 169 | "libhidlbase", |
| 170 | "libhidltransport", |
| 171 | "libhwbinder", |
| 172 | "libutils", |
| 173 | "libhidladapter", |
| 174 | "android.hardware.audio.common@2.0", |
| 175 | "android.hardware.audio@2.0", |
| 176 | "android.hidl.base@1.0-adapter-helper", |
| 177 | ], |
| 178 | } |
| 179 | |
| 180 | genrule { |
| 181 | name: "android.hardware.audio@2.0-adapter_genc++", |
| 182 | tools: ["hidl-gen"], |
| 183 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0", |
Steven Moreland | a5299ee | 2017-09-26 12:54:42 -0700 | [diff] [blame] | 184 | out: ["main.cpp"] |
| 185 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 186 | |
| 187 | cc_test { |
| 188 | name: "android.hardware.audio@2.0-adapter", |
Steven Moreland | 527fd76 | 2017-10-04 12:47:03 -0700 | [diff] [blame^] | 189 | defaults: ["hidl-module-defaults"], |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 190 | shared_libs: [ |
| 191 | "libhidladapter", |
| 192 | "libhidlbase", |
| 193 | "libhidltransport", |
| 194 | "libutils", |
| 195 | "android.hardware.audio.common@2.0", |
| 196 | "android.hardware.audio@2.0", |
| 197 | "android.hardware.audio@2.0-adapter-helper", |
| 198 | ], |
| 199 | generated_sources: ["android.hardware.audio@2.0-adapter_genc++"], |
| 200 | } |