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

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

Issue 2773123002: Control FreeType linkage globally in //build/config/freetype (Closed)
Patch Set: Fix Fontconfig build on cast shell Created 3 years, 9 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 | « skia/BUILD.gn ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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\"",
51 "FONTCONFIG_PATH=\"/etc/fonts\"", 51 "FONTCONFIG_PATH=\"/etc/fonts\"",
52 ] 52 ]
53 53
54 deps = [ 54 deps = [
55 "//build/linux:freetype2", 55 "//build/config/freetype",
56 "//third_party/libxml", 56 "//third_party/libxml",
57 "//third_party/zlib", 57 "//third_party/zlib",
58 ] 58 ]
59 59
60 configs -= [ "//build/config/compiler:chromium_code" ] 60 configs -= [ "//build/config/compiler:chromium_code" ]
61 configs += [ "//build/config/compiler:no_chromium_code" ] 61 configs += [ "//build/config/compiler:no_chromium_code" ]
62 62
63 public_configs = [ ":fontconfig_config" ] 63 public_configs = [ ":fontconfig_config" ]
64 64
65 if (is_clang) { 65 if (is_clang) {
66 # Work around a null-conversion warning. See crbug.com/358852. 66 # Work around a null-conversion warning. See crbug.com/358852.
67 cflags = [ "-Wno-non-literal-null-conversion" ] 67 cflags = [ "-Wno-non-literal-null-conversion" ]
68 } 68 }
69 } 69 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698