summaryrefslogtreecommitdiffstats
path: root/chrome/android/BUILD.gn
diff options
context:
space:
mode:
authormichaelbai <michaelbai@chromium.org>2015-10-22 16:58:53 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-22 23:59:52 +0000
commit979b03a19f63b1cbe02fa3df99707c3f93f7c9cf (patch)
tree6f7185e47abf2c6cf3a054fb5ac0bc270ddc6147 /chrome/android/BUILD.gn
parentd5ac7d52b323d04178bba9cc746c623438d48751 (diff)
downloadchromium_src-979b03a19f63b1cbe02fa3df99707c3f93f7c9cf.zip
chromium_src-979b03a19f63b1cbe02fa3df99707c3f93f7c9cf.tar.gz
chromium_src-979b03a19f63b1cbe02fa3df99707c3f93f7c9cf.tar.bz2
Switch Chrome Android using v8 arch specific external data name
For 32-bit, natives_blob_32.bin and snapshot_blob_32.bin are used. For 64-bit, natives_blob_64.bin and natives_blob_64.bin are used. This patch also removed the existing v8 startup data in destination directory by using copy_ex to remove directory first. BUG=540788 Review URL: https://codereview.chromium.org/1400953002 Cr-Commit-Position: refs/heads/master@{#355680}
Diffstat (limited to 'chrome/android/BUILD.gn')
-rw-r--r--chrome/android/BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index da4a17f..1229c40 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -357,10 +357,8 @@ copy_ex("chrome_public_apk_assets") {
]
if (v8_use_external_startup_data) {
- sources += [
- "$root_build_dir/natives_blob.bin",
- "$root_build_dir/snapshot_blob.bin",
- ]
+ renaming_sources = v8_external_startup_data_renaming_sources
+ renaming_destinations = v8_external_startup_data_renaming_destinations
deps += [ "//v8" ]
}