OLD | NEW |
1 # Target for building freetype. | 1 # Target for building freetype. |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'freetype', | 5 'target_name': 'freetype', |
6 'type': 'none', | 6 'type': 'none', |
7 'conditions': [ | 7 'conditions': [ |
8 [ 'skia_freetype_static', | 8 [ 'skia_freetype_static', |
9 { | 9 { |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 23 matching lines...) Expand all Loading... |
34 'direct_dependent_settings': { | 34 'direct_dependent_settings': { |
35 'include_dirs' : [ | 35 'include_dirs' : [ |
36 '/usr/include/freetype2', | 36 '/usr/include/freetype2', |
37 ], | 37 ], |
38 'link_settings': { | 38 'link_settings': { |
39 'libraries': [ | 39 'libraries': [ |
40 '-lfreetype', | 40 '-lfreetype', |
41 ], | 41 ], |
42 }, | 42 }, |
43 'defines': [ | 43 'defines': [ |
44 # The font host requires at least FreeType 2.3.0 | 44 # Skia's FreeType port requires at least FreeType 2.3.8 |
45 # at runtime. | 45 # for building and at runtime. |
46 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300', | 46 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020308', |
47 'SK_CAN_USE_DLOPEN=1', | 47 'SK_CAN_USE_DLOPEN=1', |
48 ], | 48 ], |
49 } | 49 } |
50 }, | 50 }, |
51 ], | 51 ], |
52 [ 'skia_android_framework', | 52 [ 'skia_android_framework', |
53 { | 53 { |
54 'direct_dependent_settings': { | 54 'direct_dependent_settings': { |
55 'defines': [ | 55 'defines': [ |
56 # Android provides at least FreeType 2.4.0 | 56 # Android provides at least FreeType 2.4.0 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 '../third_party/externals/freetype/src/type1/type1.c', | 129 '../third_party/externals/freetype/src/type1/type1.c', |
130 '../third_party/externals/freetype/src/type42/type42.c', | 130 '../third_party/externals/freetype/src/type42/type42.c', |
131 '../third_party/externals/freetype/src/winfonts/winfnt.c', | 131 '../third_party/externals/freetype/src/winfonts/winfnt.c', |
132 | 132 |
133 '../third_party/externals/freetype/src/gzip/ftgzip.c', | 133 '../third_party/externals/freetype/src/gzip/ftgzip.c', |
134 '../third_party/externals/freetype/src/lzw/ftlzw.c', | 134 '../third_party/externals/freetype/src/lzw/ftlzw.c', |
135 ], | 135 ], |
136 }, | 136 }, |
137 ], | 137 ], |
138 } | 138 } |
OLD | NEW |