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