blob: 22e22a94fc564404b1b0fb34559544a5bec2c9b4 [file] [log] [blame]
Tao Baia008c172011-11-14 11:57:31 -08001# 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.
4
5{
6 'conditions': [
7 [ 'OS == "android"', {
8 'targets': [
9 {
10 'target_name': 'ft2',
11 'type': 'static_library',
12 'toolsets': ['target'],
13 'sources': [
Xianzhu Wanga2b99552013-12-16 15:51:29 -080014 # The following files are not sorted alphabetically, but in the
15 # same order as in Android.mk to ease maintenance.
Tao Baia008c172011-11-14 11:57:31 -080016 'src/base/ftbbox.c',
17 'src/base/ftbitmap.c',
Yaron Friedman96551fe2012-11-08 13:01:30 -080018 'src/base/ftfstype.c',
Tao Baia008c172011-11-14 11:57:31 -080019 'src/base/ftglyph.c',
20 'src/base/ftlcdfil.c',
21 'src/base/ftstroke.c',
Xianzhu Wanga2b99552013-12-16 15:51:29 -080022 'src/base/fttype1.c',
Tao Baia008c172011-11-14 11:57:31 -080023 'src/base/ftxf86.c',
24 'src/base/ftbase.c',
25 'src/base/ftsystem.c',
26 'src/base/ftinit.c',
27 'src/base/ftgasp.c',
Tao Baia008c172011-11-14 11:57:31 -080028 'src/raster/raster.c',
29 'src/sfnt/sfnt.c',
30 'src/smooth/smooth.c',
31 'src/autofit/autofit.c',
32 'src/truetype/truetype.c',
33 'src/cff/cff.c',
34 'src/psnames/psnames.c',
35 'src/pshinter/pshinter.c',
36 ],
Xianzhu Wanga2b99552013-12-16 15:51:29 -080037 'dependencies': [
38 '../libpng/libpng.gyp:libpng',
39 '../zlib/zlib.gyp:zlib',
40 ],
Tao Baia008c172011-11-14 11:57:31 -080041 'include_dirs': [
42 'build',
43 'include',
44 ],
45 'defines': [
46 'FT2_BUILD_LIBRARY',
47 'DARWIN_NO_CARBON',
48 ],
49 'direct_dependent_settings': {
50 'include_dirs': [
51 '../../third_party/freetype/include',
52 ],
53 },
54 },
55 ],
56 }],
57 ],
58}