blob: b8d4fdeee54e4cac37383f9dd32d461ece16f647 [file] [log] [blame]
Chia-I Wu109571a2016-09-05 11:46:36 +08001cc_library_shared {
2 name: "android.hardware.graphics.allocator@2.0-impl",
Steven Moreland48c52242017-03-08 16:11:32 -08003 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -08004 proprietary: true,
Chia-I Wu109571a2016-09-05 11:46:36 +08005 relative_install_path: "hw",
6 srcs: ["Gralloc.cpp"],
7 cppflags: ["-Wall", "-Wextra"],
8 shared_libs: [
9 "android.hardware.graphics.allocator@2.0",
10 "libbase",
11 "libcutils",
12 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080013 "libhidlbase",
14 "libhidltransport",
Chia-I Wu109571a2016-09-05 11:46:36 +080015 "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 Moreland48c52242017-03-08 16:11:32 -080022 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -080023 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070024 relative_install_path: "hw",
25 srcs: ["service.cpp"],
26 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
27
28 shared_libs: [
29 "android.hardware.graphics.allocator@2.0",
Yifan Hong6b920e42016-11-16 14:17:58 -080030 "libhidlbase",
31 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070032 "liblog",
33 "libutils",
34 ],
35}
36
Chia-I Wu109571a2016-09-05 11:46:36 +080037cc_library_static {
38 name: "libgralloc1-adapter",
Steven Moreland48c52242017-03-08 16:11:32 -080039 defaults: ["hidl_defaults"],
Chia-I Wu939e4012016-12-12 21:51:33 +080040 srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
Chia-I Wu109571a2016-09-05 11:46:36 +080041 include_dirs: ["system/core/libsync/include"],
42 cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"],
43 export_include_dirs: ["."],
44}