common: fix symlinks once and for all
Change-Id: I62a35417df0cf7a257f8f941d7579d861f712f43 Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
parent
a2fec66f99
commit
27c0cb34ce
|
@ -18,13 +18,13 @@ ifneq (,$(filter telephony, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
|
||||
IMS_LIBRARIES := libimscamera_jni.so libimsmedia_jni.so
|
||||
|
||||
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
|
||||
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBRARIES)))
|
||||
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@rm -rf $@
|
||||
@mkdir -p $(dir $@)
|
||||
$(hide) ln -sf $(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/$(notdir $@) $@
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /system/system_ext/lib64/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)
|
||||
|
||||
|
|
|
@ -18,11 +18,13 @@ ifneq (,$(filter wfd, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
WFDSERVICE_SYMLINKS := $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/WfdService/lib/arm64/
|
||||
WFDSERVICE_LIBRARIES := libwfdnative.so
|
||||
|
||||
WFDSERVICE_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/WfdService/lib/arm64/,$(notdir $(WFDSERVICE_LIBRARIES)))
|
||||
$(WFDSERVICE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@rm -rf $@
|
||||
@mkdir -p $(dir $@)
|
||||
$(hide) ln -sf $(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/libwfdnative.so $@/libwfdnative.so
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /system/system_ext/lib64/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(WFDSERVICE_SYMLINKS)
|
||||
|
||||
|
|
|
@ -18,11 +18,13 @@ ifneq (,$(filter telephony, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
CNE_SYMLINKS := $(TARGET_OUT_VENDOR_APPS)/CneApp/lib/arm64/
|
||||
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)
|
||||
@rm -rf $@
|
||||
@mkdir -p $(dir $@)
|
||||
$(hide) ln -sf $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libvndfwk_detect_jni.qti.so $@/libvndfwk_detect_jni.qti.so
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /vendor/lib64/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(CNE_SYMLINKS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue