Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: third_party/fontconfig/BUILD.gn

Issue 269313006: Add GN build file for fontconfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 config("fontconfig_config") {
6 include_dirs = [ "src" ]
7 }
8
9 component("fontconfig") {
10 sources = [
11 "src/src/fcarch.h",
12 "src/src/fcatomic.c",
13 "src/src/fcblanks.c",
14 "src/src/fccache.c",
15 "src/src/fccfg.c",
16 "src/src/fccharset.c",
17 "src/src/fccompat.c",
18 "src/src/fcdbg.c",
19 "src/src/fcdefault.c",
20 "src/src/fcdir.c",
21 "src/src/fcformat.c",
22 "src/src/fcfreetype.c",
23 "src/src/fcfs.c",
24 "src/src/fchash.c",
25 "src/src/fcinit.c",
26 "src/src/fclang.c",
27 "src/src/fclist.c",
28 "src/src/fcmatch.c",
29 "src/src/fcmatrix.c",
30 "src/src/fcname.c",
31 "src/src/fcobjs.c",
32 "src/src/fcpat.c",
33 "src/src/fcserialize.c",
34 "src/src/fcstat.c",
35 "src/src/fcstr.c",
36 "src/src/fcxml.c",
37 "src/src/ftglue.h",
38 "src/src/ftglue.c",
39 ]
40
41 include_dirs = [
42 "include",
43 "include/src",
44 ]
45
46 defines = [
47 "HAVE_CONFIG_H",
48 "FC_CACHEDIR=\"/var/cache/fontconfig\"",
49 "FONTCONFIG_PATH=\"/etc/fonts\"",
50 ]
51
52 deps = [
53 "//third_party/zlib",
54 "//third_party/libxml",
55 ]
56
57 configs -= [ "//build/config/compiler:chromium_code" ]
58 configs += [ "//build/config/compiler:no_chromium_code" ]
59
60 direct_dependent_configs = [ ":fontconfig_config" ]
61
62 if (is_clang) {
63 # Work around a null-conversion warning. See crbug.com/358852.
64 cflags = [ "-Wno-non-literal-null-conversion" ]
65 }
66
67 if (is_linux) {
68 configs += [ "//build/config/linux:freetype2" ]
brettw 2014/05/30 23:57:36 This won't get hit for Android, and there's no con
69 }
70 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698