diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -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 |