Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -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.media.omx@1.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "IGraphicBufferSource.hal", |
| 8 | "IOmx.hal", |
Tri Vo | ce608be | 2017-02-07 19:13:25 -0800 | [diff] [blame] | 9 | "IOmxBufferSource.hal", |
| 10 | "IOmxNode.hal", |
| 11 | "IOmxObserver.hal", |
Lajos Molnar | c8949ec | 2017-03-22 20:13:20 -0700 | [diff] [blame] | 12 | "IOmxStore.hal", |
Tri Vo | ce608be | 2017-02-07 19:13:25 -0800 | [diff] [blame] | 13 | ], |
| 14 | } |
| 15 | |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 16 | genrule { |
| 17 | name: "android.hardware.media.omx@1.0_genc++", |
| 18 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 19 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx@1.0", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 20 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 21 | ":android.hardware.media.omx@1.0_hal", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 22 | ], |
| 23 | out: [ |
| 24 | "android/hardware/media/omx/1.0/types.cpp", |
| 25 | "android/hardware/media/omx/1.0/GraphicBufferSourceAll.cpp", |
| 26 | "android/hardware/media/omx/1.0/OmxAll.cpp", |
| 27 | "android/hardware/media/omx/1.0/OmxBufferSourceAll.cpp", |
| 28 | "android/hardware/media/omx/1.0/OmxNodeAll.cpp", |
| 29 | "android/hardware/media/omx/1.0/OmxObserverAll.cpp", |
Lajos Molnar | c8949ec | 2017-03-22 20:13:20 -0700 | [diff] [blame] | 30 | "android/hardware/media/omx/1.0/OmxStoreAll.cpp", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 31 | ], |
| 32 | } |
| 33 | |
| 34 | genrule { |
| 35 | name: "android.hardware.media.omx@1.0_genc++_headers", |
| 36 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 37 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx@1.0", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 38 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 39 | ":android.hardware.media.omx@1.0_hal", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 40 | ], |
| 41 | out: [ |
| 42 | "android/hardware/media/omx/1.0/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 43 | "android/hardware/media/omx/1.0/hwtypes.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 44 | "android/hardware/media/omx/1.0/IGraphicBufferSource.h", |
| 45 | "android/hardware/media/omx/1.0/IHwGraphicBufferSource.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 46 | "android/hardware/media/omx/1.0/BnHwGraphicBufferSource.h", |
| 47 | "android/hardware/media/omx/1.0/BpHwGraphicBufferSource.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 48 | "android/hardware/media/omx/1.0/BsGraphicBufferSource.h", |
| 49 | "android/hardware/media/omx/1.0/IOmx.h", |
| 50 | "android/hardware/media/omx/1.0/IHwOmx.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 51 | "android/hardware/media/omx/1.0/BnHwOmx.h", |
| 52 | "android/hardware/media/omx/1.0/BpHwOmx.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 53 | "android/hardware/media/omx/1.0/BsOmx.h", |
| 54 | "android/hardware/media/omx/1.0/IOmxBufferSource.h", |
| 55 | "android/hardware/media/omx/1.0/IHwOmxBufferSource.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 56 | "android/hardware/media/omx/1.0/BnHwOmxBufferSource.h", |
| 57 | "android/hardware/media/omx/1.0/BpHwOmxBufferSource.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 58 | "android/hardware/media/omx/1.0/BsOmxBufferSource.h", |
| 59 | "android/hardware/media/omx/1.0/IOmxNode.h", |
| 60 | "android/hardware/media/omx/1.0/IHwOmxNode.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 61 | "android/hardware/media/omx/1.0/BnHwOmxNode.h", |
| 62 | "android/hardware/media/omx/1.0/BpHwOmxNode.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 63 | "android/hardware/media/omx/1.0/BsOmxNode.h", |
| 64 | "android/hardware/media/omx/1.0/IOmxObserver.h", |
| 65 | "android/hardware/media/omx/1.0/IHwOmxObserver.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 66 | "android/hardware/media/omx/1.0/BnHwOmxObserver.h", |
| 67 | "android/hardware/media/omx/1.0/BpHwOmxObserver.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 68 | "android/hardware/media/omx/1.0/BsOmxObserver.h", |
Lajos Molnar | c8949ec | 2017-03-22 20:13:20 -0700 | [diff] [blame] | 69 | "android/hardware/media/omx/1.0/IOmxStore.h", |
| 70 | "android/hardware/media/omx/1.0/IHwOmxStore.h", |
| 71 | "android/hardware/media/omx/1.0/BnHwOmxStore.h", |
| 72 | "android/hardware/media/omx/1.0/BpHwOmxStore.h", |
| 73 | "android/hardware/media/omx/1.0/BsOmxStore.h", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 74 | ], |
| 75 | } |
| 76 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 77 | cc_library { |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 78 | name: "android.hardware.media.omx@1.0", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 79 | defaults: ["hidl-module-defaults"], |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 80 | generated_sources: ["android.hardware.media.omx@1.0_genc++"], |
| 81 | generated_headers: ["android.hardware.media.omx@1.0_genc++_headers"], |
| 82 | export_generated_headers: ["android.hardware.media.omx@1.0_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 83 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 84 | vndk: { |
| 85 | enabled: true, |
| 86 | }, |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 87 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 88 | "libhidlbase", |
| 89 | "libhidltransport", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 90 | "libhwbinder", |
Steven Moreland | f8d68ec | 2016-11-21 16:28:54 -0800 | [diff] [blame] | 91 | "liblog", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 92 | "libutils", |
| 93 | "libcutils", |
Pawin Vongmasa | 4a3cd13 | 2017-03-06 15:09:19 -0800 | [diff] [blame] | 94 | "android.hardware.graphics.bufferqueue@1.0", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 95 | "android.hardware.graphics.common@1.0", |
| 96 | "android.hardware.media@1.0", |
| 97 | ], |
| 98 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 99 | "libhidlbase", |
| 100 | "libhidltransport", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 101 | "libhwbinder", |
| 102 | "libutils", |
Pawin Vongmasa | 4a3cd13 | 2017-03-06 15:09:19 -0800 | [diff] [blame] | 103 | "android.hardware.graphics.bufferqueue@1.0", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 104 | "android.hardware.graphics.common@1.0", |
| 105 | "android.hardware.media@1.0", |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 106 | ], |
| 107 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 108 | |
| 109 | genrule { |
| 110 | name: "android.hardware.media.omx@1.0-adapter-helper_genc++", |
| 111 | tools: ["hidl-gen"], |
| 112 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx@1.0", |
| 113 | srcs: [ |
| 114 | ":android.hardware.media.omx@1.0_hal", |
| 115 | ], |
| 116 | out: [ |
| 117 | "android/hardware/media/omx/1.0/AGraphicBufferSource.cpp", |
| 118 | "android/hardware/media/omx/1.0/AOmx.cpp", |
| 119 | "android/hardware/media/omx/1.0/AOmxBufferSource.cpp", |
| 120 | "android/hardware/media/omx/1.0/AOmxNode.cpp", |
| 121 | "android/hardware/media/omx/1.0/AOmxObserver.cpp", |
| 122 | "android/hardware/media/omx/1.0/AOmxStore.cpp", |
| 123 | ], |
| 124 | } |
| 125 | |
| 126 | genrule { |
| 127 | name: "android.hardware.media.omx@1.0-adapter-helper_genc++_headers", |
| 128 | tools: ["hidl-gen"], |
| 129 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx@1.0", |
| 130 | srcs: [ |
| 131 | ":android.hardware.media.omx@1.0_hal", |
| 132 | ], |
| 133 | out: [ |
| 134 | "android/hardware/media/omx/1.0/AGraphicBufferSource.h", |
| 135 | "android/hardware/media/omx/1.0/AOmx.h", |
| 136 | "android/hardware/media/omx/1.0/AOmxBufferSource.h", |
| 137 | "android/hardware/media/omx/1.0/AOmxNode.h", |
| 138 | "android/hardware/media/omx/1.0/AOmxObserver.h", |
| 139 | "android/hardware/media/omx/1.0/AOmxStore.h", |
| 140 | ], |
| 141 | } |
| 142 | |
| 143 | |
| 144 | cc_library { |
| 145 | name: "android.hardware.media.omx@1.0-adapter-helper", |
| 146 | defaults: ["hidl-module-defaults"], |
| 147 | generated_sources: ["android.hardware.media.omx@1.0-adapter-helper_genc++"], |
| 148 | generated_headers: ["android.hardware.media.omx@1.0-adapter-helper_genc++_headers"], |
| 149 | export_generated_headers: ["android.hardware.media.omx@1.0-adapter-helper_genc++_headers"], |
| 150 | vendor_available: true, |
| 151 | shared_libs: [ |
| 152 | "libhidlbase", |
| 153 | "libhidltransport", |
| 154 | "libhwbinder", |
| 155 | "liblog", |
| 156 | "libutils", |
| 157 | "libcutils", |
| 158 | "libhidladapter", |
| 159 | "android.hardware.graphics.bufferqueue@1.0", |
| 160 | "android.hardware.graphics.common@1.0", |
| 161 | "android.hardware.media.omx@1.0", |
| 162 | "android.hardware.media@1.0", |
| 163 | "android.hardware.graphics.bufferqueue@1.0-adapter-helper", |
| 164 | "android.hidl.base@1.0-adapter-helper", |
| 165 | ], |
| 166 | export_shared_lib_headers: [ |
| 167 | "libhidlbase", |
| 168 | "libhidltransport", |
| 169 | "libhwbinder", |
| 170 | "libutils", |
| 171 | "libhidladapter", |
| 172 | "android.hardware.graphics.bufferqueue@1.0", |
| 173 | "android.hardware.graphics.common@1.0", |
| 174 | "android.hardware.media.omx@1.0", |
| 175 | "android.hardware.media@1.0", |
| 176 | "android.hardware.graphics.bufferqueue@1.0-adapter-helper", |
| 177 | "android.hidl.base@1.0-adapter-helper", |
| 178 | ], |
| 179 | } |
| 180 | |
| 181 | genrule { |
| 182 | name: "android.hardware.media.omx@1.0-adapter_genc++", |
| 183 | tools: ["hidl-gen"], |
| 184 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media.omx@1.0", |
| 185 | out: ["main.cpp"]} |
| 186 | |
| 187 | cc_test { |
| 188 | name: "android.hardware.media.omx@1.0-adapter", |
| 189 | shared_libs: [ |
| 190 | "libhidladapter", |
| 191 | "libhidlbase", |
| 192 | "libhidltransport", |
| 193 | "libutils", |
| 194 | "android.hardware.graphics.bufferqueue@1.0", |
| 195 | "android.hardware.graphics.common@1.0", |
| 196 | "android.hardware.media.omx@1.0", |
| 197 | "android.hardware.media@1.0", |
| 198 | "android.hardware.media.omx@1.0-adapter-helper", |
| 199 | ], |
| 200 | generated_sources: ["android.hardware.media.omx@1.0-adapter_genc++"], |
| 201 | } |