vndk: remove some vndk-sp libs from the list.

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: I1b969c5219c4e47a512bbbcd9558d615bd326d88
This commit is contained in:
Justin Yun
2017-07-31 16:39:31 +09:00
parent 7fef18b55e
commit b1b236286b

View File

@@ -6,14 +6,8 @@ VNDK_SP_LIBRARIES := \
android.hardware.graphics.allocator@2.0\
android.hardware.graphics.mapper@2.0\
android.hardware.graphics.common@1.0\
libhwbinder\
libbase\
libcutils\
libhardware\
libhidlbase\
libhidltransport\
libutils\
libc++\
libRS_internal\
libRSDriver\
libRSCpuRef\
@@ -22,10 +16,21 @@ VNDK_SP_LIBRARIES := \
libft2\
libpng\
libcompiler_rt\
ifndef BOARD_VNDK_VERSION
VNDK_SP_LIBRARIES += \
libhwbinder\
libbase\
libcutils\
libhardware\
libutils\
libc++\
libbacktrace\
libunwind\
liblzma\
endif
define add-vndk-sp-lib
include $$(CLEAR_VARS)
LOCAL_MODULE := $1.vndk-sp