| Index: third_party/hunspell/BUILD.gn
|
| diff --git a/third_party/hunspell/BUILD.gn b/third_party/hunspell/BUILD.gn
|
| index 3219c9db3ed0f7ea4be5192f39cef64128797d0d..9e9f249e5b31b59ee0ca12a8768d4e9db942da67 100644
|
| --- a/third_party/hunspell/BUILD.gn
|
| +++ b/third_party/hunspell/BUILD.gn
|
| @@ -51,8 +51,17 @@ source_set("hunspell") {
|
| "src/parsers/textparser.hxx",
|
| ]
|
|
|
| + config("hunspell_warnings") {
|
| + if (is_clang) {
|
| + cflags = [ "-Wno-unused-private-field" ]
|
| + }
|
| + }
|
| +
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| - configs += [ "//build/config/compiler:no_chromium_code" ]
|
| + configs += [
|
| + "//build/config/compiler:no_chromium_code",
|
| + ":hunspell_warnings",
|
| + ]
|
| public_configs = [ ":hunspell_config" ]
|
|
|
| defines = [ "OPENOFFICEORG" ]
|
|
|