OLD | NEW |
1 # this is now the default FreeType build for Android | 1 # this is now the default FreeType build for Android |
2 # | 2 # |
3 ifndef USE_FREETYPE | 3 ifndef USE_FREETYPE |
4 USE_FREETYPE := 2.4.2 | 4 USE_FREETYPE := 2.4.2 |
5 endif | 5 endif |
6 | 6 |
7 ifeq ($(USE_FREETYPE),2.4.2) | 7 ifeq ($(USE_FREETYPE),2.4.2) |
8 LOCAL_PATH:= $(call my-dir) | 8 LOCAL_PATH:= $(call my-dir) |
9 include $(CLEAR_VARS) | 9 include $(CLEAR_VARS) |
10 | 10 |
11 # compile in ARM mode, since the glyph loader/renderer is a hotspot | 11 # compile in ARM mode, since the glyph loader/renderer is a hotspot |
12 # when loading complex pages in the browser | 12 # when loading complex pages in the browser |
13 # | 13 # |
14 LOCAL_ARM_MODE := arm | 14 LOCAL_ARM_MODE := arm |
15 | 15 |
16 LOCAL_SRC_FILES:= \ | 16 LOCAL_SRC_FILES:= \ |
17 src/base/ftbbox.c \ | 17 src/base/ftbbox.c \ |
18 src/base/ftbitmap.c \ | 18 src/base/ftbitmap.c \ |
19 src/base/ftfstype.c \ | 19 src/base/ftfstype.c \ |
20 src/base/ftglyph.c \ | 20 src/base/ftglyph.c \ |
21 src/base/ftlcdfil.c \ | 21 src/base/ftlcdfil.c \ |
22 src/base/ftstroke.c \ | 22 src/base/ftstroke.c \ |
23 src/base/fttype1.c \ | 23 src/base/fttype1.c \ |
24 src/base/ftxf86.c \ | 24 src/base/ftxf86.c \ |
25 src/base/ftbase.c \ | 25 src/base/ftbase.c \ |
26 src/base/ftsystem.c \ | 26 src/base/ftsystem.c \ |
27 src/base/ftinit.c \ | 27 src/base/ftinit.c \ |
28 src/base/ftgasp.c \ | 28 src/base/ftgasp.c \ |
| 29 src/base/ftmm.c \ |
29 src/gzip/ftgzip.c \ | 30 src/gzip/ftgzip.c \ |
30 src/raster/raster.c \ | 31 src/raster/raster.c \ |
31 src/sfnt/sfnt.c \ | 32 src/sfnt/sfnt.c \ |
32 src/smooth/smooth.c \ | 33 src/smooth/smooth.c \ |
33 src/autofit/autofit.c \ | 34 src/autofit/autofit.c \ |
34 src/truetype/truetype.c \ | 35 src/truetype/truetype.c \ |
35 src/cff/cff.c \ | 36 src/cff/cff.c \ |
36 src/psnames/psnames.c \ | 37 src/psnames/psnames.c \ |
37 src/pshinter/pshinter.c | 38 src/pshinter/pshinter.c |
38 | 39 |
(...skipping 13 matching lines...) Expand all Loading... |
52 # the following is for testing only, and should not be used in final builds | 53 # the following is for testing only, and should not be used in final builds |
53 # of the product | 54 # of the product |
54 #LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" | 55 #LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" |
55 | 56 |
56 LOCAL_CFLAGS += -O2 | 57 LOCAL_CFLAGS += -O2 |
57 | 58 |
58 LOCAL_MODULE:= libft2 | 59 LOCAL_MODULE:= libft2 |
59 | 60 |
60 include $(BUILD_SHARED_LIBRARY) | 61 include $(BUILD_SHARED_LIBRARY) |
61 endif | 62 endif |
OLD | NEW |