misc/libfreetype/Android.mk
author sheepluva
Thu, 24 Nov 2011 19:15:29 +0100
changeset 6418 f1a3c3aab5b4
parent 6043 9bd2d6b1ba52
permissions -rw-r--r--
hide all context menu options for own nick, except for info
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     1
LOCAL_PATH:= $(call my-dir)
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
     2
include $(CLEAR_VARS)
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
     3
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     4
# compile in ARM mode, since the glyph loader/renderer is a hotspot
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     5
# when loading complex pages in the browser
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     6
#
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     7
LOCAL_ARM_MODE := arm
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
     8
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
     9
LOCAL_SRC_FILES:= \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    10
	src/base/ftbbox.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    11
	src/base/ftbitmap.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    12
	src/base/ftglyph.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    13
	src/base/ftstroke.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    14
	src/base/ftxf86.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    15
	src/base/ftbase.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    16
	src/base/ftsystem.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    17
	src/base/ftinit.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    18
	src/base/ftgasp.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    19
	src/raster/raster.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    20
	src/sfnt/sfnt.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    21
	src/smooth/smooth.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    22
	src/autofit/autofit.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    23
	src/truetype/truetype.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    24
	src/cff/cff.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    25
	src/psnames/psnames.c \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    26
	src/pshinter/pshinter.c
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    27
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    28
LOCAL_C_INCLUDES += \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    29
	$(LOCAL_PATH)/builds \
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    30
	$(LOCAL_PATH)/include
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    31
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    32
LOCAL_CFLAGS += -W -Wall
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    33
LOCAL_CFLAGS += -fPIC -DPIC
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    34
LOCAL_CFLAGS += "-DDARWIN_NO_CARBON"
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    35
LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY"
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    36
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    37
# the following is for testing only, and should not be used in final builds
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    38
# of the product
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    39
#LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    40
6043
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    41
LOCAL_CFLAGS += -O2
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    42
9bd2d6b1ba52 update from rev d75329716a02, it really works now (i think)
Xeli
parents: 6039
diff changeset
    43
LOCAL_MODULE:= freetype
6039
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    44
d75329716a02 Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/
Xeli
parents:
diff changeset
    45
include $(BUILD_STATIC_LIBRARY)