Index: gin/v8_initializer.cc |
diff --git a/gin/v8_initializer.cc b/gin/v8_initializer.cc |
index 810225c9c8664bccf461c8af75933e24b2539f1f..8bcc78dfa772568d61de2a46bb56e0eaaee95a9d 100644 |
--- a/gin/v8_initializer.cc |
+++ b/gin/v8_initializer.cc |
@@ -53,8 +53,19 @@ base::PlatformFile g_snapshot_pf = kInvalidPlatformFile; |
base::MemoryMappedFile::Region g_natives_region; |
base::MemoryMappedFile::Region g_snapshot_region; |
+#if defined(OS_ANDROID) |
+#ifdef __LP64__ |
+const char kNativesFileName[] = "natives_blob_64.bin"; |
+const char kSnapshotFileName[] = "snapshot_blob_64.bin"; |
+#else |
+const char kNativesFileName[] = "natives_blob_32.bin"; |
+const char kSnapshotFileName[] = "snapshot_blob_32.bin"; |
+#endif // __LP64__ |
+ |
+#else // defined(OS_ANDROID) |
const char kNativesFileName[] = "natives_blob.bin"; |
const char kSnapshotFileName[] = "snapshot_blob.bin"; |
+#endif // defined(OS_ANDROID) |
void GetV8FilePath(const char* file_name, base::FilePath* path_out) { |
#if !defined(OS_MACOSX) |