summaryrefslogtreecommitdiff
path: root/freetype.gyp
blob: 23463c7455898d08b32b712f9840f1e20a834228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'conditions': [
    [ 'OS == "android"', {
      'targets': [
        {
          'target_name': 'ft2',
          'type': 'static_library',
          'toolsets': ['target'],
          'sources': [
            'src/base/ftbbox.c',
            'src/base/ftbitmap.c',
            'src/base/ftfstype.c',
            'src/base/ftglyph.c',
            'src/base/ftlcdfil.c',
            'src/base/ftstroke.c',
            'src/base/ftxf86.c',
            'src/base/ftbase.c',
            'src/base/ftsystem.c',
            'src/base/ftinit.c',
            'src/base/ftgasp.c',
            'src/base/fttype1.c',
            'src/raster/raster.c',
            'src/sfnt/sfnt.c',
            'src/smooth/smooth.c',
            'src/autofit/autofit.c',
            'src/truetype/truetype.c',
            'src/cff/cff.c',
            'src/psnames/psnames.c',
            'src/pshinter/pshinter.c',
          ],
          'include_dirs': [
            'build',
            'include',
          ],
          'defines': [
            'FT2_BUILD_LIBRARY',
            'DARWIN_NO_CARBON',
          ],
          'direct_dependent_settings': {
            'include_dirs': [
              '../../third_party/freetype/include',
            ],
          },
        },
      ],
    }],
  ],
}