Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [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.automotive.vehicle@2.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "IVehicle.hal", |
| 8 | "IVehicleCallback.hal", |
| 9 | ], |
| 10 | } |
| 11 | |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 12 | genrule { |
| 13 | name: "android.hardware.automotive.vehicle@2.0_genc++", |
| 14 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 15 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 16 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 17 | ":android.hardware.automotive.vehicle@2.0_hal", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 18 | ], |
| 19 | out: [ |
| 20 | "android/hardware/automotive/vehicle/2.0/types.cpp", |
| 21 | "android/hardware/automotive/vehicle/2.0/VehicleAll.cpp", |
| 22 | "android/hardware/automotive/vehicle/2.0/VehicleCallbackAll.cpp", |
| 23 | ], |
| 24 | } |
| 25 | |
| 26 | genrule { |
| 27 | name: "android.hardware.automotive.vehicle@2.0_genc++_headers", |
| 28 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 29 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 30 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 31 | ":android.hardware.automotive.vehicle@2.0_hal", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 32 | ], |
| 33 | out: [ |
| 34 | "android/hardware/automotive/vehicle/2.0/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 35 | "android/hardware/automotive/vehicle/2.0/hwtypes.h", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 36 | "android/hardware/automotive/vehicle/2.0/IVehicle.h", |
| 37 | "android/hardware/automotive/vehicle/2.0/IHwVehicle.h", |
| 38 | "android/hardware/automotive/vehicle/2.0/BnHwVehicle.h", |
| 39 | "android/hardware/automotive/vehicle/2.0/BpHwVehicle.h", |
| 40 | "android/hardware/automotive/vehicle/2.0/BsVehicle.h", |
| 41 | "android/hardware/automotive/vehicle/2.0/IVehicleCallback.h", |
| 42 | "android/hardware/automotive/vehicle/2.0/IHwVehicleCallback.h", |
| 43 | "android/hardware/automotive/vehicle/2.0/BnHwVehicleCallback.h", |
| 44 | "android/hardware/automotive/vehicle/2.0/BpHwVehicleCallback.h", |
| 45 | "android/hardware/automotive/vehicle/2.0/BsVehicleCallback.h", |
| 46 | ], |
| 47 | } |
| 48 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 49 | cc_library { |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 50 | name: "android.hardware.automotive.vehicle@2.0", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 51 | defaults: ["hidl-module-defaults"], |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 52 | generated_sources: ["android.hardware.automotive.vehicle@2.0_genc++"], |
| 53 | generated_headers: ["android.hardware.automotive.vehicle@2.0_genc++_headers"], |
| 54 | export_generated_headers: ["android.hardware.automotive.vehicle@2.0_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 55 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 56 | vndk: { |
| 57 | enabled: true, |
| 58 | }, |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 59 | shared_libs: [ |
| 60 | "libhidlbase", |
| 61 | "libhidltransport", |
| 62 | "libhwbinder", |
| 63 | "liblog", |
| 64 | "libutils", |
| 65 | "libcutils", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 66 | ], |
| 67 | export_shared_lib_headers: [ |
| 68 | "libhidlbase", |
| 69 | "libhidltransport", |
| 70 | "libhwbinder", |
| 71 | "libutils", |
Pavel Maltsev | 2579fb7 | 2017-02-02 12:39:36 -0800 | [diff] [blame] | 72 | ], |
| 73 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 74 | |
| 75 | genrule { |
Steven Moreland | f390f03 | 2017-10-11 11:09:24 -0700 | [diff] [blame] | 76 | name: "android.hardware.automotive.vehicle-V2.0-java_gen_java", |
| 77 | tools: ["hidl-gen"], |
| 78 | cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
| 79 | srcs: [ |
| 80 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 81 | ], |
| 82 | out: [ |
| 83 | "android/hardware/automotive/vehicle/V2_0/DiagnosticFloatSensorIndex.java", |
| 84 | "android/hardware/automotive/vehicle/V2_0/DiagnosticIntegerSensorIndex.java", |
| 85 | "android/hardware/automotive/vehicle/V2_0/Obd2CommonIgnitionMonitors.java", |
| 86 | "android/hardware/automotive/vehicle/V2_0/Obd2CompressionIgnitionMonitors.java", |
| 87 | "android/hardware/automotive/vehicle/V2_0/Obd2FuelSystemStatus.java", |
| 88 | "android/hardware/automotive/vehicle/V2_0/Obd2FuelType.java", |
| 89 | "android/hardware/automotive/vehicle/V2_0/Obd2IgnitionMonitorKind.java", |
| 90 | "android/hardware/automotive/vehicle/V2_0/Obd2SecondaryAirStatus.java", |
| 91 | "android/hardware/automotive/vehicle/V2_0/Obd2SparkIgnitionMonitors.java", |
| 92 | "android/hardware/automotive/vehicle/V2_0/StatusCode.java", |
| 93 | "android/hardware/automotive/vehicle/V2_0/SubscribeFlags.java", |
| 94 | "android/hardware/automotive/vehicle/V2_0/SubscribeOptions.java", |
| 95 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerBootupReason.java", |
| 96 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerSetState.java", |
| 97 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerState.java", |
| 98 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateConfigFlag.java", |
| 99 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateIndex.java", |
| 100 | "android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateShutdownParam.java", |
| 101 | "android/hardware/automotive/vehicle/V2_0/VehicleArea.java", |
| 102 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaConfig.java", |
| 103 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaDoor.java", |
| 104 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaMirror.java", |
| 105 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaSeat.java", |
| 106 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaWindow.java", |
| 107 | "android/hardware/automotive/vehicle/V2_0/VehicleAreaZone.java", |
| 108 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioContextFlag.java", |
| 109 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioExtFocusFlag.java", |
| 110 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusIndex.java", |
| 111 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusRequest.java", |
| 112 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusState.java", |
| 113 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioHwVariantConfigFlag.java", |
| 114 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioRoutingPolicyIndex.java", |
| 115 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioStream.java", |
| 116 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioStreamFlag.java", |
| 117 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeCapabilityFlag.java", |
| 118 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeIndex.java", |
| 119 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeLimitIndex.java", |
| 120 | "android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeState.java", |
| 121 | "android/hardware/automotive/vehicle/V2_0/VehicleDisplay.java", |
| 122 | "android/hardware/automotive/vehicle/V2_0/VehicleDrivingStatus.java", |
| 123 | "android/hardware/automotive/vehicle/V2_0/VehicleGear.java", |
| 124 | "android/hardware/automotive/vehicle/V2_0/VehicleHvacFanDirection.java", |
| 125 | "android/hardware/automotive/vehicle/V2_0/VehicleHwKeyInputAction.java", |
| 126 | "android/hardware/automotive/vehicle/V2_0/VehicleIgnitionState.java", |
| 127 | "android/hardware/automotive/vehicle/V2_0/VehicleInstrumentClusterType.java", |
| 128 | "android/hardware/automotive/vehicle/V2_0/VehiclePropConfig.java", |
| 129 | "android/hardware/automotive/vehicle/V2_0/VehiclePropValue.java", |
| 130 | "android/hardware/automotive/vehicle/V2_0/VehicleProperty.java", |
| 131 | "android/hardware/automotive/vehicle/V2_0/VehiclePropertyAccess.java", |
| 132 | "android/hardware/automotive/vehicle/V2_0/VehiclePropertyChangeMode.java", |
| 133 | "android/hardware/automotive/vehicle/V2_0/VehiclePropertyGroup.java", |
| 134 | "android/hardware/automotive/vehicle/V2_0/VehiclePropertyOperation.java", |
| 135 | "android/hardware/automotive/vehicle/V2_0/VehiclePropertyType.java", |
| 136 | "android/hardware/automotive/vehicle/V2_0/VehicleRadioConstants.java", |
| 137 | "android/hardware/automotive/vehicle/V2_0/VehicleTurnSignal.java", |
| 138 | "android/hardware/automotive/vehicle/V2_0/VehicleUnit.java", |
| 139 | "android/hardware/automotive/vehicle/V2_0/VmsAvailabilityStateIntegerValuesIndex.java", |
| 140 | "android/hardware/automotive/vehicle/V2_0/VmsBaseMessageIntegerValuesIndex.java", |
| 141 | "android/hardware/automotive/vehicle/V2_0/VmsMessageType.java", |
| 142 | "android/hardware/automotive/vehicle/V2_0/VmsMessageWithLayerAndPublisherIdIntegerValuesIndex.java", |
| 143 | "android/hardware/automotive/vehicle/V2_0/VmsMessageWithLayerIntegerValuesIndex.java", |
| 144 | "android/hardware/automotive/vehicle/V2_0/VmsOfferingMessageIntegerValuesIndex.java", |
| 145 | "android/hardware/automotive/vehicle/V2_0/VmsSubscriptionsStateIntegerValuesIndex.java", |
| 146 | "android/hardware/automotive/vehicle/V2_0/Wheel.java", |
| 147 | "android/hardware/automotive/vehicle/V2_0/IVehicle.java", |
| 148 | "android/hardware/automotive/vehicle/V2_0/IVehicleCallback.java", |
| 149 | ], |
| 150 | } |
| 151 | |
| 152 | java_library { |
| 153 | name: "android.hardware.automotive.vehicle-V2.0-java", |
| 154 | no_framework_libs: true, |
| 155 | defaults: ["hidl-java-module-defaults"], |
| 156 | srcs: [":android.hardware.automotive.vehicle-V2.0-java_gen_java"], |
| 157 | libs: [ |
| 158 | "hwbinder", |
| 159 | "android.hidl.base-V1.0-java", |
| 160 | ] |
| 161 | } |
| 162 | |
| 163 | // This package does not export any types. Not creating java constants export. |
| 164 | |
| 165 | |
| 166 | genrule { |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 167 | name: "android.hardware.automotive.vehicle@2.0-adapter-helper_genc++", |
| 168 | tools: ["hidl-gen"], |
| 169 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
| 170 | srcs: [ |
| 171 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 172 | ], |
| 173 | out: [ |
| 174 | "android/hardware/automotive/vehicle/2.0/AVehicle.cpp", |
| 175 | "android/hardware/automotive/vehicle/2.0/AVehicleCallback.cpp", |
| 176 | ], |
| 177 | } |
| 178 | |
| 179 | genrule { |
| 180 | name: "android.hardware.automotive.vehicle@2.0-adapter-helper_genc++_headers", |
| 181 | tools: ["hidl-gen"], |
| 182 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
| 183 | srcs: [ |
| 184 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 185 | ], |
| 186 | out: [ |
| 187 | "android/hardware/automotive/vehicle/2.0/AVehicle.h", |
| 188 | "android/hardware/automotive/vehicle/2.0/AVehicleCallback.h", |
| 189 | ], |
| 190 | } |
| 191 | |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 192 | cc_library { |
| 193 | name: "android.hardware.automotive.vehicle@2.0-adapter-helper", |
| 194 | defaults: ["hidl-module-defaults"], |
| 195 | generated_sources: ["android.hardware.automotive.vehicle@2.0-adapter-helper_genc++"], |
| 196 | generated_headers: ["android.hardware.automotive.vehicle@2.0-adapter-helper_genc++_headers"], |
| 197 | export_generated_headers: ["android.hardware.automotive.vehicle@2.0-adapter-helper_genc++_headers"], |
| 198 | vendor_available: true, |
| 199 | shared_libs: [ |
| 200 | "libhidlbase", |
| 201 | "libhidltransport", |
| 202 | "libhwbinder", |
| 203 | "liblog", |
| 204 | "libutils", |
| 205 | "libcutils", |
| 206 | "libhidladapter", |
| 207 | "android.hardware.automotive.vehicle@2.0", |
| 208 | "android.hidl.base@1.0-adapter-helper", |
| 209 | ], |
| 210 | export_shared_lib_headers: [ |
| 211 | "libhidlbase", |
| 212 | "libhidltransport", |
| 213 | "libhwbinder", |
| 214 | "libutils", |
| 215 | "libhidladapter", |
| 216 | "android.hardware.automotive.vehicle@2.0", |
| 217 | "android.hidl.base@1.0-adapter-helper", |
| 218 | ], |
| 219 | } |
| 220 | |
| 221 | genrule { |
| 222 | name: "android.hardware.automotive.vehicle@2.0-adapter_genc++", |
| 223 | tools: ["hidl-gen"], |
| 224 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0", |
Steven Moreland | a5299ee | 2017-09-26 12:54:42 -0700 | [diff] [blame] | 225 | out: ["main.cpp"] |
| 226 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 227 | |
| 228 | cc_test { |
| 229 | name: "android.hardware.automotive.vehicle@2.0-adapter", |
Steven Moreland | 527fd76 | 2017-10-04 12:47:03 -0700 | [diff] [blame] | 230 | defaults: ["hidl-module-defaults"], |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 231 | shared_libs: [ |
| 232 | "libhidladapter", |
| 233 | "libhidlbase", |
| 234 | "libhidltransport", |
| 235 | "libutils", |
| 236 | "android.hardware.automotive.vehicle@2.0", |
| 237 | "android.hardware.automotive.vehicle@2.0-adapter-helper", |
| 238 | ], |
| 239 | generated_sources: ["android.hardware.automotive.vehicle@2.0-adapter_genc++"], |
| 240 | } |