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

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

Issue 2927943002: Revert of Adjust FreeType warning to avoid a Clang LLP64 build failure (Closed)
Patch Set: Created 3 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 | « no previous file | 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
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 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 6
7 config("freetype_config") { 7 config("freetype_config") {
8 include_dirs = [ 8 include_dirs = [
9 "include", 9 "include",
10 "src/include", 10 "src/include",
11 ] 11 ]
12 } 12 }
13 13
14 config("freetype-warnings") { 14 config("freetype-warnings") {
15 cflags = [] 15 cflags = []
16 16
17 if (is_clang) { 17 if (is_clang) {
18 # The reduction of FreeType files to a minimum triggers -Wunused-function 18 # The reduction of FreeType files to a minimum triggers -Wunused-function
19 # warnings in ftbase.c 19 # warnings in ftbase.c
20 20 cflags += [ "-Wno-unused-function" ]
21 # "-Wno-int-to-pointer-cast" tracked by
22 # https://savannah.nongnu.org/bugs/index.php?50560,
23 # TODO(drott): Remove this once we roll past 7aeee3c50f2656b65f.
24 cflags += [
25 "-Wno-unused-function",
26 "-Wno-int-to-pointer-cast",
27 ]
28 } 21 }
29 } 22 }
30 23
31 component("freetype") { 24 component("freetype") {
32 if (is_linux) { 25 if (is_linux) {
33 output_name = "freetype" 26 output_name = "freetype"
34 output_extension = "so.6" 27 output_extension = "so.6"
35 } 28 }
36 29
37 sources = [ 30 sources = [
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 configs -= [ "//build/config/compiler:chromium_code" ] 83 configs -= [ "//build/config/compiler:chromium_code" ]
91 configs += [ "//build/config/compiler:no_chromium_code" ] 84 configs += [ "//build/config/compiler:no_chromium_code" ]
92 85
93 configs += [ ":freetype-warnings" ] 86 configs += [ ":freetype-warnings" ]
94 87
95 deps = [ 88 deps = [
96 "//third_party/libpng", 89 "//third_party/libpng",
97 "//third_party/zlib", 90 "//third_party/zlib",
98 ] 91 ]
99 } 92 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698