aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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