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

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

Issue 1215643003: Remove -Wno-unused-private-field clang warning suppression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 5 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "src/hunspell/replist.cxx", 44 "src/hunspell/replist.cxx",
45 "src/hunspell/replist.hxx", 45 "src/hunspell/replist.hxx",
46 "src/hunspell/suggestmgr.cxx", 46 "src/hunspell/suggestmgr.cxx",
47 "src/hunspell/suggestmgr.hxx", 47 "src/hunspell/suggestmgr.hxx",
48 "src/hunspell/utf_info.hxx", 48 "src/hunspell/utf_info.hxx",
49 "src/hunspell/w_char.hxx", 49 "src/hunspell/w_char.hxx",
50 "src/parsers/textparser.cxx", 50 "src/parsers/textparser.cxx",
51 "src/parsers/textparser.hxx", 51 "src/parsers/textparser.hxx",
52 ] 52 ]
53 53
54 config("hunspell_warnings") {
brettw 2015/07/09 18:03:07 This should go at the top (don't nest targets).
Nico 2015/07/09 18:18:46 Almost all of the -Wno targets are nested. (https:
benwells 2015/07/10 00:17:44 So this got landed as is in my sleep-time. I am ha
55 if (is_clang) {
56 cflags = [ "-Wno-unused-private-field" ]
57 }
58 }
59
54 configs -= [ "//build/config/compiler:chromium_code" ] 60 configs -= [ "//build/config/compiler:chromium_code" ]
55 configs += [ "//build/config/compiler:no_chromium_code" ] 61 configs += [
62 "//build/config/compiler:no_chromium_code",
63 ":hunspell_warnings",
brettw 2015/07/09 18:03:07 Ditto
64 ]
56 public_configs = [ ":hunspell_config" ] 65 public_configs = [ ":hunspell_config" ]
57 66
58 defines = [ "OPENOFFICEORG" ] 67 defines = [ "OPENOFFICEORG" ]
59 68
60 deps = [ 69 deps = [
61 "//base", 70 "//base",
62 "//third_party/icu", 71 "//third_party/icu",
63 ] 72 ]
64 73
65 cflags = [] 74 cflags = []
(...skipping 25 matching lines...) Expand all
91 cflags += [ 100 cflags += [
92 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. 101 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
93 "-Wno-empty-body", 102 "-Wno-empty-body",
94 103
95 # affentry.hxx has NULL as default parameter for a FLAG in two 104 # affentry.hxx has NULL as default parameter for a FLAG in two
96 # places. 105 # places.
97 "-Wno-null-conversion", 106 "-Wno-null-conversion",
98 ] 107 ]
99 } 108 }
100 } 109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698