blob: f100d960304da5427b4d7983aeaa3aff000ee378 [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"],
Chia-I Wub5116452017-12-15 14:41:42 -08004 vendor: true,
Chia-I Wu109571a2016-09-05 11:46:36 +08005 relative_install_path: "hw",
Chia-I Wub5116452017-12-15 14:41:42 -08006 srcs: ["Gralloc.cpp"],
7 static_libs: [
8 "android.hardware.graphics.allocator@2.0-passthrough",
9 ],
Chia-I Wu109571a2016-09-05 11:46:36 +080010 shared_libs: [
11 "android.hardware.graphics.allocator@2.0",
12 "libbase",
13 "libcutils",
14 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080015 "libhidlbase",
16 "libhidltransport",
Chia-I Wu109571a2016-09-05 11:46:36 +080017 "liblog",
18 "libutils",
19 ],
20}
21
Chia-I Wu4c0d3972016-10-12 06:11:51 -070022cc_binary {
23 name: "android.hardware.graphics.allocator@2.0-service",
Steven Moreland48c52242017-03-08 16:11:32 -080024 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -080025 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070026 relative_install_path: "hw",
27 srcs: ["service.cpp"],
28 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
29
30 shared_libs: [
31 "android.hardware.graphics.allocator@2.0",
Yifan Hong6b920e42016-11-16 14:17:58 -080032 "libhidlbase",
33 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070034 "liblog",
35 "libutils",
36 ],
37}