OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 [ 'OS == "android"', { | 7 [ 'OS == "android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'ft2', | 10 'target_name': 'ft2', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'toolsets': ['target'], | 12 'toolsets': ['target'], |
13 'sources': [ | 13 'sources': [ |
| 14 # The following files are not sorted alphabetically, but in the |
| 15 # same order as in Android.mk to ease maintenance. |
14 'src/base/ftbbox.c', | 16 'src/base/ftbbox.c', |
15 'src/base/ftbitmap.c', | 17 'src/base/ftbitmap.c', |
16 'src/base/ftfstype.c', | 18 'src/base/ftfstype.c', |
17 'src/base/ftglyph.c', | 19 'src/base/ftglyph.c', |
18 'src/base/ftlcdfil.c', | 20 'src/base/ftlcdfil.c', |
19 'src/base/ftstroke.c', | 21 'src/base/ftstroke.c', |
| 22 'src/base/fttype1.c', |
20 'src/base/ftxf86.c', | 23 'src/base/ftxf86.c', |
21 'src/base/ftbase.c', | 24 'src/base/ftbase.c', |
22 'src/base/ftsystem.c', | 25 'src/base/ftsystem.c', |
23 'src/base/ftinit.c', | 26 'src/base/ftinit.c', |
24 'src/base/ftgasp.c', | 27 'src/base/ftgasp.c', |
25 'src/base/fttype1.c', | |
26 'src/raster/raster.c', | 28 'src/raster/raster.c', |
27 'src/sfnt/sfnt.c', | 29 'src/sfnt/sfnt.c', |
28 'src/smooth/smooth.c', | 30 'src/smooth/smooth.c', |
29 'src/autofit/autofit.c', | 31 'src/autofit/autofit.c', |
30 'src/truetype/truetype.c', | 32 'src/truetype/truetype.c', |
31 'src/cff/cff.c', | 33 'src/cff/cff.c', |
32 'src/psnames/psnames.c', | 34 'src/psnames/psnames.c', |
33 'src/pshinter/pshinter.c', | 35 'src/pshinter/pshinter.c', |
34 ], | 36 ], |
| 37 'dependencies': [ |
| 38 '../libpng/libpng.gyp:libpng', |
| 39 '../zlib/zlib.gyp:zlib', |
| 40 ], |
35 'include_dirs': [ | 41 'include_dirs': [ |
36 'build', | 42 'build', |
37 'include', | 43 'include', |
38 ], | 44 ], |
39 'defines': [ | 45 'defines': [ |
40 'FT2_BUILD_LIBRARY', | 46 'FT2_BUILD_LIBRARY', |
41 'DARWIN_NO_CARBON', | 47 'DARWIN_NO_CARBON', |
42 ], | 48 ], |
43 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
44 'include_dirs': [ | 50 'include_dirs': [ |
45 '../../third_party/freetype/include', | 51 '../../third_party/freetype/include', |
46 ], | 52 ], |
47 }, | 53 }, |
48 }, | 54 }, |
49 ], | 55 ], |
50 }], | 56 }], |
51 ], | 57 ], |
52 } | 58 } |
OLD | NEW |