From 5d28e0927e2b1388147e9dbfac1bf3614e8e1da4 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 28 Mar 2024 13:11:44 +0000 Subject: [PATCH] sm7125-common: Declare EGL libs as symlinks during extraction Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61 --- Android.mk | 20 -------------------- proprietary-files.txt | 12 ++++++------ 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/Android.mk b/Android.mk index 6ff3dc0..1ba2bc6 100644 --- a/Android.mk +++ b/Android.mk @@ -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 diff --git a/proprietary-files.txt b/proprietary-files.txt index b3ba350..4672292 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -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