forked from boulzordev/android_device_motorola_sofiar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.mk
22 lines (18 loc) · 787 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LOCAL_PATH := $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH))
IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_PRODUCT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "IMS lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /system/lib64/$(notdir $@) $@
ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)
NXP_LIB := libstnfc_nci_jni.so libnfc_st_dta_jni.so
NXP_SYMLINKS := $(addprefix $(TARGET_OUT_PRODUCT_APPS)/Nfc_st/lib/arm64/,$(notdir $(NXP_LIB)))
$(NXP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "NXP lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /system/product/lib64/$(notdir $@) $@
ALL_DEFAULT_INSTALLED_MODULES += $(NXP_SYMLINKS)