win: Add configurations for x64 build

This commit is contained in:
Cheng Zhao 2015-04-05 23:03:34 +08:00
parent f9f891bd03
commit 9fd0f7e78e

View file

@ -113,13 +113,8 @@
], ],
}], }],
], ],
}, }, # Common_Base
'conditions': [ 'Debug_Base': {
['libchromiumcontent_component', {
'D': {
'inherit_from': [
'Common_Base',
],
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
'Optimization': '<(win_debug_Optimization)', 'Optimization': '<(win_debug_Optimization)',
@ -158,12 +153,8 @@
'COPY_PHASE_STRIP': 'NO', 'COPY_PHASE_STRIP': 'NO',
'GCC_OPTIMIZATION_LEVEL': '0', 'GCC_OPTIMIZATION_LEVEL': '0',
}, },
}, }, # Debug_Base
}, { 'Release_Base': {
'R': {
'inherit_from': [
'Common_Base',
],
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
'Optimization': '<(win_release_Optimization)', 'Optimization': '<(win_release_Optimization)',
@ -195,8 +186,42 @@
], ],
}, },
}, },
}, # Release_Base
'conditions': [
['OS=="win"', {
'x64_Base': {
'abstract': 1,
'msvs_configuration_platform': 'x64',
'msvs_settings': {
'VCLinkerTool': {
# Make sure to understand http://crbug.com/361720 if you want to
# increase this.
'MinimumRequiredVersion': '5.02', # Server 2003.
'TargetMachine': '17', # x86 - 64
# Doesn't exist x64 SDK. Should use oleaut32 in any case.
'IgnoreDefaultLibraryNames': [ 'olepro32.lib' ],
}, },
}], 'VCLibrarianTool': {
'TargetMachine': '17', # x64
},
},
},
}], # OS=="win"
['libchromiumcontent_component', {
'D': {
'inherit_from': ['Common_Base', 'Debug_Base'],
},
'D_x64': {
'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'],
},
}, { # libchromiumcontent_component==1
'R': {
'inherit_from': ['Common_Base', 'Release_Base'],
},
'R_x64': {
'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'],
},
}], # libchromiumcontent_component==0
], ],
}, },
'conditions': [ 'conditions': [