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

Unified Diff: build_overrides/v8.gni

Issue 1400953002: Switch Chrome Android using v8 arch specific external data name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 5 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_overrides/v8.gni
diff --git a/build_overrides/v8.gni b/build_overrides/v8.gni
index 4fc5f98c4f42f5b9401d58ea216bb41a0888aa2f..8a13d658fdbc4373da74d6b624b6e600140f1e26 100644
--- a/build_overrides/v8.gni
+++ b/build_overrides/v8.gni
@@ -18,3 +18,22 @@ v8_use_external_startup_data = !(is_chromeos || is_win || is_ios)
v8_extra_library_files = []
v8_experimental_extra_library_files =
[ "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js" ]
+
+if (is_android) {
+ v8_external_startup_data_renaming_sources = [
+ "$root_build_dir/natives_blob.bin",
+ "$root_build_dir/snapshot_blob.bin",
+ ]
+ if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") {
+ v8_external_startup_data_renaming_destinations = [
+ "natives_blob_32.bin",
+ "snapshot_blob_32.bin",
+ ]
+ } else if (current_cpu == "arm64" || current_cpu == "x64" ||
jbudorick 2015/10/19 22:57:23 Similarly here.
michaelbai 2015/10/20 00:10:11 Done.
+ current_cpu == "mips64el") {
+ v8_external_startup_data_renaming_destinations = [
+ "natives_blob_64.bin",
+ "snapshot_blob_64.bin",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698