naiveproxy/tools/gyp/test/win/compiler-flags/analysis.gyp

41 lines
921 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
# Copyright (c) 2012 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_analysis_on',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnablePREfast': 'true',
'WarnAsError': 'true',
},
},
'sources': ['uninit.cc'],
},
{
'target_name': 'test_analysis_off',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnablePREfast': 'false',
'WarnAsError': 'true',
},
},
'sources': ['uninit.cc'],
},
{
'target_name': 'test_analysis_unspec',
'type': 'executable',
'sources': ['uninit.cc'],
'msvs_settings': {
'VCCLCompilerTool': {
'WarnAsError': 'true',
},
},
},
]
}