summaryrefslogtreecommitdiffstats
path: root/third_party/fontconfig/fontconfig.gyp
blob: 1f4ee01e4ff2c8ccb40108413ef64873e8ab0007 (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
# Copyright 2014 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.

{
  'targets': [
    {
      'target_name': 'fontconfig',
      'type': '<(component)',
      'dependencies' : [
        '../zlib/zlib.gyp:zlib',
        '../../build/linux/system.gyp:freetype2',
        '../libxml/libxml.gyp:libxml',
      ],
      'defines': [
          'HAVE_CONFIG_H',
          'FC_CACHEDIR="/var/cache/fontconfig"',
          'FONTCONFIG_PATH="/etc/fonts"',
      ],
      'sources': [
        'src/fcarch.h',
        'src/fcatomic.c',
        'src/fcblanks.c',
        'src/fccache.c',
        'src/fccfg.c',
        'src/fccharset.c',
        'src/fccompat.c',
        'src/fcdbg.c',
        'src/fcdefault.c',
        'src/fcdir.c',
        'src/fcformat.c',
        'src/fcfreetype.c',
        'src/fcfs.c',
        'src/fchash.c',
        'src/fcinit.c',
        'src/fclang.c',
        'src/fclist.c',
        'src/fcmatch.c',
        'src/fcmatrix.c',
        'src/fcname.c',
        'src/fcobjs.c',
        'src/fcpat.c',
        'src/fcserialize.c',
        'src/fcstat.c',
        'src/fcstr.c',
        'src/fcxml.c',
        'src/ftglue.h',
        'src/ftglue.c',
      ],
      'include_dirs': [
        'src',
        'include',
        'include/src',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
           'src',
        ],
      },
    },
  ],
}