2016-09-05 11:46:36 +08:00
|
|
|
cc_library_shared {
|
|
|
|
|
name: "android.hardware.graphics.allocator@2.0-impl",
|
2017-03-08 16:11:32 -08:00
|
|
|
defaults: ["hidl_defaults"],
|
2017-12-15 14:41:42 -08:00
|
|
|
vendor: true,
|
2016-09-05 11:46:36 +08:00
|
|
|
relative_install_path: "hw",
|
2017-12-15 14:58:58 -08:00
|
|
|
srcs: ["passthrough.cpp"],
|
|
|
|
|
header_libs: [
|
2018-01-19 15:04:17 -08:00
|
|
|
"android.hardware.graphics.allocator@2.0-passthrough",
|
2017-12-15 14:58:58 -08:00
|
|
|
],
|
2016-09-05 11:46:36 +08:00
|
|
|
shared_libs: [
|
|
|
|
|
"android.hardware.graphics.allocator@2.0",
|
|
|
|
|
"libbase",
|
|
|
|
|
"libcutils",
|
|
|
|
|
"libhardware",
|
2016-11-16 14:17:58 -08:00
|
|
|
"libhidlbase",
|
|
|
|
|
"libhidltransport",
|
2016-09-05 11:46:36 +08:00
|
|
|
"liblog",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
2018-01-19 15:04:17 -08:00
|
|
|
cflags: ["-DLOG_TAG=\"AllocatorHal\""],
|
2016-09-05 11:46:36 +08:00
|
|
|
}
|
|
|
|
|
|
2016-10-12 06:11:51 -07:00
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.graphics.allocator@2.0-service",
|
2017-03-08 16:11:32 -08:00
|
|
|
defaults: ["hidl_defaults"],
|
2017-02-13 09:59:06 -08:00
|
|
|
proprietary: true,
|
2016-10-12 06:11:51 -07:00
|
|
|
relative_install_path: "hw",
|
|
|
|
|
srcs: ["service.cpp"],
|
|
|
|
|
init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
|
|
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"android.hardware.graphics.allocator@2.0",
|
2016-11-16 14:17:58 -08:00
|
|
|
"libhidlbase",
|
|
|
|
|
"libhidltransport",
|
2016-10-12 06:11:51 -07:00
|
|
|
"liblog",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
}
|