summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp')
-rw-r--r--deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp29
1 files changed, 29 insertions, 0 deletions
diff --git a/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp b/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
new file mode 100644
index 0000000000..d81d694c62
--- /dev/null
+++ b/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
@@ -0,0 +1,29 @@
+# Copyright (c) 2013 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'test_disable_specific_warnings_set',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarnAsError': 'true',
+ 'DisableSpecificWarnings': ['4700']
+ }
+ },
+ 'sources': ['disable-specific-warnings.cc']
+ },
+ {
+ 'target_name': 'test_disable_specific_warnings_unset',
+ 'type': 'executable',
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarnAsError': 'true'
+ }
+ },
+ 'sources': ['disable-specific-warnings.cc']
+ },
+ ]
+}