1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # We use a hard-coded shared library version in product_extension
12 # in order to match the version used on Ubuntu Precise.
13 # We also disable bzip2 and the ftpatent code to match the version
14 # that shipped on Ubuntu Lucid.
15 'target_name': 'freetype2',
16 'type': 'shared_library',
17 'product_name': 'freetype',
18 'product_extension': 'so.6',
19 'toolsets': ['target'],
21 '<(ft2_dir)/src/base/ftsystem.c',
22 '<(ft2_dir)/src/base/ftinit.c',
23 '<(ft2_dir)/src/base/ftdebug.c',
25 '<(ft2_dir)/src/base/ftbase.c',
27 '<(ft2_dir)/src/base/ftbbox.c',
28 '<(ft2_dir)/src/base/ftglyph.c',
30 '<(ft2_dir)/src/base/ftbdf.c',
31 '<(ft2_dir)/src/base/ftbitmap.c',
32 '<(ft2_dir)/src/base/ftcid.c',
33 '<(ft2_dir)/src/base/ftfstype.c',
34 '<(ft2_dir)/src/base/ftgasp.c',
35 '<(ft2_dir)/src/base/ftgxval.c',
36 '<(ft2_dir)/src/base/ftlcdfil.c',
37 '<(ft2_dir)/src/base/ftmm.c',
38 '<(ft2_dir)/src/base/ftpfr.c',
39 '<(ft2_dir)/src/base/ftstroke.c',
40 '<(ft2_dir)/src/base/ftsynth.c',
41 '<(ft2_dir)/src/base/fttype1.c',
42 '<(ft2_dir)/src/base/ftwinfnt.c',
43 '<(ft2_dir)/src/base/ftxf86.c',
45 '<(ft2_dir)/src/bdf/bdf.c',
46 '<(ft2_dir)/src/cff/cff.c',
47 '<(ft2_dir)/src/cid/type1cid.c',
48 '<(ft2_dir)/src/pcf/pcf.c',
49 '<(ft2_dir)/src/pfr/pfr.c',
50 '<(ft2_dir)/src/sfnt/sfnt.c',
51 '<(ft2_dir)/src/truetype/truetype.c',
52 '<(ft2_dir)/src/type1/type1.c',
53 '<(ft2_dir)/src/type42/type42.c',
54 '<(ft2_dir)/src/winfonts/winfnt.c',
56 '<(ft2_dir)/src/psaux/psaux.c',
57 '<(ft2_dir)/src/psnames/psnames.c',
58 '<(ft2_dir)/src/pshinter/pshinter.c',
60 '<(ft2_dir)/src/raster/raster.c',
61 '<(ft2_dir)/src/smooth/smooth.c',
63 '<(ft2_dir)/src/autofit/autofit.c',
64 '<(ft2_dir)/src/gzip/ftgzip.c',
65 '<(ft2_dir)/src/lzw/ftlzw.c',
68 'FT_CONFIG_OPTION_SYSTEM_ZLIB',
70 'FT_CONFIG_CONFIG_H=<ftconfig.h>', # See comments in README.chromium.
71 'FT_CONFIG_MODULES_H=<ftmodule.h>', # See comments in README.chromium.
77 'direct_dependent_settings': {