commit-bot@chromium.org | 327c081 | 2013-08-20 18:57:01 +0000 | [diff] [blame] | 1 | { |
| 2 | 'sources': [ |
| 3 | # base components (required) |
| 4 | '../third_party/externals/freetype/src/base/ftsystem.c', |
| 5 | '../third_party/externals/freetype/src/base/ftinit.c', |
| 6 | '../third_party/externals/freetype/src/base/ftdebug.c', |
| 7 | '../third_party/externals/freetype/src/base/ftbase.c', |
| 8 | |
| 9 | '../third_party/externals/freetype/src/base/ftbbox.c', # recommended, see <freetype/ftbbox.h> |
| 10 | '../third_party/externals/freetype/src/base/ftglyph.c', # recommended, see <freetype/ftglyph.h> |
| 11 | |
| 12 | '../third_party/externals/freetype/src/base/ftbitmap.c', # optional, see <freetype/ftbitmap.h> |
| 13 | '../third_party/externals/freetype/src/base/ftfstype.c', # optional |
| 14 | '../third_party/externals/freetype/src/base/ftgasp.c', # optional, see <freetype/ftgasp.h> |
| 15 | '../third_party/externals/freetype/src/base/ftlcdfil.c', # optional, see <freetype/ftlcdfil.h> |
| 16 | '../third_party/externals/freetype/src/base/ftmm.c', # optional, see <freetype/ftmm.h> |
| 17 | '../third_party/externals/freetype/src/base/ftpatent.c', # optional |
| 18 | '../third_party/externals/freetype/src/base/ftstroke.c', # optional, see <freetype/ftstroke.h> |
| 19 | '../third_party/externals/freetype/src/base/ftsynth.c', # optional, see <freetype/ftsynth.h> |
| 20 | '../third_party/externals/freetype/src/base/fttype1.c', # optional, see <freetype/t1tables.h> |
| 21 | '../third_party/externals/freetype/src/base/ftwinfnt.c', # optional, see <freetype/ftwinfnt.h> |
| 22 | '../third_party/externals/freetype/src/base/ftxf86.c', # optional, see <freetype/ftxf86.h> |
| 23 | |
| 24 | # font drivers (optional; at least one is needed) |
| 25 | '../third_party/externals/freetype/src/cff/cff.c', # CFF/OpenType font driver |
| 26 | '../third_party/externals/freetype/src/sfnt/sfnt.c', # SFNT files support (TrueType & OpenType) |
| 27 | '../third_party/externals/freetype/src/truetype/truetype.c', # TrueType font driver |
| 28 | |
| 29 | # rasterizers (optional; at least one is needed for vector formats) |
| 30 | '../third_party/externals/freetype/src/raster/raster.c', # monochrome rasterizer |
| 31 | '../third_party/externals/freetype/src/smooth/smooth.c', # anti-aliasing rasterizer |
| 32 | |
| 33 | # auxiliary modules (optional) |
| 34 | '../third_party/externals/freetype/src/autofit/autofit.c', # auto hinting module |
| 35 | '../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hinting module |
| 36 | '../third_party/externals/freetype/src/psnames/psnames.c', # PostScript glyph names support |
| 37 | ], |
| 38 | 'include_dirs': [ |
| 39 | '../third_party/externals/freetype/internal', |
| 40 | '../third_party/externals/freetype/builds', |
| 41 | '../third_party/externals/freetype/include', |
| 42 | '../third_party/externals/freetype', |
| 43 | ], |
| 44 | 'defines': [ |
| 45 | 'FT2_BUILD_LIBRARY', |
| 46 | ], |
| 47 | 'conditions': [ |
| 48 | [ 'skia_warnings_as_errors', { |
| 49 | 'cflags!': [ |
| 50 | '-Werror', |
| 51 | ], |
| 52 | }], |
| 53 | [ 'skia_os == "mac"', { |
| 54 | 'sources': [ |
| 55 | '../third_party/externals/freetype/src/base/ftmac.c', # only on the Macintosh |
| 56 | ], |
| 57 | }], |
| 58 | ], |
| 59 | 'direct_dependent_settings': { |
| 60 | 'include_dirs': [ |
| 61 | '../third_party/externals/freetype/include', |
| 62 | ], |
| 63 | }, |
| 64 | } |