mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +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
30 lines
844 B
Plaintext
30 lines
844 B
Plaintext
cc_library_static {
|
|
name: "android.hardware.graphics.allocator@2.0-passthrough",
|
|
defaults: ["hidl_defaults"],
|
|
vendor: true,
|
|
srcs: [
|
|
"Gralloc0Hal.cpp",
|
|
"Gralloc1Hal.cpp",
|
|
"GrallocLoader.cpp",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.graphics.allocator@2.0",
|
|
"android.hardware.graphics.mapper@2.0",
|
|
"libhardware",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"android.hardware.graphics.allocator@2.0",
|
|
"android.hardware.graphics.mapper@2.0",
|
|
"libhardware",
|
|
],
|
|
header_libs: [
|
|
"android.hardware.graphics.allocator@2.0-hal",
|
|
"libgrallocmapperincludes",
|
|
],
|
|
export_header_lib_headers: [
|
|
"android.hardware.graphics.allocator@2.0-hal",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
cflags: ["-DLOG_TAG=\"AllocatorHal\""],
|
|
}
|