Chromium Code Reviews| Index: BUILD.gn |
| diff --git a/BUILD.gn b/BUILD.gn |
| index 24fe92716c7dec50e0431a769956848c20e12c5d..1f52723f1c7be9c7b05b01e32d2739ad7e2fe685 100644 |
| --- a/BUILD.gn |
| +++ b/BUILD.gn |
| @@ -71,7 +71,8 @@ config("icu_code") { |
| "-Wno-logical-op-parentheses", |
| "-Wno-tautological-compare", |
| "-Wno-switch", |
| - ] |
| + "-Wno-parentheses", |
| + ] |
| if (is_win) { |
| cflags += [ |
| # See http://bugs.icu-project.org/trac/ticket/11122 |
| @@ -481,7 +482,6 @@ component("icuuc") { |
| deps = [ |
| ":icudata", |
| ] |
| - configs += [ ":icu_code" ] |
| configs -= [ |
| "//build/config/compiler:no_rtti", # ICU uses RTTI. |
| @@ -492,6 +492,7 @@ component("icuuc") { |
| "//build/config/compiler:no_chromium_code", |
| ] |
| + configs += [ ":icu_code" ] |
|
dcheng
2015/06/30 21:18:09
Apparently it wasn't really suppressing the warnin
Nico
2015/06/30 21:32:58
Ah cool. Yes, the += appends no_chromium_code to c
|
| public_configs = [ ":icu_config" ] |
| if (is_win || icu_use_data_file) { |