Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
| 3 | genrule { |
| 4 | name: "android.hardware.example.extension.light@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.example.extension.light@2.0", |
Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame] | 7 | srcs: [ |
| 8 | "types.hal", |
| 9 | "IExtLight.hal", |
| 10 | ], |
| 11 | out: [ |
| 12 | "android/hardware/example/extension/light/2.0/types.cpp", |
| 13 | "android/hardware/example/extension/light/2.0/ExtLightAll.cpp", |
| 14 | ], |
| 15 | } |
| 16 | |
| 17 | genrule { |
| 18 | name: "android.hardware.example.extension.light@2.0_genc++_headers", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 19 | tools: ["hidl-gen"], |
| 20 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.example.extension.light@2.0", |
Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame] | 21 | srcs: [ |
| 22 | "types.hal", |
| 23 | "IExtLight.hal", |
| 24 | ], |
| 25 | out: [ |
| 26 | "android/hardware/example/extension/light/2.0/types.h", |
| 27 | "android/hardware/example/extension/light/2.0/IExtLight.h", |
| 28 | "android/hardware/example/extension/light/2.0/IHwExtLight.h", |
| 29 | "android/hardware/example/extension/light/2.0/BnExtLight.h", |
| 30 | "android/hardware/example/extension/light/2.0/BpExtLight.h", |
| 31 | "android/hardware/example/extension/light/2.0/BsExtLight.h", |
| 32 | ], |
| 33 | } |
| 34 | |
| 35 | cc_library_shared { |
| 36 | name: "android.hardware.example.extension.light@2.0", |
| 37 | generated_sources: ["android.hardware.example.extension.light@2.0_genc++"], |
| 38 | generated_headers: ["android.hardware.example.extension.light@2.0_genc++_headers"], |
| 39 | export_generated_headers: ["android.hardware.example.extension.light@2.0_genc++_headers"], |
| 40 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame^] | 41 | "libhidlbase", |
| 42 | "libhidltransport", |
Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame] | 43 | "libhwbinder", |
| 44 | "libutils", |
| 45 | "libcutils", |
| 46 | "android.hardware.light@2.0", |
| 47 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 48 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame^] | 49 | "libhidlbase", |
| 50 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 51 | "libhwbinder", |
| 52 | "libutils", |
Yifan Hong | c2f2779 | 2016-11-07 15:38:41 -0800 | [diff] [blame] | 53 | "android.hardware.light@2.0", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 54 | ], |
Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame] | 55 | } |