mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Rename Gralloc0Allocator to Gralloc0Hal and make it inherit from AllocatorHal. Do the same to Gralloc1Allocator. Add GrallocLoader to load either of Gralloc[01]Hal and create a IAllocator instance. Test: boots and VTS Change-Id: I09ae680c0086ca9e73e412a34d7cd2f3665d3bc2
41 lines
1022 B
Plaintext
41 lines
1022 B
Plaintext
cc_library_shared {
|
|
name: "android.hardware.graphics.allocator@2.0-impl",
|
|
defaults: ["hidl_defaults"],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["passthrough.cpp"],
|
|
static_libs: [
|
|
"android.hardware.graphics.allocator@2.0-passthrough",
|
|
],
|
|
header_libs: [
|
|
"android.hardware.graphics.allocator@2.0-hal",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.graphics.allocator@2.0",
|
|
"libbase",
|
|
"libcutils",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.graphics.allocator@2.0-service",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
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",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
}
|