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

Unified Diff: BUILD.gn

Issue 1209413007: Suppress warnings for assignment inside conditionals. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Address more feedback Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | icu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | icu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698