Matching v8 build settings more closely to try to fix regression in performance.
Review URL: http://codereview.chromium.org/67092 git-svn-id: http://src.chromium.org/svn/trunk/src/build@13642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
fb10049558
Коммит
e56a42c72f
|
@ -39,6 +39,12 @@
|
|||
# {'variables': {'library': 'shared_library'}}
|
||||
# to compile as shared by default
|
||||
'library%': 'static_library',
|
||||
|
||||
# TODO(bradnelson): eliminate this when possible.
|
||||
# To allow local gyp files to prevent release.vsprops from being included.
|
||||
# Yes(1) means include release.vsprops.
|
||||
# Once all vsprops settings are migrated into gyp, this can go away.
|
||||
'msvs_use_common_release%': 1,
|
||||
},
|
||||
'target_defaults': {
|
||||
'conditions': [
|
||||
|
@ -124,7 +130,7 @@
|
|||
'DEAD_CODE_STRIPPING': 'YES',
|
||||
}
|
||||
}],
|
||||
[ 'OS=="win"', {
|
||||
[ 'OS=="win" and msvs_use_common_release', {
|
||||
'configuration_platform': 'Win32',
|
||||
'msvs_props': ['release.vsprops'],
|
||||
}],
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
{
|
||||
'variables': {
|
||||
'chromium_code': 1,
|
||||
'msvs_use_common_release': 0,
|
||||
'base_source_files': [
|
||||
'../../v8/src/third_party/dtoa/dtoa.c',
|
||||
'../../v8/src/accessors.cc',
|
||||
|
@ -275,6 +276,11 @@
|
|||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
'msvs_configuration_attributes': {
|
||||
'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',
|
||||
'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
|
||||
'CharacterSet': '1',
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'RuntimeLibrary': '0',
|
||||
|
@ -398,7 +404,7 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
['OS=="mac"',
|
||||
['OS=="mac"',
|
||||
{
|
||||
'sources/': [
|
||||
['include', 'src/platform-macos\\.cc$'],
|
||||
|
@ -504,7 +510,9 @@
|
|||
},
|
||||
],
|
||||
|
||||
'conditions': [ ['OS!="linux"', { 'targets': [
|
||||
'conditions': [ ['OS=="mac"', { 'targets': [
|
||||
# TODO(bradnelson): temporarily disable 'd8' target on Windows while
|
||||
# we work fix the performance regressions.
|
||||
# TODO(sgk): temporarily disable 'd8' target on Linux while
|
||||
# we work out getting the readline library on all the systems.
|
||||
{
|
||||
|
@ -659,8 +667,7 @@
|
|||
['OS=="win"', {
|
||||
'target_defaults': {
|
||||
'defines': [
|
||||
'_USE_32BIT_TIME_T'
|
||||
'PCRE_STATIC',
|
||||
'_USE_32BIT_TIME_T',
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
'_CRT_NONSTDC_NO_DEPRECATE',
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче