blob: 59229b06e35f6a1f7f04ba57223c3dd67a200fa3 [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",
Chia-I Wu109571a2016-09-05 11:46:36 +080016 "liblog",
17 "libutils",
18 ],
Chia-I Wu422b94e2018-01-19 15:04:17 -080019 cflags: ["-DLOG_TAG=\"AllocatorHal\""],
Chia-I Wu109571a2016-09-05 11:46:36 +080020}
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",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070033 "liblog",
34 "libutils",
35 ],
36}