Export common since it's being used directly.
android_color_mode was replaced with ColorMode and
so libui uses the graphics common hal HIDL code
directly and so should also export it.
(used and exported by GraphicsTypes.h)
Bug: 73824924
Test: modules using this header have build breakage fixed
and have the header properly delivered to them without
having to add it to their makefiles.
Change-Id: I6318719b2b5f9cc294273e45dd5015d7258c50f9
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index e477a83..1a9fb8b 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -73,6 +73,7 @@
shared_libs: [
"android.hardware.graphics.allocator@2.0",
+ "android.hardware.graphics.common@1.1",
"android.hardware.graphics.mapper@2.0",
"android.hardware.graphics.mapper@2.1",
"android.hardware.configstore@1.0",
@@ -90,6 +91,10 @@
"liblog",
],
+ export_shared_lib_headers: [
+ "android.hardware.graphics.common@1.1",
+ ],
+
static_libs: [
"libarect",
"libgrallocusage",