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

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

Issue 219433005: Move gtest/gmock BUILD.gn files to main tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | testing/gmock/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/win/BUILD.gn
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
index 3175b163bb70d093df607f6cd3200e278b9f50dc..fdc26a72e44b8c83652e4a90c04ac6502aa4eb19 100644
--- a/build/config/win/BUILD.gn
+++ b/build/config/win/BUILD.gn
@@ -109,3 +109,11 @@ config("incremental_linking") {
config("no_incremental_linking") {
ldflags = [ "/INCREMENTAL:NO" ]
}
+
+# Disable unused variable warning ----------------------------------------------
+
+# Sometimes third-party code wants to disable this warning under MSVC, so this
+# config makes it easy to do so.
+config("disable_unused_variable_warning") {
+ cflags = [ "/wd4800" ]
+}
« no previous file with comments | « no previous file | testing/gmock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698