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"], |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 4 | proprietary: true, |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 5 | relative_install_path: "hw", |
Chia-I Wu | 79d13ff | 2017-03-31 12:48:11 -0700 | [diff] [blame] | 6 | srcs: ["Gralloc.cpp", "Gralloc0Allocator.cpp", "Gralloc1Allocator.cpp"], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 7 | cppflags: ["-Wall", "-Wextra"], |
| 8 | shared_libs: [ |
| 9 | "android.hardware.graphics.allocator@2.0", |
| 10 | "libbase", |
| 11 | "libcutils", |
| 12 | "libhardware", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 13 | "libhidlbase", |
| 14 | "libhidltransport", |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 15 | "liblog", |
| 16 | "libutils", |
| 17 | ], |
Steven Moreland | fed1244 | 2017-04-12 09:39:54 -0700 | [diff] [blame] | 18 | header_libs: [ |
| 19 | "libgrallocmapperincludes", |
| 20 | ], |
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 | } |