From ca574868c5ff5fb13e84ceb34457f57a4c219d5c Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 23 Jun 2024 15:42:45 +0100 Subject: [PATCH] sm6150-common: Declare IMS libs as symlinks during extraction Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa --- Android.mk | 10 ---------- proprietary-files.txt | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Android.mk b/Android.mk index 14a438f..59c7536 100644 --- a/Android.mk +++ b/Android.mk @@ -57,16 +57,6 @@ $(EGL64_SYMLINKS): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(EGL64_SYMLINKS) -IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so -IMS_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBS))) -$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "IMS lib link: $@" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf /system_ext/lib64/$(notdir $@) $@ - -ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS) - WIFI_FIRMWARE_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/ $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE) @echo "Creating wifi firmware symlinks: $@" diff --git a/proprietary-files.txt b/proprietary-files.txt index 7788047..f77c0ba 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -269,8 +269,8 @@ vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml -system_ext/lib64/lib-imsvtextutils.so -system_ext/lib64/lib-imsvtutils.so -system_ext/lib64/libdiag_system.so --system_ext/lib64/libimscamera_jni.so --system_ext/lib64/libimsmedia_jni.so +-system_ext/lib64/libimscamera_jni.so;SYMLINK=system_ext/priv-app/ims/lib/arm64/libimscamera_jni.so +-system_ext/lib64/libimsmedia_jni.so;SYMLINK=system_ext/priv-app/ims/lib/arm64/libimsmedia_jni.so -system_ext/lib64/vendor.qti.diaghal@1.0.so -system_ext/lib64/vendor.qti.imsrtpservice@3.0.so;MODULE=vendor.qti.imsrtpservice@3.0_system_ext -system_ext/lib64/vendor.qti.imsrtpservice@3.1.so;MODULE=vendor.qti.imsrtpservice@3.1_system_ext