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 assert(is_linux) | 5 assert(is_linux) |
6 | 6 |
7 config("fontconfig_config") { | 7 config("fontconfig_config") { |
8 include_dirs = [ "src" ] | 8 include_dirs = [ "src" ] |
9 } | 9 } |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 "src/src/fclist.c", | 29 "src/src/fclist.c", |
30 "src/src/fcmatch.c", | 30 "src/src/fcmatch.c", |
31 "src/src/fcmatrix.c", | 31 "src/src/fcmatrix.c", |
32 "src/src/fcname.c", | 32 "src/src/fcname.c", |
33 "src/src/fcobjs.c", | 33 "src/src/fcobjs.c", |
34 "src/src/fcpat.c", | 34 "src/src/fcpat.c", |
35 "src/src/fcserialize.c", | 35 "src/src/fcserialize.c", |
36 "src/src/fcstat.c", | 36 "src/src/fcstat.c", |
37 "src/src/fcstr.c", | 37 "src/src/fcstr.c", |
38 "src/src/fcxml.c", | 38 "src/src/fcxml.c", |
| 39 "src/src/ftglue.c", |
39 "src/src/ftglue.h", | 40 "src/src/ftglue.h", |
40 "src/src/ftglue.c", | |
41 ] | 41 ] |
42 | 42 |
43 include_dirs = [ | 43 include_dirs = [ |
44 "include", | 44 "include", |
45 "include/src", | 45 "include/src", |
46 ] | 46 ] |
47 | 47 |
48 defines = [ | 48 defines = [ |
49 "HAVE_CONFIG_H", | 49 "HAVE_CONFIG_H", |
50 "FC_CACHEDIR=\"/var/cache/fontconfig\"", | 50 "FC_CACHEDIR=\"/var/cache/fontconfig\"", |
(...skipping 11 matching lines...) Expand all Loading... |
62 "//build/config/linux:freetype2", | 62 "//build/config/linux:freetype2", |
63 ] | 63 ] |
64 | 64 |
65 public_configs = [ ":fontconfig_config" ] | 65 public_configs = [ ":fontconfig_config" ] |
66 | 66 |
67 if (is_clang) { | 67 if (is_clang) { |
68 # Work around a null-conversion warning. See crbug.com/358852. | 68 # Work around a null-conversion warning. See crbug.com/358852. |
69 cflags = [ "-Wno-non-literal-null-conversion" ] | 69 cflags = [ "-Wno-non-literal-null-conversion" ] |
70 } | 70 } |
71 } | 71 } |
OLD | NEW |