From 603052d0617fe71c4c784d71ebdadf013b0bc36b Mon Sep 17 00:00:00 2001 From: Andrzej Perczak Date: Sun, 5 Sep 2021 17:35:52 +0800 Subject: veux: Symlink libvndfwk_detect_jni.qti for CneApp Needed by CneApp. dlopen failed: library "/system_ext/lib64/libvndfwk_detect_jni.qti.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "vendor-classloader-namespace" Change-Id: I400f03c3cb60acdc4263c24b1096c5961142f03f Signed-off-by: Ahmad Rulim --- Android.mk | 10 ++++++++++ proprietary-files.txt | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 06b9ff7..7f228d4 100644 --- a/Android.mk +++ b/Android.mk @@ -130,4 +130,14 @@ $(Q3DTOOLS_64_SYMLINK): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(EGL_32_SYMLINK) $(GLESv2_32_SYMLINK) $(Q3DTOOLS_32_SYMLINK) $(EGL_64_SYMLINK) $(GLESv2_64_SYMLINK) $(Q3DTOOLS_64_SYMLINK) +CNE_LIBS := libvndfwk_detect_jni.qti.so +CNE_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/CneApp/lib/arm64/,$(notdir $(CNE_LIBS))) +$(CNE_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "Creating CNE lib symlink: $@" + @mkdir -p $(dir $@) + @rm -rf $@ + $(hide) ln -sf /vendor/lib64/$(notdir $@) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(CNE_SYMLINKS) + endif diff --git a/proprietary-files.txt b/proprietary-files.txt index 38c965d..9d8e4e7 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -530,7 +530,6 @@ vendor/lib64/libmdsprpc.so vendor/lib64/libsdsprpc.so # CNE -vendor/app/CneApp/lib/arm64/libvndfwk_detect_jni.qti.so -vendor/app/CneApp/CneApp.apk vendor/bin/cnd vendor/etc/cne/mwqem.conf -- cgit v1.2.3