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