GraphicsEnv is separated from libui
GraphicsEnv class is separated from libui in order to make libui VNDK.
The class is then built as a standalone library named
'libgraphicsenv.so'. Clients that were using the GraphicsEnv class are
also updated to reference the new library.
Bug: 38097618
Test: sailfish builds and boots
Change-Id: I4c35fdff0e92453b98ea21136ef0f99fab01b6f8
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index ab48a7f..452f529 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -53,7 +53,6 @@
"GraphicBuffer.cpp",
"GraphicBufferAllocator.cpp",
"GraphicBufferMapper.cpp",
- "GraphicsEnv.cpp",
"HdrCapabilities.cpp",
"PixelFormat.cpp",
"Rect.cpp",
@@ -67,7 +66,6 @@
"android.hardware.configstore@1.0",
"android.hardware.configstore-utils",
"libbase",
- "libnativeloader",
"libcutils",
"libhardware",
"libhidlbase",
@@ -75,6 +73,7 @@
"libsync",
"libutils",
"liblog",
+ "libgraphicsenv",
],
static_libs: [