Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "android.hardware.graphics.allocator@2.0-impl", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 3 | defaults: ["hidl_defaults"], |
Chia-I Wu | b511645 | 2017-12-15 14:41:42 -0800 | [diff] [blame] | 4 | vendor: true, |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 5 | relative_install_path: "hw", |
Chia-I Wu | b511645 | 2017-12-15 14:41:42 -0800 | [diff] [blame] | 6 | srcs: ["Gralloc.cpp"], |
| 7 | static_libs: [ |
| 8 | "android.hardware.graphics.allocator@2.0-passthrough", |
| 9 | ], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 10 | shared_libs: [ |
| 11 | "android.hardware.graphics.allocator@2.0", |
| 12 | "libbase", |
| 13 | "libcutils", |
| 14 | "libhardware", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 15 | "libhidlbase", |
| 16 | "libhidltransport", |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 17 | "liblog", |
| 18 | "libutils", |
| 19 | ], |
| 20 | } |
| 21 | |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 22 | cc_binary { |
| 23 | name: "android.hardware.graphics.allocator@2.0-service", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 24 | defaults: ["hidl_defaults"], |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 25 | proprietary: true, |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 26 | relative_install_path: "hw", |
| 27 | srcs: ["service.cpp"], |
| 28 | init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "android.hardware.graphics.allocator@2.0", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 32 | "libhidlbase", |
| 33 | "libhidltransport", |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 34 | "liblog", |
| 35 | "libutils", |
| 36 | ], |
| 37 | } |