Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Archive windows gen_snapshot.exe. #35414

Merged
merged 20 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions build/archives/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,16 @@ if (is_mac) {
]
}
}

if (host_os == "win") {
zip_bundle("archive_win_gen_snapshot") {
deps = [ "//flutter:gen_snapshot" ]
output = "$full_target_platform_name-$flutter_runtime_mode/windows-x64.zip"
files = [
{
source = "$root_out_dir/gen_snapshot/gen_snapshot.exe"
destination = "gen_snapshot.exe"
},
]
}
}
2 changes: 1 addition & 1 deletion common/config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ if (flutter_prebuilt_dart_sdk) {
# see https://github.com/flutter/flutter/issues/74322
build_engine_artifacts =
current_toolchain == host_toolchain ||
(is_linux && !is_chromeos && current_cpu != "arm") || is_mac
(is_linux && !is_chromeos && current_cpu != "arm") || is_mac || is_win