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

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

Issue 1577093002: Remove gcc_version from gyp and gn files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 11 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 | « third_party/WebKit/Source/core/core.gyp ('k') | third_party/hunspell/hunspell.gyp » ('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 config("hunspell_config") { 5 config("hunspell_config") {
6 defines = [ 6 defines = [
7 "HUNSPELL_STATIC", 7 "HUNSPELL_STATIC",
8 "HUNSPELL_CHROME_CLIENT", 8 "HUNSPELL_CHROME_CLIENT",
9 "USE_HUNSPELL", 9 "USE_HUNSPELL",
10 ] 10 ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 cflags = [] 76 cflags = []
77 77
78 if (is_win) { 78 if (is_win) {
79 cflags += [ 79 cflags += [
80 # TODO(jschuh): http://crbug.com/167187 size_t -> int 80 # TODO(jschuh): http://crbug.com/167187 size_t -> int
81 "/wd4267", 81 "/wd4267",
82 ] 82 ]
83 } 83 }
84 84
85 if (is_posix && !is_mac) { 85 if (is_posix && !is_mac && !is_clang) {
86 cflags += [ 86 cflags += [
87 "-Wno-unused-value", 87 "-Wno-unused-value",
88 "-Wno-unused-variable", 88 "-Wno-unused-variable",
89 "-Wno-write-strings", 89 "-Wno-write-strings",
90 ] 90 ]
91 } 91 }
92 92
93 if (is_posix && !is_mac && !is_ios) { 93 if (is_posix && !is_mac && !is_ios && !is_clang) {
94 cflags += [ 94 cflags += [
95 # affentry.hxx has NULL as default parameter for a FLAG in two 95 # affentry.hxx has NULL as default parameter for a FLAG in two
96 # places. 96 # places.
97 "-Wno-conversion-null", 97 "-Wno-conversion-null",
98 ] 98 ]
99 } 99 }
100 100
101 if (is_clang) { 101 if (is_clang) {
102 cflags += [ 102 cflags += [
103 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. 103 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
104 "-Wno-empty-body", 104 "-Wno-empty-body",
105 105
106 # affentry.hxx has NULL as default parameter for a FLAG in two 106 # affentry.hxx has NULL as default parameter for a FLAG in two
107 # places. 107 # places.
108 "-Wno-null-conversion", 108 "-Wno-null-conversion",
109 ] 109 ]
110 } 110 }
111 } 111 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gyp ('k') | third_party/hunspell/hunspell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698