1
LOCAL_PATH:= $(call my-dir)
4
# compile in ARM mode, since the glyph loader/renderer is a hotspot
5
# when loading complex pages in the browser
22
src/autofit/autofit.c \
23
src/truetype/truetype.c \
25
src/psnames/psnames.c \
26
src/pshinter/pshinter.c
29
$(LOCAL_PATH)/builds \
32
LOCAL_CFLAGS += -W -Wall
33
LOCAL_CFLAGS += -fPIC -DPIC
34
LOCAL_CFLAGS += "-DDARWIN_NO_CARBON"
35
LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY"
37
# the following is for testing only, and should not be used in final builds
39
#LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
43
LOCAL_MODULE:= freetype
45
include $(BUILD_STATIC_LIBRARY)