OsmAnd/OsmAnd-java/Android.mk

29 lines
632 B
Makefile
Raw Normal View History

2013-08-07 21:34:30 +02:00
LOCAL_PATH := $(call my-dir)
2013-08-08 15:00:52 +02:00
include $(CLEAR_VARS)
2013-08-07 21:34:30 +02:00
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
LOCAL_MODULE := OsmAndJNI
else
LOCAL_MODULE := OsmAndJNI_neon
LOCAL_ARM_NEON := true
endif
ifeq ($(LOCAL_ARM_NEON),true)
OSMAND_BINARY_SUFFIX := _neon
else
OSMAND_BINARY_SUFFIX :=
endif
LOCAL_STATIC_LIBRARIES := OsmAndCore$(OSMAND_BINARY_SUFFIX)
ifneq ($(OSMAND_USE_PREBUILT),true)
2013-08-08 14:54:27 +02:00
LOCAL_SRC_FILES := c-src/swig.c
2013-08-07 21:34:30 +02:00
include $(BUILD_SHARED_LIBRARY)
else
LOCAL_SRC_FILES := \
$(OSMAND_ANDROID_PREBUILT_ROOT)/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).so
include $(PREBUILT_SHARED_LIBRARY)
endif