common: telephony: Create symlink target for CneApp

Change-Id: Ic9629b046e078ca170fe081952749b8e51899ff6
This commit is contained in:
Bruno Martins 2024-03-28 14:10:14 +00:00 committed by chrisl7
parent 63cf22a26e
commit 78a522db4d
2 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,13 @@
soong_namespace {
}
install_symlink {
name: "CneApp.libvndfwk_detect_jni.qti_symlink",
vendor: true,
installed_location: "app/CneApp/lib/arm64/libvndfwk_detect_jni.qti.so",
symlink_target: "/vendor/lib64/libvndfwk_detect_jni.qti.so",
}
prebuilt_hidl_interfaces {
name: "hidl_embmssl_interface",
interfaces: [

View File

@ -18,14 +18,4 @@ ifneq (,$(filter telephony, $(TARGET_COMMON_QTI_COMPONENTS)))
include $(CLEAR_VARS)
CNE_LIBRARIES := libvndfwk_detect_jni.qti.so
CNE_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/CneApp/lib/arm64/,$(notdir $(CNE_LIBRARIES)))
$(CNE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /vendor/lib64/$(notdir $@) $@
ALL_DEFAULT_INSTALLED_MODULES += $(CNE_SYMLINKS)
endif