Pavel Maltsev | a2f426a | 2016-10-04 10:17:05 -0700 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
| 3 | genrule { |
| 4 | name: "android.hardware.vehicle@2.0_genc++", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 5 | tools: ["hidl-gen"], |
| 6 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.vehicle@2.0", |
Pavel Maltsev | a2f426a | 2016-10-04 10:17:05 -0700 | [diff] [blame] | 7 | srcs: [ |
| 8 | "types.hal", |
| 9 | "IVehicle.hal", |
| 10 | "IVehicleCallback.hal", |
| 11 | ], |
| 12 | out: [ |
| 13 | "android/hardware/vehicle/2.0/types.cpp", |
| 14 | "android/hardware/vehicle/2.0/VehicleAll.cpp", |
| 15 | "android/hardware/vehicle/2.0/VehicleCallbackAll.cpp", |
| 16 | ], |
| 17 | } |
| 18 | |
| 19 | genrule { |
| 20 | name: "android.hardware.vehicle@2.0_genc++_headers", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 21 | tools: ["hidl-gen"], |
| 22 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.vehicle@2.0", |
Pavel Maltsev | a2f426a | 2016-10-04 10:17:05 -0700 | [diff] [blame] | 23 | srcs: [ |
| 24 | "types.hal", |
| 25 | "IVehicle.hal", |
| 26 | "IVehicleCallback.hal", |
| 27 | ], |
| 28 | out: [ |
| 29 | "android/hardware/vehicle/2.0/types.h", |
| 30 | "android/hardware/vehicle/2.0/IVehicle.h", |
| 31 | "android/hardware/vehicle/2.0/IHwVehicle.h", |
| 32 | "android/hardware/vehicle/2.0/BnVehicle.h", |
| 33 | "android/hardware/vehicle/2.0/BpVehicle.h", |
| 34 | "android/hardware/vehicle/2.0/BsVehicle.h", |
| 35 | "android/hardware/vehicle/2.0/IVehicleCallback.h", |
| 36 | "android/hardware/vehicle/2.0/IHwVehicleCallback.h", |
| 37 | "android/hardware/vehicle/2.0/BnVehicleCallback.h", |
| 38 | "android/hardware/vehicle/2.0/BpVehicleCallback.h", |
| 39 | "android/hardware/vehicle/2.0/BsVehicleCallback.h", |
| 40 | ], |
| 41 | } |
| 42 | |
| 43 | cc_library_shared { |
| 44 | name: "android.hardware.vehicle@2.0", |
| 45 | generated_sources: ["android.hardware.vehicle@2.0_genc++"], |
| 46 | generated_headers: ["android.hardware.vehicle@2.0_genc++_headers"], |
| 47 | export_generated_headers: ["android.hardware.vehicle@2.0_genc++_headers"], |
| 48 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 49 | "libhidlbase", |
| 50 | "libhidltransport", |
Pavel Maltsev | a2f426a | 2016-10-04 10:17:05 -0700 | [diff] [blame] | 51 | "libhwbinder", |
| 52 | "libutils", |
| 53 | "libcutils", |
| 54 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 55 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 56 | "libhidlbase", |
| 57 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 58 | "libhwbinder", |
| 59 | "libutils", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 60 | ], |
Pavel Maltsev | a2f426a | 2016-10-04 10:17:05 -0700 | [diff] [blame] | 61 | } |