Skip to content

Commit 81baff9

Browse files
authored
Switch all embedders to use platform_strong.dill instead of platform.dill (the flutter_tester binary already does this) (#6024)
1 parent ad5af2f commit 81baff9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

shell/platform/android/flutter_main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void FlutterMain::Init(JNIEnv* env,
6767
// Check to see if the appropriate kernel files are present and configure
6868
// settings accordingly.
6969
auto platform_kernel_path =
70-
fml::paths::JoinPaths({settings.assets_path, "platform.dill"});
70+
fml::paths::JoinPaths({settings.assets_path, "platform_strong.dill"});
7171
auto application_kernel_path =
7272
fml::paths::JoinPaths({settings.assets_path, "kernel_blob.bin"});
7373

shell/platform/android/io/flutter/view/FlutterMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class FlutterMain {
6161
private static final String DEFAULT_FLX = "app.flx";
6262
private static final String DEFAULT_SNAPSHOT_BLOB = "snapshot_blob.bin";
6363
private static final String DEFAULT_KERNEL_BLOB = "kernel_blob.bin";
64-
private static final String DEFAULT_PLATFORM_DILL = "platform.dill";
64+
private static final String DEFAULT_PLATFORM_DILL = "platform_strong.dill";
6565
private static final String DEFAULT_FLUTTER_ASSETS_DIR = "flutter_assets";
6666

6767
// Assets that are shared among all Flutter apps within an APK.

shell/platform/darwin/ios/framework/Source/FlutterDartProject.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "flutter/shell/platform/darwin/ios/framework/Headers/FlutterViewController.h"
1717

1818
static const char* kScriptSnapshotFileName = "snapshot_blob.bin";
19-
static const char* kVMKernelSnapshotFileName = "platform.dill";
19+
static const char* kVMKernelSnapshotFileName = "platform_strong.dill";
2020
static const char* kApplicationKernelSnapshotFileName = "kernel_blob.bin";
2121

2222
static blink::Settings DefaultSettingsForProcess(NSBundle* bundle = nil) {

shell/platform/embedder/embedder.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ FlutterResult FlutterEngineRun(size_t version,
148148
// Check whether the assets path contains Dart 2 kernel assets.
149149
const std::string kApplicationKernelSnapshotFileName = "kernel_blob.bin";
150150
std::string platform_kernel_path =
151-
fml::paths::JoinPaths({settings.assets_path, "platform.dill"});
151+
fml::paths::JoinPaths({settings.assets_path, "platform_strong.dill"});
152152
std::string application_kernel_path = fml::paths::JoinPaths(
153153
{settings.assets_path, kApplicationKernelSnapshotFileName});
154154
if (fml::IsFile(application_kernel_path)) {

0 commit comments

Comments
 (0)