Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 132fd7ce33a9f05a45ba714964f916d205ef11b7..63f0b2a29c75c1c6cbcfbc147548e7f823e6f995 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -986,6 +986,14 @@ |
}, { |
'optimize_jni_generation%': 0, |
}], |
+ |
+ # TODO(baixo): Eliminate this OS dependency by enabling |
rmcilroy
2014/10/07 16:16:10
nit - this is not a dependency. I would just writ
baixo
2014/10/08 11:28:54
Done.
|
+ # v8_use_external_startup_data on Windows and Mac. crbug.com/421063 |
+ ['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', { |