Chromium Code Reviews| Index: third_party/fontconfig/fontconfig.gyp |
| diff --git a/third_party/fontconfig/fontconfig.gyp b/third_party/fontconfig/fontconfig.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1b21b3ce9aa871f15ec056aca3271ed0019d0b68 |
| --- /dev/null |
| +++ b/third_party/fontconfig/fontconfig.gyp |
| @@ -0,0 +1,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/src/fcarch.h', |
|
darin (slow to review)
2014/01/10 20:07:14
what's up with the "src/src" path?
spang
2014/01/10 20:18:56
fontconfig's upstream repository is checkout out a
|
| + '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', |
|
darin (slow to review)
2014/01/10 20:07:53
I don't see these source files in this CL. What am
spang
2014/01/10 20:18:56
In this CL via DEPS.
|
| + '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', |
|
darin (slow to review)
2014/01/10 20:07:14
what is up with "include/src"? usually a directory
spang
2014/01/10 20:18:56
The include directory mirrors the structure of the
spang
2014/01/10 20:35:06
Actually, it does matter, because of this rather u
|
| + ], |
| + 'direct_dependent_settings': { |
| + 'include_dirs': [ |
| + 'src', |
| + ], |
| + }, |
| + }, |
| + ], |
| +} |