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_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 8 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
9 'direct_dependent_settings': { | 9 'direct_dependent_settings': { |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
(...skipping 19 matching lines...) Expand all Loading... |
30 'freetype_static' | 30 'freetype_static' |
31 ], | 31 ], |
32 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
33 'defines': [ | 33 'defines': [ |
34 # Both Android and NaCl provide at least FreeType 2.4.0 | 34 # Both Android and NaCl provide at least FreeType 2.4.0 |
35 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', | 35 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', |
36 'SK_CAN_USE_DLOPEN=0', | 36 'SK_CAN_USE_DLOPEN=0', |
37 ], | 37 ], |
38 }, | 38 }, |
39 }], | 39 }], |
40 [ 'skia_android_framework', { | |
41 'include_dirs': [ | |
42 'external/expat/lib', | |
43 'external/freetype/include', | |
44 ], | |
45 'libraries': [ | |
46 '-lft2', | |
47 ], | |
48 # Remove these, and use the system's freetype instead. | |
49 'dependencies!': [ | |
50 'freetype_static', | |
51 ], | |
52 'export_dependent_settings!': [ | |
53 'freetype_static', | |
54 ] | |
55 }], | |
56 ], | 40 ], |
57 }, | 41 }, |
58 { | 42 { |
59 'target_name': 'freetype_static', | 43 'target_name': 'freetype_static', |
60 'type': 'static_library', | 44 'type': 'static_library', |
61 'standalone_static_library': 1, | 45 'standalone_static_library': 1, |
62 'dependencies': [ | 46 'dependencies': [ |
63 # we are dependent upon PNG for color emoji glyphs | 47 # we are dependent upon PNG for color emoji glyphs |
64 'images.gyp:images' | 48 'images.gyp:images' |
65 ], | 49 ], |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 '../third_party/externals/freetype/src/type1/type1.c', | 96 '../third_party/externals/freetype/src/type1/type1.c', |
113 '../third_party/externals/freetype/src/type42/type42.c', | 97 '../third_party/externals/freetype/src/type42/type42.c', |
114 '../third_party/externals/freetype/src/winfonts/winfnt.c', | 98 '../third_party/externals/freetype/src/winfonts/winfnt.c', |
115 | 99 |
116 '../third_party/externals/freetype/src/gzip/ftgzip.c', | 100 '../third_party/externals/freetype/src/gzip/ftgzip.c', |
117 '../third_party/externals/freetype/src/lzw/ftlzw.c', | 101 '../third_party/externals/freetype/src/lzw/ftlzw.c', |
118 ], | 102 ], |
119 }, | 103 }, |
120 ], | 104 ], |
121 } | 105 } |
OLD | NEW |