summaryrefslogtreecommitdiffstats
path: root/third_party/fontconfig/fontconfig.gyp
blob: c3b350cc6b2566c0c6bd7e0f65cfdd0f7cc204e5 (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
67
68
69
70
# 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"',
      ],
      'conditions': [
        ['clang==1', {
          # Work around a null-conversion warning. See crbug.com/358852.
          'cflags': [
            '-Wno-non-literal-null-conversion',
          ],
        }],
      ],
      'sources': [
        'src/src/fcarch.h',
        'src/src/fcatomic.c',
        'src/src/fcblanks.c',
        'src/src/fccache.c',
        'src/src/fccfg.c',
        'src/src/fccharset.c',
        'src/src/fccompat.c',
        'src/src/fcdbg.c',
        'src/src/fcdefault.c',
        'src/src/fcdir.c',
        'src/src/fcformat.c',
        'src/src/fcfreetype.c',
        'src/src/fcfs.c',
        'src/src/fchash.c',
        'src/src/fcinit.c',
        'src/src/fclang.c',
        'src/src/fclist.c',
        'src/src/fcmatch.c',
        'src/src/fcmatrix.c',
        'src/src/fcname.c',
        'src/src/fcobjs.c',
        'src/src/fcpat.c',
        'src/src/fcserialize.c',
        'src/src/fcstat.c',
        'src/src/fcstr.c',
        'src/src/fcxml.c',
        'src/src/ftglue.h',
        'src/src/ftglue.c',
      ],
      'include_dirs': [
        'src',
        'include',
        'include/src',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
           'src',
        ],
      },
    },
  ],
}