naiveproxy/tools/gyp/test/win/linker-flags/profile.gyp
2018-08-14 22:19:20 +00:00

51 lines
1.2 KiB
Python

# 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': [
# Verify that 'Profile' option correctly makes it to LINK steup in Ninja
{
'target_name': 'test_profile_true',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
'VCCLCompilerTool': {
'DebugInformationFormat': '3'
},
'VCLinkerTool': {
'Profile': 'true',
'GenerateDebugInformation': 'true',
},
},
},
{
'target_name': 'test_profile_false',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
'VCCLCompilerTool': {
'DebugInformationFormat': '3'
},
'VCLinkerTool': {
'Profile': 'false',
'GenerateDebugInformation': 'true',
},
},
},
{
'target_name': 'test_profile_default',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
'VCCLCompilerTool': {
'DebugInformationFormat': '3'
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
},
},
},
]
}