Mark libui as vendor_available

libui is used by libgui and libstagefright_foundation which are both in
VNDK. So libui should also be in VNDK.

Bug: 37731063
Test: sailfish builds and boots
Test: 'BOARD_VNDK_VERSION=current m libui' successful
Merged-In: Ia8172a42325e5b5181741dda70048dc68e778b76
Change-Id: Ia8172a42325e5b5181741dda70048dc68e778b76
(cherry picked from commit ea8c878e3b3b8b4bbb264a4776c8a256bb1e329b)
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index 5ccf178..cdcdc0e 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -14,6 +14,7 @@
 
 cc_library_shared {
     name: "libui",
+    vendor_available: true,
 
     clang: true,
     cppflags: [
@@ -61,6 +62,10 @@
         "UiConfig.cpp",
     ],
 
+    include_dirs: [
+        "frameworks/native/include",
+    ],
+
     shared_libs: [
         "android.hardware.graphics.allocator@2.0",
         "android.hardware.graphics.mapper@2.0",