OSDN Git Service

Export libui_headers as vndk header only library
authorIsaac Chen <ycchen@google.com>
Thu, 31 Aug 2017 11:05:25 +0000 (19:05 +0800)
committerIsaac Chen <ycchen@google.com>
Thu, 31 Aug 2017 11:05:25 +0000 (19:05 +0800)
Emulator EGL uses libui headers and needs to be built
successfully when BOARD_VNDK_VERSION is enabled.

Bug: 64704866
Test: Built aosp_x86 with BOARD_VNDK_VERSION set to current and
      BOARD_VNDK_RUNTIME_DISABLE set to true. Booted on x86 emulator.

Change-Id: Ic26fc14e61330fcc555501c906a64393afe6145d

libs/ui/Android.bp

index cabe94e..59173cb 100644 (file)
@@ -108,4 +108,10 @@ cc_library_shared {
     ],
 }
 
+cc_library_headers {
+    name: "libui_headers",
+    export_include_dirs: ["include"],
+    vendor_available: true,
+}
+
 subdirs = ["tests"]