From deea53519bd4461463063e27d8650933ed787d5c Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 3 Apr 2018 09:47:57 -0700 Subject: [PATCH] Set the asset bundle path when initializing the shell in the embedder API (#4925) This is required so that Dart initialization can find the platform kernel assets when running in Dart 2 mode --- shell/platform/embedder/embedder.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/platform/embedder/embedder.cc b/shell/platform/embedder/embedder.cc index 2ac87f753..866413cbc 100644 --- a/shell/platform/embedder/embedder.cc +++ b/shell/platform/embedder/embedder.cc @@ -153,7 +153,8 @@ FlutterResult FlutterEngineRun(size_t version, shell::Shell::InitStandalone( std::move(command_line), icu_data_path, // icu data path default lookup. - "" // application library not supported in JIT mode. + "", // application library not supported in JIT mode. + args->assets_path ); }); -- GitLab