Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 132fd7ce33a9f05a45ba714964f916d205ef11b7..7af618c40518d6448ff5a08299ec91c98824996c 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -986,6 +986,14 @@ |
}, { |
'optimize_jni_generation%': 0, |
}], |
+ |
+ # TODO(baixo): Enable v8_use_external_startup_data for Windows and Mac - |
+ # http://crbug.com/421063 |
jochen (gone - plz use gerrit)
2014/10/08 15:16:05
what about chromeos?
baixo
2014/10/14 16:36:42
Done.
|
+ ['OS=="linux" or OS=="android"', { |
+ 'v8_use_external_startup_data': 1, |
+ }, { |
+ 'v8_use_external_startup_data': 0, |
+ }], |
], |
# Set this to 1 to enable use of concatenated impulse responses |
@@ -1182,6 +1190,7 @@ |
'video_hole%': '<(video_hole)', |
'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', |
'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', |
+ 'v8_use_external_startup_data': '<(v8_use_external_startup_data)', |
# Whether or not we are building the Athena shell. |
'use_athena%': '0', |
@@ -2904,6 +2913,9 @@ |
['enable_load_completion_hacks==1', { |
'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'], |
}], |
+ ['v8_use_external_startup_data==1', { |
+ 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], |
+ }], |
], # conditions for 'target_defaults' |
'target_conditions': [ |
['<(use_openssl)==1', { |