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.
This commit is contained in:
godofredoc
2023-02-03 09:13:13 -08:00
committed by GitHub
parent e8c5ac970c
commit 9dff1d9871

View File

@@ -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"
},
]
}
}