summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-07-25 17:48:01 -0700
committerJean-Baptiste Queru <jbq@google.com>2009-07-25 17:48:01 -0700
commitdc280eeb0aa3d55aaf6584c86623bf999ebd1736 (patch)
tree14b8437e23a816c57512fe472fdef4c7875c2eba /Android.mk
parent885cd2c19cbf73725d51f6b184d087b28343de1e (diff)
parent77f63d23f7d380b0ff02c18fd6a154ab9063128a (diff)
downloadandroid_external_freetype-dc280eeb0aa3d55aaf6584c86623bf999ebd1736.tar.gz
android_external_freetype-dc280eeb0aa3d55aaf6584c86623bf999ebd1736.tar.bz2
android_external_freetype-dc280eeb0aa3d55aaf6584c86623bf999ebd1736.zip
Merge korg/donut into korg/master
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk16
1 files changed, 3 insertions, 13 deletions
diff --git a/Android.mk b/Android.mk
index 1ebddfa..70b2e46 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,10 +1,10 @@
# this is now the default FreeType build for Android
#
ifndef USE_FREETYPE
-USE_FREETYPE := 2.3.6
+USE_FREETYPE := 2.3.9
endif
-ifeq ($(USE_FREETYPE),2.3.6)
+ifeq ($(USE_FREETYPE),2.3.9)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -23,7 +23,6 @@ LOCAL_SRC_FILES:= \
src/base/ftsystem.c \
src/base/ftinit.c \
src/base/ftgasp.c \
- src/base/ftadvanc.c \
src/raster/raster.c \
src/sfnt/sfnt.c \
src/smooth/smooth.c \
@@ -42,13 +41,6 @@ LOCAL_CFLAGS += -fPIC -DPIC
LOCAL_CFLAGS += "-DDARWIN_NO_CARBON"
LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY"
-# only enable this if you want to enable our ugly font hack
-# to be able to switch the system's font hinting at runtime
-# through our modified Development Settings. the change will
-# only happen when you reboot or restart an application
-#
-LOCAL_CFLAGS += -DANDROID_FONT_HACK=1
-
# enable the FreeType internal memory debugger in the simulator
# you need to define the FT2_DEBUG_MEMORY environment variable
# when running the program to activate it. It will dump memory
@@ -67,9 +59,7 @@ endif
# of the product
#LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
-ifeq ($(TARGET_BUILD_TYPE),release)
- LOCAL_CFLAGS += -O2
-endif
+LOCAL_CFLAGS += -O2
LOCAL_MODULE:= libft2