From dcae08c128fcab874134a2f84f1d005e34b49d14 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 9 Apr 2015 14:27:05 +0800 Subject: [PATCH] win: Move common configs to gyp --- atom.gyp | 9 +++++++++ common.gypi | 29 ----------------------------- vendor/brightray | 2 +- 3 files changed, 10 insertions(+), 30 deletions(-) diff --git a/atom.gyp b/atom.gyp index b874b09cf0..c564f8190e 100644 --- a/atom.gyp +++ b/atom.gyp @@ -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': { diff --git a/common.gypi b/common.gypi index dfbc980615..8f0937e64b 100644 --- a/common.gypi +++ b/common.gypi @@ -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. diff --git a/vendor/brightray b/vendor/brightray index 6832cc458a..21ab1efb09 160000 --- a/vendor/brightray +++ b/vendor/brightray @@ -1 +1 @@ -Subproject commit 6832cc458a1ccbd547682998fcc62e58d789af11 +Subproject commit 21ab1efb09e8f7efa5591dc4c989f7012025a133