diff options
author | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 22:46:50 +0000 |
---|---|---|
committer | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 22:46:50 +0000 |
commit | ef4fa407ff456030dd1835de46b565f1c7cac5ab (patch) | |
tree | 28b0d11e77341a490486ae376844a93dfac962d7 /build/common.gypi | |
parent | 0d9a743fd1a8a51cfa77e71b39bb67329de1fa9a (diff) | |
download | chromium_src-ef4fa407ff456030dd1835de46b565f1c7cac5ab.zip chromium_src-ef4fa407ff456030dd1835de46b565f1c7cac5ab.tar.gz chromium_src-ef4fa407ff456030dd1835de46b565f1c7cac5ab.tar.bz2 |
Split base.gyp and add base_nacl_win64 target
TEST=none
BUG=28176
Review URL: http://codereview.chromium.org/462009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33872 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 50 |
1 files changed, 41 insertions, 9 deletions
diff --git a/build/common.gypi b/build/common.gypi index f2e72c9..7be2234 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -275,6 +275,11 @@ 'msvs_large_module_debug_link_mode%': '2', # Yes }], ], + 'nacl_win64_defines': [ + # This flag is used to minimize dependencies when building + # Native Client loader for 64-bit Windows. + 'NACL_WIN64', + ], }], ], @@ -404,6 +409,11 @@ 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', 'CharacterSet': '1', }, + 'msvs_settings': { + 'VCLinkerTool': { + 'TargetMachine': '1', + }, + }, 'msvs_configuration_platform': 'Win32', }, 'Debug': { @@ -499,17 +509,23 @@ }, }, }, - 'Debug_x64': { - 'inherit_from': ['Debug'], + 'Common_x64': { 'msvs_configuration_platform': 'x64', + 'msvs_settings': { + 'VCLinkerTool': { + 'TargetMachine': '17', + }, + }, + 'abstract': 1, + }, + 'Debug_x64': { + 'inherit_from': ['Debug', 'Common_x64'], }, 'Release_x64': { - 'inherit_from': ['Release'], - 'msvs_configuration_platform': 'x64', + 'inherit_from': ['Release', 'Common_x64'], }, 'Purify_x64': { - 'inherit_from': ['Purify'], - 'msvs_configuration_platform': 'x64', + 'inherit_from': ['Purify', 'Common_x64'], }, }], ], @@ -931,7 +947,6 @@ 'GenerateDebugInformation': 'true', 'MapFileName': '$(OutDir)\\$(TargetName).map', 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', - 'TargetMachine': '1', 'FixedBaseAddress': '1', # SubSystem values: # 0 == not set @@ -1016,8 +1031,6 @@ 'target_defaults': { 'msvs_settings': { 'VCLinkerTool': { - 'AdditionalOptions': - '/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat', 'DelayLoadDLLs': [ 'dbghelp.dll', 'dwmapi.dll', @@ -1025,6 +1038,25 @@ ], }, }, + 'configurations': { + 'Common': { + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalOptions': + '/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat', + }, + }, + }, + 'Common_x64': { + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalOptions': + # safeseh is not compatible with x64 + '/dynamicbase /ignore:4199 /ignore:4221 /nxcompat', + }, + }, + }, + }, }, }], ], |