26 lines
653 B
Makefile
26 lines
653 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
ifneq ($(TARGET_ARCH_ABI),armeabi-v7a-hard) # Pre-compiled lib disabled for armhf ABI
|
|
ifneq ($(TARGET_ARCH_ABI),arm64-v8a) # Not supported yet
|
|
ifneq ($(TARGET_ARCH_ABI),x86_64) # Not supported yet
|
|
ifneq ($(TARGET_ARCH_ABI),mips64) # Not supported yet
|
|
|
|
LOCAL_MODULE := $(notdir $(LOCAL_PATH))
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a
|
|
|
|
# NDK doesn't add the explicit dependency
|
|
obj/local/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a: $(LOCAL_PATH)/$(LOCAL_SRC_FILES)
|
|
cp -f $< $@
|
|
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
|
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|