aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Perczak <kartapolska@gmail.com>2021-09-05 17:35:52 +0800
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commit603052d0617fe71c4c784d71ebdadf013b0bc36b (patch)
tree5b2768e01e784a9f48fbee20432ce8cae2fd4c13
parentc3376e4e28ac5967e0a945ea8d033d30f84318e4 (diff)
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 <personal@rulim34.dev>
-rw-r--r--Android.mk10
-rw-r--r--proprietary-files.txt1
2 files changed, 10 insertions, 1 deletions
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