blob: 9980ae0f2f73ac16e61159fd0c23a59471ab3b94 [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 Wu699df212017-12-15 14:58:58 -08006 srcs: ["passthrough.cpp"],
Chia-I Wu699df212017-12-15 14:58:58 -08007 header_libs: [
Chia-I Wu422b94e2018-01-19 15:04:17 -08008 "android.hardware.graphics.allocator@2.0-passthrough",
Chia-I Wu699df212017-12-15 14:58:58 -08009 ],
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 ],
Chia-I Wu422b94e2018-01-19 15:04:17 -080020 cflags: ["-DLOG_TAG=\"AllocatorHal\""],
Chia-I Wu109571a2016-09-05 11:46:36 +080021}
22
Chia-I Wu4c0d3972016-10-12 06:11:51 -070023cc_binary {
24 name: "android.hardware.graphics.allocator@2.0-service",
Steven Moreland48c52242017-03-08 16:11:32 -080025 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -080026 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070027 relative_install_path: "hw",
28 srcs: ["service.cpp"],
29 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
30
31 shared_libs: [
32 "android.hardware.graphics.allocator@2.0",
Yifan Hong6b920e42016-11-16 14:17:58 -080033 "libhidlbase",
34 "libhidltransport",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070035 "liblog",
36 "libutils",
37 ],
38}