lynx: Add DMService symlinks
Change-Id: I83a73157b5a9cc4359d79339df50c84e43bef53f
This commit is contained in:
parent
f2cd271e45
commit
dc406318b9
1 changed files with 16 additions and 2 deletions
18
Android.mk
18
Android.mk
|
@ -28,6 +28,21 @@ LOCAL_PATH := $(call my-dir)
|
|||
ifneq (,$(filter $(TARGET_DEVICE),lynx))
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
DM_LIBS := libdmengine.so libdmjavaplugin.so
|
||||
DM_32_SYMLINKS := $(addprefix $(TARGET_OUT_PRODUCT)/priv-app/DMService/lib/arm/,$(notdir $(DM_LIBS)))
|
||||
$(DM_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "DMService 32 lib link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /product/lib/$(notdir $@) $@
|
||||
|
||||
DM_64_SYMLINKS := $(addprefix $(TARGET_OUT_PRODUCT)/priv-app/DMService/lib/arm64/,$(notdir $(DM_LIBS)))
|
||||
$(DM_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "DMService 64 lib link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /product/lib64/$(notdir $@) $@
|
||||
|
||||
HBM_LIBS := libhbmsvmanager_jni.so
|
||||
HBM_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT)/priv-app/HbmSVManager/lib/arm64/,$(notdir $(HBM_LIBS)))
|
||||
$(HBM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
|
@ -36,6 +51,5 @@ $(HBM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|||
@rm -rf $@
|
||||
$(hide) ln -sf /system_ext/lib64/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(HBM_SYMLINKS)
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(DM_32_SYMLINKS) $(DM_64_SYMLINKS) $(HBM_SYMLINKS)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue