From 14fcfc77416087080015b05e32526c891ef9386d Mon Sep 17 00:00:00 2001 From: Stricted Date: Fri, 27 Jul 2018 08:29:19 +0200 Subject: [PATCH] transition to TARGET_LD_SHIM_LIBS Change-Id: Ice33e7b7d1037fdb3e756044d3a4f46ae4cf0b0c --- BoardConfig.mk | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 1a8e534..fe9ef8c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -93,10 +93,19 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_DIR)/bluetooth # RECOVERY TARGET_RECOVERY_FSTAB := $(DEVICE_DIR)/recovery.fstab -# libxlog -TARGET_LDPRELOAD := libxlog.so:libmtk_symbols.so -LINKER_FORCED_SHIM_LIBS := /system/lib/egl/libEGL_mali.so|libxlog.so:/system/lib/egl/libGLESv1_CM_mali.so|libxlog.so:/system/lib/egl/libGLESv2_mali.so|libxlog.so:/system/lib/libMtkOmxVenc.so|libmtk_symbols.so:/system/lib/libcam_utils.so|libmtk_symbols.so:/system/vendor/lib/libwvm.so|libmtk_symbols.so - +# shims +TARGET_LD_SHIM_LIBS := \ + /system/lib/egl/libEGL_mali.so|libxlog.so \ + /system/lib/egl/libGLESv1_CM_mali.so|libxlog.so \ + /system/lib/egl/libGLESv2_mali.so|libxlog.so \ + /system/bin/guiext-server|libmtk_symbols.so \ + /system/lib/libgui_ext.so|libmtk_symbols.so \ + /system/lib/hw/hwcomposer.mt8127.so|libmtk_symbols.so \ + /system/lib/hw/hwcomposer.mt8127.so|libxlog.so \ + /system/lib/libMtkOmxVenc.so|libmtk_symbols.so \ + /system/lib/libcam_utils.so|libmtk_symbols.so \ + /system/lib/libcam.utils.sensorlistener.so|libmtk_symbols.so \ + /system/vendor/lib/libwvm.so|libmtk_symbols.so # SELinux BOARD_SECCOMP_POLICY := $(DEVICE_DIR)/seccomp -- 2.20.1