blob: 994feb307ed29f8a39c946b70a6af1f334f3e0c6 [file] [log] [blame]
Chia-I Wu109571a2016-09-05 11:46:36 +08001cc_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 Hong6b920e42016-11-16 14:17:58 -080011 "libhidlbase",
12 "libhidltransport",
Chia-I Wu109571a2016-09-05 11:46:36 +080013 "libhwbinder",
14 "liblog",
15 "libutils",
16 ],
17}
18
Chia-I Wu4c0d3972016-10-12 06:11:51 -070019cc_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 Hong6b920e42016-11-16 14:17:58 -080027 "libhidlbase",
28 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070029 "libhwbinder",
30 "liblog",
31 "libutils",
32 ],
33}
34
Chia-I Wu109571a2016-09-05 11:46:36 +080035cc_library_static {
36 name: "libgralloc1-adapter",
37 srcs: ["gralloc1-adapter.c"],
38 include_dirs: ["system/core/libsync/include"],
39 cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"],
40 export_include_dirs: ["."],
41}