mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
graphics: make allocator default impl a static library
am: b511645d99
Change-Id: I819a76dd72a045e2b6e0f29106babc6c6785c895
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
cc_library_shared {
|
||||
name: "android.hardware.graphics.allocator@2.0-impl",
|
||||
defaults: ["hidl_defaults"],
|
||||
proprietary: true,
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
srcs: ["Gralloc.cpp", "Gralloc0Allocator.cpp", "Gralloc1Allocator.cpp"],
|
||||
cppflags: ["-Wall", "-Wextra"],
|
||||
srcs: ["Gralloc.cpp"],
|
||||
static_libs: [
|
||||
"android.hardware.graphics.allocator@2.0-passthrough",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.graphics.allocator@2.0",
|
||||
"libbase",
|
||||
@@ -15,9 +17,6 @@ cc_library_shared {
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
header_libs: [
|
||||
"libgrallocmapperincludes",
|
||||
],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
|
||||
23
graphics/allocator/2.0/utils/passthrough/Android.bp
Normal file
23
graphics/allocator/2.0/utils/passthrough/Android.bp
Normal file
@@ -0,0 +1,23 @@
|
||||
cc_library_static {
|
||||
name: "android.hardware.graphics.allocator@2.0-passthrough",
|
||||
defaults: ["hidl_defaults"],
|
||||
vendor: true,
|
||||
srcs: [
|
||||
"Gralloc0Allocator.cpp",
|
||||
"Gralloc1Allocator.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",
|
||||
],
|
||||
export_include_dirs: ["."],
|
||||
header_libs: [
|
||||
"libgrallocmapperincludes",
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user