2012-03-03 11:39:38 +01:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
2012-05-01 01:43:09 +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
|
|
|
|
|
|
|
# compile in ARM mode, since the glyph loader/renderer is a hotspot
|
|
|
|
# when loading complex pages in the browser
|
|
|
|
#
|
|
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
|
|
|
|
LOCAL_MODULE := ft2_static
|
|
|
|
else
|
|
|
|
LOCAL_MODULE := ft2_static_neon
|
|
|
|
LOCAL_ARM_NEON := true
|
|
|
|
endif
|
|
|
|
|
|
|
|
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)
|
2012-04-30 01:51:51 +02:00
|
|
|
endif
|