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", |
| 6 | srcs: ["Gralloc.cpp"], |
| 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 | ], |
| 18 | } |
| 19 | |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 20 | cc_binary { |
| 21 | name: "android.hardware.graphics.allocator@2.0-service", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 22 | defaults: ["hidl_defaults"], |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 23 | proprietary: true, |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 24 | relative_install_path: "hw", |
| 25 | srcs: ["service.cpp"], |
| 26 | init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], |
| 27 | |
| 28 | shared_libs: [ |
| 29 | "android.hardware.graphics.allocator@2.0", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 30 | "libhidlbase", |
| 31 | "libhidltransport", |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 32 | "liblog", |
| 33 | "libutils", |
| 34 | ], |
| 35 | } |
| 36 | |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 37 | cc_library_static { |
| 38 | name: "libgralloc1-adapter", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 39 | defaults: ["hidl_defaults"], |
Chia-I Wu | 939e401 | 2016-12-12 21:51:33 +0800 | [diff] [blame] | 40 | srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 41 | include_dirs: ["system/core/libsync/include"], |
| 42 | cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"], |
| 43 | export_include_dirs: ["."], |
| 44 | } |