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

31 lines
762 B
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': [
{
'target_name': 'test_ok',
'type': 'executable',
'msvs_settings': {
'VCLinkerTool': {
'IgnoreDefaultLibraryNames':
['libcmtd.lib', 'libcmt.lib', 'msvcrt.lib', 'msvcrtd.lib'],
}
},
'sources': ['nodefaultlib.cc'],
},
{
'target_name': 'test_fail',
'type': 'executable',
'msvs_settings': {
'VCLinkerTool': {
'IgnoreDefaultLibraryNames':
['libcmtd.lib', 'libcmt.lib', 'msvcrt.lib', 'msvcrtd.lib'],
}
},
'sources': ['hello.cc'],
},
]
}