summaryrefslogtreecommitdiffstats
path: root/build/config/win
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-01 21:47:53 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-01 21:47:53 +0000
commitabe83a26defbca2cb864cdfcc8b24845077334f7 (patch)
tree22e5ad407556b9607a8237f2fc8963bb9b4f65c4 /build/config/win
parent60c9d17d4b0055610241b99ae404ff05f107d3cb (diff)
downloadchromium_src-abe83a26defbca2cb864cdfcc8b24845077334f7.zip
chromium_src-abe83a26defbca2cb864cdfcc8b24845077334f7.tar.gz
chromium_src-abe83a26defbca2cb864cdfcc8b24845077334f7.tar.bz2
Move gtest/gmock BUILD.gn files to main tree.
Also moves the "unused variable warning" to a config in the build directory so it can be shared with outher targets without duplication on the command line. BUG= R=cjhopman@chromium.org Review URL: https://codereview.chromium.org/219433005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/config/win')
-rw-r--r--build/config/win/BUILD.gn8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
index 3175b16..fdc26a7 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" ]
+}