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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1902263003: Disable -Wundefined-var-template on the clang tot bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index d9d205fb5e35fbbd2e7f1a2afcc27c7d3ade178c..aae3bac64c53879dbc5c8ded90a962b7ff5d1623 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -959,6 +959,15 @@ config("default_warnings") {
# TODO(thakis): Enable this, crbug.com/507717
"-Wno-shift-negative-value",
]
+
+ if (exec_script("//tools/clang/scripts/update.py",
+ [ "--print-revision" ],
+ "trim string") != "266460-1") {
+ cflags += [
+ # TODO(thakis): https://crbug.com/604888
+ "-Wno-undefined-var-template",
+ ]
+ }
}
}
}
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698