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

Unified Diff: build_overrides/v8.gni

Issue 1422793004: Reland Reland Switch Chrome Android using v8 arch specific external data name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « build/android/v8_external_startup_data_arch_suffix.gypi ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_overrides/v8.gni
diff --git a/build_overrides/v8.gni b/build_overrides/v8.gni
index ee1b66601ca92bfaa63b8baacb4d8ac6720cb712..f1f27de3937e413faa1a4afd3255215bade29207 100644
--- a/build_overrides/v8.gni
+++ b/build_overrides/v8.gni
@@ -22,3 +22,21 @@ v8_use_external_startup_data = !(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_out_dir/natives_blob.bin",
+ "$root_out_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 {
+ v8_external_startup_data_renaming_destinations = [
+ "natives_blob_64.bin",
+ "snapshot_blob_64.bin",
+ ]
+ }
+}
« no previous file with comments | « build/android/v8_external_startup_data_arch_suffix.gypi ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698