diff options
-rw-r--r-- | Android.mk | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ # -# Copyright (C) 2013-2016, The CyanogenMod Project -# Copyright (C) 2017, The LineageOS Project +# Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2018 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -27,17 +27,18 @@ LOCAL_PATH := $(call my-dir) ifneq ($(filter z2_plus z2_row,$(TARGET_DEVICE)),) + include $(call all-makefiles-under,$(LOCAL_PATH)) include $(CLEAR_VARS) IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so -IMS_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/ims/lib/arm64/,$(notdir $(IMS_LIBS))) +IMS_SYMLINKS := $(addprefix $(TARGET_OUT_APPS)/ims/lib/arm64/,$(notdir $(IMS_LIBS))) $(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) @echo "IMS lib link: $@" @mkdir -p $(dir $@) @rm -rf $@ - $(hide) ln -sf /vendor/lib64/$(notdir $@) $@ + $(hide) ln -sf /system/lib64/$(notdir $@) $@ ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS) |