OSDN Git Service

vndk: remove some vndk-sp libs from the list.
authorJustin Yun <justinyun@google.com>
Mon, 31 Jul 2017 08:03:22 +0000 (17:03 +0900)
committerJustin Yun <justinyun@google.com>
Wed, 2 Aug 2017 08:34:35 +0000 (17:34 +0900)
With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I808175aa399fe72de5d3732c1b66b3268f2fab8a

vndk/vndk-sp-libs.mk

index 2e1c2bb..d8b037b 100644 (file)
@@ -7,21 +7,26 @@ VNDK_SP_LIBRARIES := \
     libRSCpuRef \
     libRSDriver \
     libRS_internal \
-    libbacktrace \
-    libbase \
     libbcinfo \
     libblas \
-    libc++ \
     libcompiler_rt \
-    libcutils \
     libft2 \
-    libhardware \
     libhidlbase \
     libhidlmemory \
     libhidltransport \
+    libpng \
+
+ifndef BOARD_VNDK_VERSION
+VNDK_SP_LIBRARIES += \
+    libbacktrace \
+    libbase \
+    libc++ \
+    libcutils \
+    libhardware \
     libhwbinder \
     libion \
     liblzma \
-    libpng \
     libunwind \
     libutils \
+
+endif