Skip to content

Commit

Permalink
win: Move common configs to gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Apr 9, 2015
1 parent 2d6b6e4 commit dcae08c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 30 deletions.
9 changes: 9 additions & 0 deletions atom.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@
],
}], # OS!="mac"
['OS=="win"', {
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
# Force linking even though we have duplicate symbols between
# BoringSSL and OpenSSL.
'/FORCE:MULTIPLE',
],
},
},
'copies': [
{
'variables': {
Expand Down
29 changes: 0 additions & 29 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -163,35 +163,6 @@
4819, # The file contains a character that cannot be represented in the current code page
4996, # (atlapp.h) 'GetVersionExW': was declared deprecated
],
'msvs_settings': {
'VCCLCompilerTool': {
# Programs that use the Standard C++ library must be compiled with C++
# exception handling enabled.
# http://support.microsoft.com/kb/154419
'ExceptionHandling': 1,
},
'VCLinkerTool': {
'AdditionalOptions': [
# Force linking even though we have duplicate symbols between
# BoringSSL and OpenSSL.
'/FORCE:MULTIPLE',
# ATL 8.0 included in WDK 7.1 makes the linker to generate following
# warnings:
# - warning LNK4254: section 'ATL' (50000040) merged into
# '.rdata' (40000040) with different attributes
# - warning LNK4078: multiple 'ATL' sections found with
# different attributes
'/ignore:4254',
'/ignore:4078',
# views_chromiumcontent.lib generates this warning because it's
# symobls are defined as dllexport but used as static library:
# - warning LNK4217: locally defined symbol imported in function
# - warning LNK4049: locally defined symbol imported
'/ignore:4217',
'/ignore:4049',
],
},
},
},
'conditions': [
# The breakdpad on Windows assumes Debug_x64 and Release_x64 configurations.
Expand Down
2 changes: 1 addition & 1 deletion vendor/brightray

0 comments on commit dcae08c

Please sign in to comment.