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 | |
| 18 | cc_library_static { |
| 19 | name: "libgralloc1-adapter", |
| 20 | srcs: ["gralloc1-adapter.c"], |
| 21 | include_dirs: ["system/core/libsync/include"], |
| 22 | cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"], |
| 23 | export_include_dirs: ["."], |
| 24 | } |