Index: third_party/hunspell/BUILD.gn |
diff --git a/third_party/hunspell/BUILD.gn b/third_party/hunspell/BUILD.gn |
index 84f0ae76700c4e38a71081fa5e2eae6edc9cb8eb..9e9f249e5b31b59ee0ca12a8768d4e9db942da67 100644 |
--- a/third_party/hunspell/BUILD.gn |
+++ b/third_party/hunspell/BUILD.gn |
@@ -8,12 +8,6 @@ |
"HUNSPELL_CHROME_CLIENT", |
"USE_HUNSPELL", |
] |
-} |
- |
-config("hunspell_warnings") { |
- if (is_clang) { |
- cflags = [ "-Wno-unused-private-field" ] |
- } |
} |
source_set("hunspell") { |
@@ -56,6 +50,12 @@ |
"src/parsers/textparser.cxx", |
"src/parsers/textparser.hxx", |
] |
+ |
+ config("hunspell_warnings") { |
+ if (is_clang) { |
+ cflags = [ "-Wno-unused-private-field" ] |
+ } |
+ } |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ |