diff --git a/engine/src/flutter/shell/platform/linux/BUILD.gn b/engine/src/flutter/shell/platform/linux/BUILD.gn index 0057a4460a3..6e70e491620 100644 --- a/engine/src/flutter/shell/platform/linux/BUILD.gn +++ b/engine/src/flutter/shell/platform/linux/BUILD.gn @@ -283,6 +283,7 @@ zip_bundle("flutter_gtk") { deps = [ ":flutter_linux_gtk", ":publish_headers_linux", + "//third_party/dart/runtime/bin:gen_snapshot", ] sources = get_target_outputs(":publish_headers_linux") tmp_files = [] @@ -299,6 +300,10 @@ zip_bundle("flutter_gtk") { source = "$root_build_dir/libflutter_${host_os}_gtk.so" destination = "libflutter_${host_os}_gtk.so" }, + { + source = "$root_build_dir/gen_snapshot" + destination = "gen_snapshot" + }, ] files = tmp_files }