OLD | NEW |
---|---|
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'freetype', | 4 'target_name': 'freetype', |
5 'type': 'none', | 5 'type': 'none', |
6 'conditions': [ | 6 'conditions': [ |
7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
8 'direct_dependent_settings': { | 8 'direct_dependent_settings': { |
9 'include_dirs' : [ | 9 'include_dirs' : [ |
10 '/usr/include/freetype2', | 10 '/usr/include/freetype2', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 '../third_party/externals/freetype/src/truetype/truetype.c', # TrueType font driver | 74 '../third_party/externals/freetype/src/truetype/truetype.c', # TrueType font driver |
75 | 75 |
76 # rasterizers (optional; at least one is needed for vector formats) | 76 # rasterizers (optional; at least one is needed for vector formats) |
77 '../third_party/externals/freetype/src/raster/raster.c', # monochrom e rasterizer | 77 '../third_party/externals/freetype/src/raster/raster.c', # monochrom e rasterizer |
78 '../third_party/externals/freetype/src/smooth/smooth.c', # anti-alia sing rasterizer | 78 '../third_party/externals/freetype/src/smooth/smooth.c', # anti-alia sing rasterizer |
79 | 79 |
80 # auxiliary modules (optional) | 80 # auxiliary modules (optional) |
81 '../third_party/externals/freetype/src/autofit/autofit.c', # auto hint ing module | 81 '../third_party/externals/freetype/src/autofit/autofit.c', # auto hint ing module |
82 '../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hintin g module | 82 '../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hintin g module |
83 '../third_party/externals/freetype/src/psnames/psnames.c', # PostScrip t glyph names support | 83 '../third_party/externals/freetype/src/psnames/psnames.c', # PostScrip t glyph names support |
84 | |
85 # additional components used by poppler | |
86 '../third_party/externals/freetype/src/base/ftbdf.c', | |
87 '../third_party/externals/freetype/src/base/ftpfr.c', | |
88 | |
89 '../third_party/externals/freetype/src/bdf/bdf.c', | |
90 '../third_party/externals/freetype/src/cid/type1cid.c', | |
91 '../third_party/externals/freetype/src/pcf/pcf.c', | |
92 '../third_party/externals/freetype/src/pfr/pfr.c', | |
93 '../third_party/externals/freetype/src/psaux/psaux.c', | |
94 '../third_party/externals/freetype/src/type1/type1.c', | |
95 '../third_party/externals/freetype/src/type42/type42.c', | |
96 '../third_party/externals/freetype/src/winfonts/winfnt.c', | |
97 | |
98 '../third_party/externals/freetype/src/gzip/ftgzip.c', | |
99 '../third_party/externals/freetype/src/lzw/ftlzw.c', | |
84 ], | 100 ], |
85 'include_dirs': [ | 101 'include_dirs': [ |
86 '../third_party/freetype/include_overrides', | |
vandebo (ex-Chrome)
2013/08/15 16:12:56
Apparently this is the way that skia does local co
ducky
2013/08/15 21:38:14
Directory structure already consistent; for the ot
| |
87 '../third_party/externals/freetype/internal', | 102 '../third_party/externals/freetype/internal', |
88 '../third_party/externals/freetype/builds', | 103 '../third_party/externals/freetype/builds', |
89 '../third_party/externals/freetype/include', | 104 '../third_party/externals/freetype/include', |
105 '../third_party/externals/freetype/include/freetype/config', | |
90 '../third_party/externals/freetype', | 106 '../third_party/externals/freetype', |
91 ], | 107 ], |
92 'cflags': [ | 108 'defines': [ |
93 '-DFT2_BUILD_LIBRARY', | 109 'FT2_BUILD_LIBRARY', |
110 'FT_CONFIG_CONFIG_H=<ftconfig.h>', | |
111 'FT_CONFIG_MODULES_H=<ftmodule.h>', | |
94 ], | 112 ], |
95 'direct_dependent_settings': { | 113 'direct_dependent_settings': { |
114 'defines': [ | |
115 'FT_CONFIG_CONFIG_H=<ftconfig.h>', | |
116 'FT_CONFIG_MODULES_H=<ftmodule.h>', | |
117 ], | |
96 'include_dirs': [ | 118 'include_dirs': [ |
97 '../third_party/freetype/include_overrides', | 119 '../third_party/freetype/include_overrides', |
98 '../third_party/externals/freetype/include', | 120 '../third_party/externals/freetype/include', |
121 '../third_party/externals/freetype/include/freetype/config', | |
vandebo (ex-Chrome)
2013/08/15 16:12:56
This is going to break color fonts. Ideally, we s
ducky
2013/08/15 21:38:14
Separated into another build target.
| |
99 ], | 122 ], |
100 }, | 123 }, |
101 'conditions': [ | 124 'conditions': [ |
102 [ 'skia_warnings_as_errors', { | 125 [ 'skia_warnings_as_errors', { |
103 'cflags!': [ | 126 'cflags!': [ |
104 '-Werror', | 127 '-Werror', |
105 ], | 128 ], |
106 }], | 129 }], |
107 [ 'skia_os == "mac"', { | 130 [ 'skia_os == "mac"', { |
108 'sources': [ | 131 'sources': [ |
(...skipping 16 matching lines...) Expand all Loading... | |
125 ], | 148 ], |
126 }, | 149 }, |
127 ], | 150 ], |
128 } | 151 } |
129 | 152 |
130 # Local Variables: | 153 # Local Variables: |
131 # tab-width:2 | 154 # tab-width:2 |
132 # indent-tabs-mode:nil | 155 # indent-tabs-mode:nil |
133 # End: | 156 # End: |
134 # vim: set expandtab tabstop=2 shiftwidth=2: | 157 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |