From de593702dee3f01256c877d4363d5376cc3d9bf7 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Mon, 27 Jun 2022 10:00:06 -0700 Subject: [PATCH] Add gen_snapshot to flutter_gtk. (flutter/engine#34287) --- engine/src/flutter/shell/platform/linux/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) 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 }