OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'fontconfig', | |
9 'type': '<(component)', | |
10 'dependencies' : [ | |
11 '../zlib/zlib.gyp:zlib', | |
12 '../../build/linux/system.gyp:freetype2', | |
13 '../libxml/libxml.gyp:libxml', | |
14 ], | |
15 'defines': [ | |
16 'HAVE_CONFIG_H', | |
17 'FC_CACHEDIR="/var/cache/fontconfig"', | |
18 'FONTCONFIG_PATH="/etc/fonts"', | |
19 ], | |
20 'conditions': [ | |
21 ['clang==1', { | |
22 # Work around a null-conversion warning. See crbug.com/358852. | |
23 'cflags': [ | |
24 '-Wno-non-literal-null-conversion', | |
25 ], | |
26 }], | |
27 ], | |
28 'sources': [ | |
29 'chromium/empty.cc', | |
30 'src/src/fcarch.h', | |
31 'src/src/fcatomic.c', | |
32 'src/src/fcblanks.c', | |
33 'src/src/fccache.c', | |
34 'src/src/fccfg.c', | |
35 'src/src/fccharset.c', | |
36 'src/src/fccompat.c', | |
37 'src/src/fcdbg.c', | |
38 'src/src/fcdefault.c', | |
39 'src/src/fcdir.c', | |
40 'src/src/fcformat.c', | |
41 'src/src/fcfreetype.c', | |
42 'src/src/fcfs.c', | |
43 'src/src/fchash.c', | |
44 'src/src/fcinit.c', | |
45 'src/src/fclang.c', | |
46 'src/src/fclist.c', | |
47 'src/src/fcmatch.c', | |
48 'src/src/fcmatrix.c', | |
49 'src/src/fcname.c', | |
50 'src/src/fcobjs.c', | |
51 'src/src/fcpat.c', | |
52 'src/src/fcserialize.c', | |
53 'src/src/fcstat.c', | |
54 'src/src/fcstr.c', | |
55 'src/src/fcxml.c', | |
56 'src/src/ftglue.h', | |
57 'src/src/ftglue.c', | |
58 ], | |
59 'include_dirs': [ | |
60 'src', | |
61 'include', | |
62 'include/src', | |
63 ], | |
64 'direct_dependent_settings': { | |
65 'include_dirs': [ | |
66 'src', | |
67 ], | |
68 }, | |
69 }, | |
70 ], | |
71 } | |
OLD | NEW |