Skip to content

Commit b0d605f

Browse files
authored
Use darwin rather than mac for dart_sdk artifacts. (flutter#33821)
1 parent d5c86f9 commit b0d605f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/archives/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ if (build_engine_artifacts && flutter_prebuilt_dart_sdk) {
107107
zip_bundle("dart_sdk_archive") {
108108
deps = []
109109
output = "dart-sdk-$full_target_platform_name.zip"
110+
if (is_mac) {
111+
# Mac artifacts sometimes use mac and sometimes darwin. Standardizing the
112+
# names will require changes in the list of artifacts the tool is downloading.
113+
output = "dart-sdk-darwin-$target_cpu.zip"
114+
}
110115
files = [
111116
{
112117
source = prebuilt_dart_sdk

0 commit comments

Comments
 (0)