Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
| 3 | filegroup { |
| 4 | name: "android.hardware.broadcastradio@1.1_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
Tomasz Wasilczyk | 803301a | 2017-03-13 14:30:15 -0700 | [diff] [blame] | 7 | "IBroadcastRadio.hal", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 8 | "IBroadcastRadioFactory.hal", |
| 9 | "ITuner.hal", |
| 10 | "ITunerCallback.hal", |
| 11 | ], |
| 12 | } |
| 13 | |
| 14 | genrule { |
| 15 | name: "android.hardware.broadcastradio@1.1_genc++", |
| 16 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 17 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.1", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 18 | srcs: [ |
| 19 | ":android.hardware.broadcastradio@1.1_hal", |
| 20 | ], |
| 21 | out: [ |
| 22 | "android/hardware/broadcastradio/1.1/types.cpp", |
Tomasz Wasilczyk | 803301a | 2017-03-13 14:30:15 -0700 | [diff] [blame] | 23 | "android/hardware/broadcastradio/1.1/BroadcastRadioAll.cpp", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 24 | "android/hardware/broadcastradio/1.1/BroadcastRadioFactoryAll.cpp", |
| 25 | "android/hardware/broadcastradio/1.1/TunerAll.cpp", |
| 26 | "android/hardware/broadcastradio/1.1/TunerCallbackAll.cpp", |
| 27 | ], |
| 28 | } |
| 29 | |
| 30 | genrule { |
| 31 | name: "android.hardware.broadcastradio@1.1_genc++_headers", |
| 32 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 33 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.1", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 34 | srcs: [ |
| 35 | ":android.hardware.broadcastradio@1.1_hal", |
| 36 | ], |
| 37 | out: [ |
| 38 | "android/hardware/broadcastradio/1.1/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 39 | "android/hardware/broadcastradio/1.1/hwtypes.h", |
Tomasz Wasilczyk | 803301a | 2017-03-13 14:30:15 -0700 | [diff] [blame] | 40 | "android/hardware/broadcastradio/1.1/IBroadcastRadio.h", |
| 41 | "android/hardware/broadcastradio/1.1/IHwBroadcastRadio.h", |
| 42 | "android/hardware/broadcastradio/1.1/BnHwBroadcastRadio.h", |
| 43 | "android/hardware/broadcastradio/1.1/BpHwBroadcastRadio.h", |
| 44 | "android/hardware/broadcastradio/1.1/BsBroadcastRadio.h", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 45 | "android/hardware/broadcastradio/1.1/IBroadcastRadioFactory.h", |
| 46 | "android/hardware/broadcastradio/1.1/IHwBroadcastRadioFactory.h", |
| 47 | "android/hardware/broadcastradio/1.1/BnHwBroadcastRadioFactory.h", |
| 48 | "android/hardware/broadcastradio/1.1/BpHwBroadcastRadioFactory.h", |
| 49 | "android/hardware/broadcastradio/1.1/BsBroadcastRadioFactory.h", |
| 50 | "android/hardware/broadcastradio/1.1/ITuner.h", |
| 51 | "android/hardware/broadcastradio/1.1/IHwTuner.h", |
| 52 | "android/hardware/broadcastradio/1.1/BnHwTuner.h", |
| 53 | "android/hardware/broadcastradio/1.1/BpHwTuner.h", |
| 54 | "android/hardware/broadcastradio/1.1/BsTuner.h", |
| 55 | "android/hardware/broadcastradio/1.1/ITunerCallback.h", |
| 56 | "android/hardware/broadcastradio/1.1/IHwTunerCallback.h", |
| 57 | "android/hardware/broadcastradio/1.1/BnHwTunerCallback.h", |
| 58 | "android/hardware/broadcastradio/1.1/BpHwTunerCallback.h", |
| 59 | "android/hardware/broadcastradio/1.1/BsTunerCallback.h", |
| 60 | ], |
| 61 | } |
| 62 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 63 | cc_library { |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 64 | name: "android.hardware.broadcastradio@1.1", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 65 | defaults: ["hidl-module-defaults"], |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 66 | generated_sources: ["android.hardware.broadcastradio@1.1_genc++"], |
| 67 | generated_headers: ["android.hardware.broadcastradio@1.1_genc++_headers"], |
| 68 | export_generated_headers: ["android.hardware.broadcastradio@1.1_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 69 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 70 | vndk: { |
| 71 | enabled: true, |
| 72 | }, |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 73 | shared_libs: [ |
| 74 | "libhidlbase", |
| 75 | "libhidltransport", |
| 76 | "libhwbinder", |
| 77 | "liblog", |
| 78 | "libutils", |
| 79 | "libcutils", |
| 80 | "android.hardware.broadcastradio@1.0", |
| 81 | ], |
| 82 | export_shared_lib_headers: [ |
| 83 | "libhidlbase", |
| 84 | "libhidltransport", |
| 85 | "libhwbinder", |
| 86 | "libutils", |
| 87 | "android.hardware.broadcastradio@1.0", |
Tomasz Wasilczyk | 213170b | 2017-02-07 17:38:21 -0800 | [diff] [blame] | 88 | ], |
| 89 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 90 | |
Steven Moreland | c3e80fa | 2017-10-10 11:05:20 -0700 | [diff] [blame] | 91 | // This package is not java compatible. Not creating java target. |
| 92 | |
| 93 | // This package does not export any types. Not creating java constants export. |
| 94 | |
| 95 | |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 96 | genrule { |
| 97 | name: "android.hardware.broadcastradio@1.1-adapter-helper_genc++", |
| 98 | tools: ["hidl-gen"], |
| 99 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.1", |
| 100 | srcs: [ |
| 101 | ":android.hardware.broadcastradio@1.1_hal", |
| 102 | ], |
| 103 | out: [ |
| 104 | "android/hardware/broadcastradio/1.1/ABroadcastRadio.cpp", |
| 105 | "android/hardware/broadcastradio/1.1/ABroadcastRadioFactory.cpp", |
| 106 | "android/hardware/broadcastradio/1.1/ATuner.cpp", |
| 107 | "android/hardware/broadcastradio/1.1/ATunerCallback.cpp", |
| 108 | ], |
| 109 | } |
| 110 | |
| 111 | genrule { |
| 112 | name: "android.hardware.broadcastradio@1.1-adapter-helper_genc++_headers", |
| 113 | tools: ["hidl-gen"], |
| 114 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.1", |
| 115 | srcs: [ |
| 116 | ":android.hardware.broadcastradio@1.1_hal", |
| 117 | ], |
| 118 | out: [ |
| 119 | "android/hardware/broadcastradio/1.1/ABroadcastRadio.h", |
| 120 | "android/hardware/broadcastradio/1.1/ABroadcastRadioFactory.h", |
| 121 | "android/hardware/broadcastradio/1.1/ATuner.h", |
| 122 | "android/hardware/broadcastradio/1.1/ATunerCallback.h", |
| 123 | ], |
| 124 | } |
| 125 | |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 126 | cc_library { |
| 127 | name: "android.hardware.broadcastradio@1.1-adapter-helper", |
| 128 | defaults: ["hidl-module-defaults"], |
| 129 | generated_sources: ["android.hardware.broadcastradio@1.1-adapter-helper_genc++"], |
| 130 | generated_headers: ["android.hardware.broadcastradio@1.1-adapter-helper_genc++_headers"], |
| 131 | export_generated_headers: ["android.hardware.broadcastradio@1.1-adapter-helper_genc++_headers"], |
| 132 | vendor_available: true, |
| 133 | shared_libs: [ |
| 134 | "libhidlbase", |
| 135 | "libhidltransport", |
| 136 | "libhwbinder", |
| 137 | "liblog", |
| 138 | "libutils", |
| 139 | "libcutils", |
| 140 | "libhidladapter", |
| 141 | "android.hardware.broadcastradio@1.0", |
| 142 | "android.hardware.broadcastradio@1.1", |
| 143 | "android.hardware.broadcastradio@1.0-adapter-helper", |
| 144 | "android.hidl.base@1.0-adapter-helper", |
| 145 | ], |
| 146 | export_shared_lib_headers: [ |
| 147 | "libhidlbase", |
| 148 | "libhidltransport", |
| 149 | "libhwbinder", |
| 150 | "libutils", |
| 151 | "libhidladapter", |
| 152 | "android.hardware.broadcastradio@1.0", |
| 153 | "android.hardware.broadcastradio@1.1", |
| 154 | "android.hardware.broadcastradio@1.0-adapter-helper", |
| 155 | "android.hidl.base@1.0-adapter-helper", |
| 156 | ], |
| 157 | } |
| 158 | |
| 159 | genrule { |
| 160 | name: "android.hardware.broadcastradio@1.1-adapter_genc++", |
| 161 | tools: ["hidl-gen"], |
| 162 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.1", |
Steven Moreland | a5299ee | 2017-09-26 12:54:42 -0700 | [diff] [blame] | 163 | out: ["main.cpp"] |
| 164 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 165 | |
| 166 | cc_test { |
| 167 | name: "android.hardware.broadcastradio@1.1-adapter", |
Steven Moreland | 527fd76 | 2017-10-04 12:47:03 -0700 | [diff] [blame] | 168 | defaults: ["hidl-module-defaults"], |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 169 | shared_libs: [ |
| 170 | "libhidladapter", |
| 171 | "libhidlbase", |
| 172 | "libhidltransport", |
| 173 | "libutils", |
| 174 | "android.hardware.broadcastradio@1.0", |
| 175 | "android.hardware.broadcastradio@1.1", |
| 176 | "android.hardware.broadcastradio@1.1-adapter-helper", |
| 177 | ], |
| 178 | generated_sources: ["android.hardware.broadcastradio@1.1-adapter_genc++"], |
| 179 | } |