summaryrefslogtreecommitdiff
path: root/cros_gralloc
diff options
context:
space:
mode:
authorRoman Stratiienko <r.stratiienko@gmail.com>2020-12-24 15:43:06 +0200
committerRoman Stratiienko <r.stratiienko@gmail.com>2021-01-23 13:19:00 +0200
commit92b511087d8ace5b73e11928531f80c07b17128b (patch)
tree7edf56e789350b69e558209e4d589b12326a6eff /cros_gralloc
parenta5864eb6c7c5a9dc81bcbbbee35580428fa5a03e (diff)
downloadminigbm-92b511087d8ace5b73e11928531f80c07b17128b.tar.gz
cros_gralloc: add vintf_fragments for gralloc4
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Change-Id: I0c84a7fc3d75a836ab061ca24769a997cbafe844
Diffstat (limited to 'cros_gralloc')
-rw-r--r--cros_gralloc/gralloc4/Android.bp4
-rw-r--r--cros_gralloc/gralloc4/android.hardware.graphics.allocator@4.0.xml11
-rw-r--r--cros_gralloc/gralloc4/android.hardware.graphics.mapper@4.0.xml11
3 files changed, 26 insertions, 0 deletions
diff --git a/cros_gralloc/gralloc4/Android.bp b/cros_gralloc/gralloc4/Android.bp
index 48cd2a8..9c7f79c 100644
--- a/cros_gralloc/gralloc4/Android.bp
+++ b/cros_gralloc/gralloc4/Android.bp
@@ -19,6 +19,8 @@ cc_binary {
vendor: true,
init_rc: ["android.hardware.graphics.allocator@4.0-service.minigbm.rc"],
+ vintf_fragments: ["android.hardware.graphics.allocator@4.0.xml"],
+
cflags: [
"-Wall",
"-Werror",
@@ -53,6 +55,8 @@ cc_library_shared {
relative_install_path: "hw",
vendor: true,
+ vintf_fragments: ["android.hardware.graphics.mapper@4.0.xml"],
+
cflags: [
"-Wall",
"-Werror",
diff --git a/cros_gralloc/gralloc4/android.hardware.graphics.allocator@4.0.xml b/cros_gralloc/gralloc4/android.hardware.graphics.allocator@4.0.xml
new file mode 100644
index 0000000..04695ef
--- /dev/null
+++ b/cros_gralloc/gralloc4/android.hardware.graphics.allocator@4.0.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.graphics.allocator</name>
+ <transport>hwbinder</transport>
+ <version>4.0</version>
+ <interface>
+ <name>IAllocator</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>
diff --git a/cros_gralloc/gralloc4/android.hardware.graphics.mapper@4.0.xml b/cros_gralloc/gralloc4/android.hardware.graphics.mapper@4.0.xml
new file mode 100644
index 0000000..3160c77
--- /dev/null
+++ b/cros_gralloc/gralloc4/android.hardware.graphics.mapper@4.0.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.graphics.mapper</name>
+ <transport arch="32+64">passthrough</transport>
+ <version>4.0</version>
+ <interface>
+ <name>IMapper</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>