Commit 65212281 authored by rmcilroy's avatar rmcilroy Committed by Commit bot

Switch ChromeOS and ChromeCast to use external V8 snapshot files.

BUG=421063

Review URL: https://codereview.chromium.org/1019123002

Cr-Commit-Position: refs/heads/master@{#324052}
parent 53a47ba4
...@@ -1022,9 +1022,8 @@ ...@@ -1022,9 +1022,8 @@
'optimize_jni_generation%': 0, 'optimize_jni_generation%': 0,
}], }],
# TODO(rmcilroy): Enable v8_use_external_startup_data on ChromeOS # TODO(rmcilroy): Remove ios check. http://crbug.com/421063.
# http://crbug.com/421063 ['OS!="ios"', {
['chromecast==0 and chromeos==0 and OS!="ios"', {
'v8_use_external_startup_data%': 1, 'v8_use_external_startup_data%': 1,
}, { }, {
'v8_use_external_startup_data%': 0, 'v8_use_external_startup_data%': 0,
......
...@@ -52,6 +52,14 @@ FILES = [ ...@@ -52,6 +52,14 @@ FILES = [
'filename': 'installer', 'filename': 'installer',
'buildtype': ['official'], 'buildtype': ['official'],
}, },
{
'filename': 'natives_blob.bin',
'buildtype': ['dev', 'official'],
},
{
'filename': 'snapshot_blob.bin',
'buildtype': ['dev', 'official'],
},
{ {
'filename': 'libffmpegsumo.so', 'filename': 'libffmpegsumo.so',
'buildtype': ['dev', 'official'], 'buildtype': ['dev', 'official'],
......
...@@ -354,10 +354,15 @@ ...@@ -354,10 +354,15 @@
'type': 'none', 'type': 'none',
'dependencies': [ 'dependencies': [
'../third_party/icu/icu.gyp:icudata', '../third_party/icu/icu.gyp:icudata',
'../v8/tools/gyp/v8.gyp:v8_external_snapshot',
], ],
'copies': [{ 'copies': [{
'destination': '<(PRODUCT_DIR)/assets', 'destination': '<(PRODUCT_DIR)/assets',
'files': ['<(PRODUCT_DIR)/icudtl.dat'], 'files': [
'<(PRODUCT_DIR)/icudtl.dat',
'<(PRODUCT_DIR)/natives_blob.bin',
'<(PRODUCT_DIR)/snapshot_blob.bin',
],
}], }],
}, },
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment