Files
hardware_interfaces/graphics/allocator/2.0/default/Android.bp
Chia-I Wu 699df2167a graphics: use allocator HAL support library in default impl
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
2018-01-14 21:39:38 -08:00

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",
],
}