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

Unified Diff: content/shell/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 | « chrome/android/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/BUILD.gn
diff --git a/content/shell/android/BUILD.gn b/content/shell/android/BUILD.gn
index 6a81b30eaf7b960f5dd76d296a3f06c6f2a9ce8a..882955ecde977a1840cd3e72c0b7da3a2042669e 100644
--- a/content/shell/android/BUILD.gn
+++ b/content/shell/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("//third_party/icu/config.gni")
generate_jni("content_shell_jni_headers") {
@@ -94,6 +95,12 @@ copy_ex("copy_content_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",
+ ]
+ }
}
android_apk("content_shell_apk") {
« no previous file with comments | « chrome/android/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698