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 | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 6 | srcs: ["passthrough.cpp"], |
Chia-I Wu | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 7 | header_libs: [ |
Chia-I Wu | 422b94e | 2018-01-19 15:04:17 -0800 | [diff] [blame] | 8 | "android.hardware.graphics.allocator@2.0-passthrough", |
Chia-I Wu | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 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 | ], |
Chia-I Wu | 422b94e | 2018-01-19 15:04:17 -0800 | [diff] [blame] | 20 | cflags: ["-DLOG_TAG=\"AllocatorHal\""], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 21 | } |
| 22 | |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 23 | cc_binary { |
| 24 | name: "android.hardware.graphics.allocator@2.0-service", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 25 | defaults: ["hidl_defaults"], |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 26 | proprietary: true, |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 27 | relative_install_path: "hw", |
| 28 | srcs: ["service.cpp"], |
| 29 | init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], |
| 30 | |
| 31 | shared_libs: [ |
| 32 | "android.hardware.graphics.allocator@2.0", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 33 | "libhidlbase", |
| 34 | "libhidltransport", |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 35 | "liblog", |
| 36 | "libutils", |
| 37 | ], |
| 38 | } |