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

Unified Diff: chrome/android/BUILD.gn

Issue 753103003: Enable external V8 snapshot on Android through GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright Created 6 years 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/module_args/v8.gni ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 0d2c65484e55e8c25ee8050cde19b9f26a5f6095..3ff9730bb8f39883191609d77b3021104f0b8824 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
+import("//build/module_args/v8.gni")
import("//chrome/version.gni")
import("//third_party/icu/config.gni")
import("channel.gni")
@@ -317,6 +318,12 @@ copy_ex("chrome_shell_assets") {
"$root_build_dir/icudtl.dat"
]
}
+ if (v8_use_external_startup_data) {
+ sources += [
+ "$root_gen_dir/natives_blob.bin",
+ "$root_gen_dir/snapshot_blob.bin",
+ ]
+ }
}
chrome_shell_manifest = "$target_gen_dir/chrome_shell_manifest/AndroidManifest.xml"
« no previous file with comments | « build/module_args/v8.gni ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698