OSDN Git Service

Remove all copies of vndk-sp modules
authorJustin Yun <justinyun@google.com>
Mon, 14 Aug 2017 01:58:06 +0000 (10:58 +0900)
committerJustin Yun <justinyun@google.com>
Mon, 14 Aug 2017 03:00:46 +0000 (03:00 +0000)
With BOARD_VNDK_VERSION=current, the vendor variant of vndk-sp will
be installed to system/lib(64)/vndk-sp by build system if they have
"vndk: { enabled: true, support_system_process: true }" in their
Android.bp files.

Skip generating the copies of vndk-sp modules when BOARD_VNDK_VERSION
is defined.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I160ee995cbbb91e3d005bca5508312ec56bdec52

vndk/vndk-sp-libs.mk

index e3dab54..6957a1d 100644 (file)
@@ -1,13 +1,3 @@
-VNDK_SP_LIBRARIES := \
-    libRSCpuRef \
-    libRSDriver \
-    libRS_internal \
-    libbcinfo \
-    libblas \
-    libcompiler_rt \
-    libft2 \
-    libpng \
-
 ifndef BOARD_VNDK_VERSION
 VNDK_SP_LIBRARIES += \
     android.hardware.graphics.allocator@2.0 \
@@ -19,6 +9,14 @@ VNDK_SP_LIBRARIES += \
     libbase \
     libc++ \
     libcutils \
+    libRSCpuRef \
+    libRSDriver \
+    libRS_internal \
+    libbcinfo \
+    libblas \
+    libcompiler_rt \
+    libft2 \
+    libpng \
     libhardware \
     libhwbinder \
     libion \