diff --git a/DEPS b/DEPS index 19fbac5480..fc1e7b0228 100644 --- a/DEPS +++ b/DEPS @@ -30,7 +30,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //dart/tools/create_updated_fluter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': '501688de4cb6ba62a5bfe655361edf122cc1d7fc', + 'dart_revision': 'f445c318184b30b3db997ac27f357bcb5d45670a', 'dart_args_tag': '0.13.7', 'dart_async_tag': 'daf66909019d2aaec1721fc39d94ea648a9fdc1d', diff --git a/engine/src/flutter/lib/snapshot/BUILD.gn b/engine/src/flutter/lib/snapshot/BUILD.gn index dfa746f507..5ad5fd4039 100644 --- a/engine/src/flutter/lib/snapshot/BUILD.gn +++ b/engine/src/flutter/lib/snapshot/BUILD.gn @@ -77,6 +77,8 @@ action("generate_snapshot_bin") { ":generate_dart_ui", "//dart/runtime/bin:gen_snapshot($dart_host_toolchain)", ] + depfile = "$target_gen_dir/core_snapshot.d" + inputs = [ "//dart/runtime/tools/create_snapshot_bin.py", snapshot_dart, @@ -127,6 +129,8 @@ action("generate_snapshot_bin") { "--isolate_instructions_output_bin", rebase_path(isolate_snapshot_instructions, root_build_dir), "--url_mapping=dart:ui,$rebased_dart_ui_path", + "--vm_flag", + "--dependencies=" + rebase_path(depfile), ] if (is_debug) {