aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/freetype.gyp
blob: 4a885a1ccfa91927c3df0c1bc08d47a88f61ade6 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
  'targets': [
    {
      'target_name': 'skfreetype',
      'type': 'static_library',
      'sources': [
        '../third_party/freetype/src/base/ftbbox.c',
        '../third_party/freetype/src/base/ftbitmap.c',
        '../third_party/freetype/src/base/ftglyph.c',
        '../third_party/freetype/src/base/ftlcdfil.c',
        '../third_party/freetype/src/base/ftstroke.c',
        '../third_party/freetype/src/base/ftxf86.c',
        '../third_party/freetype/src/base/ftbase.c',
        '../third_party/freetype/src/base/ftsystem.c',
        '../third_party/freetype/src/base/ftinit.c',
        '../third_party/freetype/src/base/ftgasp.c',
        '../third_party/freetype/src/base/ftfstype.c',
        '../third_party/freetype/src/raster/raster.c',
        '../third_party/freetype/src/sfnt/sfnt.c',
        '../third_party/freetype/src/smooth/smooth.c',
        '../third_party/freetype/src/autofit/autofit.c',
        '../third_party/freetype/src/truetype/truetype.c',
        '../third_party/freetype/src/cff/cff.c',
        '../third_party/freetype/src/psnames/psnames.c',
        '../third_party/freetype/src/pshinter/pshinter.c',

# added for linker
        '../third_party/freetype/src/lzw/ftlzw.c',
        '../third_party/freetype/src/gzip/ftgzip.c',
        '../third_party/freetype/src/cid/type1cid.c',
        '../third_party/freetype/src/bdf/bdf.c',
        '../third_party/freetype/src/psaux/psaux.c',
        '../third_party/freetype/src/pcf/pcf.c',
        '../third_party/freetype/src/pfr/pfr.c',
        '../third_party/freetype/src/type1/type1.c',
        '../third_party/freetype/src/type42/type42.c',
        '../third_party/freetype/src/winfonts/winfnt.c',
      ],
      'include_dirs': [
        '../third_party/freetype/internal',
        '../third_party/freetype/builds',
        '../third_party/freetype/include',
        '../third_party/freetype',
      ],
      'cflags': [
        '-W',
        '-Wall',
        '-fPIC',
        '-DPIC',
        '-DDARWIN_NO_CARBON',
        '-DFT2_BUILD_LIBRARY',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../third_party/freetype/include',  # For ft2build.h
        ],
      },
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: