summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Macnak <natsu@google.com>2022-03-16 14:00:31 -0700
committerJason Macnak <natsu@google.com>2022-03-16 14:01:16 -0700
commit3b5bd44f32e7325f2e4ae47b24969544ed009cf6 (patch)
treef43a201836c953c124dba31a0add3bf330fc128c
parent95b765d807a1e6a213d907f1c99ab931b8fabf4b (diff)
downloadminigbm-3b5bd44f32e7325f2e4ae47b24969544ed009cf6.tar.gz
gralloc: Add libminigbm_gralloc4_utils
... to support upcoming refactoring. Bug: b/223410512 Test: presubmit Change-Id: I66795dc0ddb69edeb80cfd4ff6dbb4fec78d8424
-rw-r--r--cros_gralloc/gralloc4/Android.bp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cros_gralloc/gralloc4/Android.bp b/cros_gralloc/gralloc4/Android.bp
index b779704..fb6aca9 100644
--- a/cros_gralloc/gralloc4/Android.bp
+++ b/cros_gralloc/gralloc4/Android.bp
@@ -40,6 +40,21 @@ filegroup {
],
}
+cc_library {
+ name: "libminigbm_gralloc4_utils",
+ defaults: ["minigbm_cros_gralloc_defaults"],
+ vendor: true,
+ srcs: [
+ "CrosGralloc4Utils.cc",
+ ],
+ shared_libs: [
+ "android.hardware.graphics.mapper@4.0",
+ "libgralloctypes",
+ "libhidlbase",
+ "libminigbm_gralloc",
+ ],
+}
+
cc_defaults {
name: "minigbm_gralloc4_common_defaults",
defaults: ["minigbm_cros_gralloc_defaults"],