OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'fontconfig', | 8 'target_name': 'fontconfig', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'dependencies' : [ | 10 'dependencies' : [ |
11 '../zlib/zlib.gyp:zlib', | 11 '../zlib/zlib.gyp:zlib', |
12 '../../build/linux/system.gyp:freetype2', | 12 '../../build/linux/system.gyp:freetype2', |
13 '../libxml/libxml.gyp:libxml', | 13 '../libxml/libxml.gyp:libxml', |
14 ], | 14 ], |
15 'defines': [ | 15 'defines': [ |
16 'HAVE_CONFIG_H', | 16 'HAVE_CONFIG_H', |
17 'FC_CACHEDIR="/var/cache/fontconfig"', | 17 'FC_CACHEDIR="/var/cache/fontconfig"', |
18 'FONTCONFIG_PATH="/etc/fonts"', | 18 'FONTCONFIG_PATH="/etc/fonts"', |
19 ], | 19 ], |
20 'conditions': [ | 20 'conditions': [ |
21 ['clang==1', { | 21 ['clang==1', { |
22 # Work around a null-conversion warning. See crbug.com/358852. | 22 # Work around a null-conversion warning. See crbug.com/358852. |
23 'cflags': [ | 23 'cflags': [ |
24 '-Wno-non-literal-null-conversion', | 24 '-Wno-non-literal-null-conversion', |
25 ], | 25 ], |
26 }], | 26 }], |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
| 29 'chromium/empty.cc', |
29 'src/src/fcarch.h', | 30 'src/src/fcarch.h', |
30 'src/src/fcatomic.c', | 31 'src/src/fcatomic.c', |
31 'src/src/fcblanks.c', | 32 'src/src/fcblanks.c', |
32 'src/src/fccache.c', | 33 'src/src/fccache.c', |
33 'src/src/fccfg.c', | 34 'src/src/fccfg.c', |
34 'src/src/fccharset.c', | 35 'src/src/fccharset.c', |
35 'src/src/fccompat.c', | 36 'src/src/fccompat.c', |
36 'src/src/fcdbg.c', | 37 'src/src/fcdbg.c', |
37 'src/src/fcdefault.c', | 38 'src/src/fcdefault.c', |
38 'src/src/fcdir.c', | 39 'src/src/fcdir.c', |
(...skipping 22 matching lines...) Expand all Loading... |
61 'include/src', | 62 'include/src', |
62 ], | 63 ], |
63 'direct_dependent_settings': { | 64 'direct_dependent_settings': { |
64 'include_dirs': [ | 65 'include_dirs': [ |
65 'src', | 66 'src', |
66 ], | 67 ], |
67 }, | 68 }, |
68 }, | 69 }, |
69 ], | 70 ], |
70 } | 71 } |
OLD | NEW |