sm7125-common: Declare EGL libs as symlinks during extraction

Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
fourteen
Bruno Martins 9 months ago committed by Jenna
parent b30942a5a1
commit 5d28e0927e
  1. 20
      Android.mk
  2. 12
      proprietary-files.txt

@ -44,24 +44,4 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT) $(FIRMWARE_MODEM_MOUNT_POINT)
EGL_LIBS := libq3dtools_adreno.so libGLESv2_adreno.so libEGL_adreno.so
EGL_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/,$(notdir $(EGL_LIBS)))
$(EGL_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "EGL 32 lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf egl/$(notdir $@) $@
EGL_64_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib64/,$(notdir $(EGL_LIBS)))
$(EGL_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "EGL lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf egl/$(notdir $@) $@
ALL_DEFAULT_INSTALLED_MODULES += \
$(EGL_32_SYMLINKS) \
$(EGL_64_SYMLINKS)
endif

@ -679,18 +679,18 @@ vendor/lib64/libqseed3.so
vendor/lib/hw/vulkan.adreno.so
vendor/lib64/hw/vulkan.adreno.so
# Adreno
vendor/lib/egl/libq3dtools_adreno.so
vendor/lib64/egl/libq3dtools_adreno.so
vendor/lib/egl/libq3dtools_adreno.so;SYMLINK=vendor/lib/libq3dtools_adreno.so
vendor/lib64/egl/libq3dtools_adreno.so;SYMLINK=vendor/lib64/libq3dtools_adreno.so
vendor/lib/egl/libq3dtools_esx.so
vendor/lib64/egl/libq3dtools_esx.so
vendor/lib/egl/libEGL_adreno.so
vendor/lib64/egl/libEGL_adreno.so
vendor/lib/egl/libEGL_adreno.so;SYMLINK=vendor/lib/libEGL_adreno.so
vendor/lib64/egl/libEGL_adreno.so;SYMLINK=vendor/lib64/libEGL_adreno.so
vendor/lib/egl/eglSubDriverAndroid.so
vendor/lib64/egl/eglSubDriverAndroid.so
vendor/lib/egl/libGLESv1_CM_adreno.so
vendor/lib64/egl/libGLESv1_CM_adreno.so
vendor/lib/egl/libGLESv2_adreno.so
vendor/lib64/egl/libGLESv2_adreno.so
vendor/lib/egl/libGLESv2_adreno.so;SYMLINK=vendor/lib/libGLESv2_adreno.so
vendor/lib64/egl/libGLESv2_adreno.so;SYMLINK=vendor/lib64/libGLESv2_adreno.so
vendor/lib/libadreno_utils.so
vendor/lib64/libadreno_utils.so

Loading…
Cancel
Save