blob: 67409d7b93d9282ef407a0d0125ef837bfc5486d [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 "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",
Steven Morelanda0da1a12017-02-13 09:59:06 -080021 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070022 relative_install_path: "hw",
23 srcs: ["service.cpp"],
24 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
25
26 shared_libs: [
27 "android.hardware.graphics.allocator@2.0",
Yifan Hong6b920e42016-11-16 14:17:58 -080028 "libhidlbase",
29 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070030 "liblog",
31 "libutils",
32 ],
33}
34
Chia-I Wu109571a2016-09-05 11:46:36 +080035cc_library_static {
36 name: "libgralloc1-adapter",
Chia-I Wu939e4012016-12-12 21:51:33 +080037 srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
Chia-I Wu109571a2016-09-05 11:46:36 +080038 include_dirs: ["system/core/libsync/include"],
39 cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"],
40 export_include_dirs: ["."],
41}