summaryrefslogtreecommitdiff
path: root/gralloc4/src/Android.bp
diff options
context:
space:
mode:
authorAnthony Han <modan@google.com>2020-12-07 23:21:23 +0000
committerAnthony Han <modan@google.com>2021-01-28 23:17:55 +0000
commit70d7d1ea5fdc1869d6fb29d57fa2277cb9431a37 (patch)
treeeeab2d29df0735fc3287b03121eaf6f8b1405cca /gralloc4/src/Android.bp
parent3494b96eaa513ce9f46f001c0acc755cdd35087e (diff)
downloadgchips-70d7d1ea5fdc1869d6fb29d57fa2277cb9431a37.tar.gz
Gralloc 4: Implement libGralloc4Wrapper
Port libGrallocWrapper to libGralloc4Wrapper. Add a new optional parameter to the standard allocation path that sets the Gralloc fd to a user provided fd instead of having ion allocate an fd. Add metadata to libGralloc4Wrapper implementation, amend DRM table to support new formats. Test: aion_test Bug: 168763166 Change-Id: I3776b1cf2488969fa0ff2f0d744f329048008719
Diffstat (limited to 'gralloc4/src/Android.bp')
-rw-r--r--gralloc4/src/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gralloc4/src/Android.bp b/gralloc4/src/Android.bp
index c85b8f0..0b4b64a 100644
--- a/gralloc4/src/Android.bp
+++ b/gralloc4/src/Android.bp
@@ -42,6 +42,7 @@ cc_library_shared {
"core/mali_gralloc_formats.cpp",
"core/mali_gralloc_bufferallocation.cpp",
"core/mali_gralloc_debug.cpp",
+ ":libgralloc_hidl_common_shared_metadata",
],
cflags: [
"-DGRALLOC_LIBRARY_BUILD=1",
@@ -61,6 +62,8 @@ cc_library_shared {
"libion_google",
"android.hardware.graphics.common@1.2",
"libdmabufheap",
+ "libgralloctypes",
+ "libdrm",
],
header_libs: [
"google_hal_headers",