2012-03-03 11:39:38 +01:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2012-05-28 19:19:39 +02:00
|
|
|
include $(LOCAL_PATH)/Common.mk
|
2012-06-16 10:15:06 +02:00
|
|
|
LOCAL_CFLAGS += -fPIC
|
2012-03-03 11:39:38 +01:00
|
|
|
|
2012-03-14 13:48:59 +01:00
|
|
|
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
|
2012-03-23 08:00:12 +01:00
|
|
|
LOCAL_MODULE := expat_static
|
2012-03-03 11:39:38 +01:00
|
|
|
else
|
2012-03-23 08:00:12 +01:00
|
|
|
LOCAL_MODULE := expat_static_neon
|
2012-03-03 11:39:38 +01:00
|
|
|
LOCAL_ARM_NEON := true
|
|
|
|
endif
|
|
|
|
|
2012-10-10 00:11:21 +02:00
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
ifneq ($(OSMAND_USE_PREBUILT),true)
|
|
|
|
|
2012-03-03 11:39:38 +01:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2012-03-23 08:00:12 +01:00
|
|
|
|
|
|
|
else
|
|
|
|
LOCAL_SRC_FILES := \
|
2012-05-31 21:01:27 +02:00
|
|
|
../lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a
|
2012-03-23 08:00:12 +01:00
|
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
|
|
|
endif
|