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
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