blob: 315893fe35616cf236c13aea0e520cbd186b3194 [file] [log] [blame]
Chia-I Wu109571a2016-09-05 11:46:36 +08001cc_library_shared {
2 name: "android.hardware.graphics.allocator@2.0-impl",
Steven Morelanda0da1a12017-02-13 09:59:06 -08003 proprietary: true,
Chia-I Wu109571a2016-09-05 11:46:36 +08004 relative_install_path: "hw",
5 srcs: ["Gralloc.cpp"],
6 cppflags: ["-Wall", "-Wextra"],
7 shared_libs: [
8 "android.hardware.graphics.allocator@2.0",
9 "libbase",
10 "libcutils",
11 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080012 "libhidlbase",
13 "libhidltransport",
Chia-I Wu109571a2016-09-05 11:46:36 +080014 "libhwbinder",
15 "liblog",
16 "libutils",
17 ],
18}
19
Chia-I Wu4c0d3972016-10-12 06:11:51 -070020cc_binary {
21 name: "android.hardware.graphics.allocator@2.0-service",
Steven Morelanda0da1a12017-02-13 09:59:06 -080022 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070023 relative_install_path: "hw",
24 srcs: ["service.cpp"],
25 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
26
27 shared_libs: [
28 "android.hardware.graphics.allocator@2.0",
Yifan Hong6b920e42016-11-16 14:17:58 -080029 "libhidlbase",
30 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070031 "libhwbinder",
32 "liblog",
33 "libutils",
34 ],
35}
36
Chia-I Wu109571a2016-09-05 11:46:36 +080037cc_library_static {
38 name: "libgralloc1-adapter",
Chia-I Wu939e4012016-12-12 21:51:33 +080039 srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
Chia-I Wu109571a2016-09-05 11:46:36 +080040 include_dirs: ["system/core/libsync/include"],
41 cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"],
42 export_include_dirs: ["."],
43}