Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / freetype-android / freetype.gyp
blob169f132f1fa667bd646104447343db781ed6a616
1 # Copyright (c) 2011 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.
6   'variables': {
7     'ft2_dir': 'src',
8   },
9   'conditions': [
10     [ 'OS == "android"', {
11       'targets': [
12         {
13           'target_name': 'ft2',
14           'type': 'static_library',
15           'toolsets': ['target'],
16           'sources': [
17             # The following files are not sorted alphabetically, but in the
18             # same order as in Android.mk to ease maintenance.
19             '<(ft2_dir)/src/base/ftbbox.c',
20             '<(ft2_dir)/src/base/ftbitmap.c',
21             '<(ft2_dir)/src/base/ftfntfmt.c',
22             '<(ft2_dir)/src/base/ftfstype.c',
23             '<(ft2_dir)/src/base/ftglyph.c',
24             '<(ft2_dir)/src/base/ftlcdfil.c',
25             '<(ft2_dir)/src/base/ftstroke.c',
26             '<(ft2_dir)/src/base/fttype1.c',
27             '<(ft2_dir)/src/base/ftbase.c',
28             '<(ft2_dir)/src/base/ftsystem.c',
29             '<(ft2_dir)/src/base/ftinit.c',
30             '<(ft2_dir)/src/base/ftgasp.c',
31             '<(ft2_dir)/src/base/ftmm.c',
32             '<(ft2_dir)/src/gzip/ftgzip.c',
33             '<(ft2_dir)/src/raster/raster.c',
34             '<(ft2_dir)/src/sfnt/sfnt.c',
35             '<(ft2_dir)/src/smooth/smooth.c',
36             '<(ft2_dir)/src/autofit/autofit.c',
37             '<(ft2_dir)/src/truetype/truetype.c',
38             '<(ft2_dir)/src/cff/cff.c',
39             '<(ft2_dir)/src/psnames/psnames.c',
40             '<(ft2_dir)/src/pshinter/pshinter.c',
41           ],
42           'dependencies': [
43             '../libpng/libpng.gyp:libpng',
44             '../zlib/zlib.gyp:zlib',
45           ],
46           'include_dirs': [
47             'include',
48             '<(ft2_dir)/include',
49           ],
50           'defines': [
51             'FT2_BUILD_LIBRARY',
52             'DARWIN_NO_CARBON',
53             # Long directory name to avoid accidentally using wrong headers.
54             'FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>',
55             'FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>',
56           ],
57           'direct_dependent_settings': {
58             'include_dirs': [
59               'include',
60               '<(ft2_dir)/include',
61             ],
62           },
63         },
64       ],
65     }],
66   ],