Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
index c430bafcb08be963124a890afb8e625aa086e121..5053e32c6578ced8e10addfef4a15f2d499eb7d0 100644 |
--- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
+++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java |
@@ -22,10 +22,16 @@ public class ContentShellApplication extends ContentApplication { |
* operation. We use to link it statically to our binary, but not any more |
* so that we have to install it along with other mandatory pak files. |
* See src/third_party/icu/README.chromium. |
+ * |
+ * V8's initial snapshot used to be statically linked to the binary, but |
+ * now it's loaded from external files. Therefore we need to install such |
+ * snapshots (natives_blob.bin and snapshot.bin) along with pak files. |
*/ |
private static final String[] MANDATORY_PAK_FILES = new String[] { |
"content_shell.pak", |
- "icudtl.dat" |
+ "icudtl.dat", |
+ "natives_blob.bin", |
+ "snapshot_blob.bin" |
}; |
private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell"; |