25 lines
553 B
Makefile
Executable file
25 lines
553 B
Makefile
Executable file
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
include $(LOCAL_PATH)/Common.mk
|
|
|
|
# compile in ARM mode, since the glyph loader/renderer is a hotspot
|
|
# when loading complex pages in the browser
|
|
#
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
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)
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
else
|
|
LOCAL_SRC_FILES := \
|
|
../jni-prebuilt/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
|
endif
|