Chia-I Wu | e78aa1b | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
| 3 | genrule { |
| 4 | name: "android.hardware.graphics.allocator@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.graphics.allocator@2.0", |
Chia-I Wu | e78aa1b | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 7 | srcs: [ |
| 8 | "types.hal", |
| 9 | "IAllocator.hal", |
| 10 | ], |
| 11 | out: [ |
| 12 | "android/hardware/graphics/allocator/2.0/types.cpp", |
| 13 | "android/hardware/graphics/allocator/2.0/AllocatorAll.cpp", |
| 14 | ], |
| 15 | } |
| 16 | |
| 17 | genrule { |
| 18 | name: "android.hardware.graphics.allocator@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.graphics.allocator@2.0", |
Chia-I Wu | e78aa1b | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 21 | srcs: [ |
| 22 | "types.hal", |
| 23 | "IAllocator.hal", |
| 24 | ], |
| 25 | out: [ |
| 26 | "android/hardware/graphics/allocator/2.0/types.h", |
| 27 | "android/hardware/graphics/allocator/2.0/IAllocator.h", |
| 28 | "android/hardware/graphics/allocator/2.0/IHwAllocator.h", |
| 29 | "android/hardware/graphics/allocator/2.0/BnAllocator.h", |
| 30 | "android/hardware/graphics/allocator/2.0/BpAllocator.h", |
| 31 | "android/hardware/graphics/allocator/2.0/BsAllocator.h", |
| 32 | ], |
| 33 | } |
| 34 | |
| 35 | cc_library_shared { |
| 36 | name: "android.hardware.graphics.allocator@2.0", |
| 37 | generated_sources: ["android.hardware.graphics.allocator@2.0_genc++"], |
| 38 | generated_headers: ["android.hardware.graphics.allocator@2.0_genc++_headers"], |
| 39 | export_generated_headers: ["android.hardware.graphics.allocator@2.0_genc++_headers"], |
| 40 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame^] | 41 | "libhidlbase", |
| 42 | "libhidltransport", |
Chia-I Wu | e78aa1b | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 43 | "libhwbinder", |
| 44 | "libutils", |
| 45 | "libcutils", |
| 46 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 47 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame^] | 48 | "libhidlbase", |
| 49 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 50 | "libhwbinder", |
| 51 | "libutils", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 52 | ], |
Chia-I Wu | e78aa1b | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 53 | } |