Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: build/common.gypi

Issue 594603003: Infrastructure for reading V8's initial snapshot from external files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android tests Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 163abae0a9f725f9966b48813dd2b053292d6a5b..4cbba8aa48e16f26b060eeb3392aa6a9954dc25d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -986,6 +986,12 @@
}, {
'optimize_jni_generation%': 0,
}],
+
+ ['OS=="linux" or OS=="android"', {
+ 'v8_use_external_startup_data': 1,
+ }, {
+ 'v8_use_external_startup_data': 0,
rmcilroy 2014/10/06 15:41:02 Please create a bug on crbug which mentions that y
baixo 2014/10/07 14:53:27 Done.
+ }],
],
# Set this to 1 to enable use of concatenated impulse responses
@@ -1182,6 +1188,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',
@@ -2340,7 +2347,6 @@
# Whether to allow building of the GPU-related isolates.
'archive_gpu_tests%': 0,
-
rmcilroy 2014/10/06 15:41:02 nit - add back newline
baixo 2014/10/07 14:53:27 Done.
# Whether to allow building of chromoting related isolates.
'archive_chromoting_tests%': 0,
},
@@ -2909,6 +2915,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', {

Powered by Google App Engine
This is Rietveld 408576698