diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/win/linker-flags/warn-as-error.gyp')
-rw-r--r-- | media/webrtc/trunk/tools/gyp/test/win/linker-flags/warn-as-error.gyp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/win/linker-flags/warn-as-error.gyp b/media/webrtc/trunk/tools/gyp/test/win/linker-flags/warn-as-error.gyp new file mode 100644 index 000000000..600eb0c35 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/linker-flags/warn-as-error.gyp @@ -0,0 +1,33 @@ +# 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_on', + 'type': 'executable', + 'msvs_settings': { + 'VCLinkerTool': { + 'TreatLinkerWarningAsErrors': 'true', + } + }, + 'sources': ['link-warning.cc'], + }, + { + 'target_name': 'test_off', + 'type': 'executable', + 'msvs_settings': { + 'VCLinkerTool': { + 'TreatLinkerWarningAsErrors': 'false', + } + }, + 'sources': ['link-warning.cc'], + }, + { + 'target_name': 'test_default', + 'type': 'executable', + 'sources': ['link-warning.cc'], + }, + ] +} |