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