Index: content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
diff --git a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
index d996fa7c14f116d3ed68fac772713c0574689f77..cf7261903b9ac6c187dba1717a8f62d1ef7b4c42 100644 |
--- a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
+++ b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java |
@@ -19,10 +19,16 @@ public class ChromiumLinkerTestApplication extends Application { |
* 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 = "chromium_linker_test"; |