From 9dff1d98718bd2111e3f0193fa52d7d6576182ac Mon Sep 17 00:00:00 2001 From: godofredoc Date: Fri, 3 Feb 2023 09:13:13 -0800 Subject: [PATCH] Add gen_snapshot to windows flutter artifact. (flutter/engine#39353) * Add gen_snapshot to windows flutter artifact. This file was missing on release and profile versions. Bug: https://github.com/flutter/flutter/issues/119887 * Format gn file. --- engine/src/flutter/build/archives/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/src/flutter/build/archives/BUILD.gn b/engine/src/flutter/build/archives/BUILD.gn index 0d0fd4f512..4909739646 100644 --- a/engine/src/flutter/build/archives/BUILD.gn +++ b/engine/src/flutter/build/archives/BUILD.gn @@ -229,6 +229,7 @@ if (host_os == "win") { zip_bundle("windows_flutter") { output = "$full_target_platform_name-$flutter_runtime_mode/$full_target_platform_name-flutter.zip" deps = [ + "//flutter:gen_snapshot", "//flutter/shell/platform/common:publish_headers", "//flutter/shell/platform/windows:flutter_windows", "//flutter/shell/platform/windows:publish_headers_windows", @@ -270,6 +271,10 @@ if (host_os == "win") { source = "$root_out_dir/flutter_windows.dll.pdb" destination = "flutter_windows.dll.pdb" }, + { + source = "$root_out_dir/gen_snapshot/gen_snapshot.exe" + destination = "gen_snapshot.exe" + }, ] } }