Use darwin rather than mac for dart_sdk artifacts. (flutter/engine#33821)

This commit is contained in:
godofredoc
2022-06-03 20:08:04 -07:00
committed by GitHub
parent 48e47e3a1e
commit c2c2b223ed

View File

@@ -107,6 +107,11 @@ if (build_engine_artifacts && flutter_prebuilt_dart_sdk) {
zip_bundle("dart_sdk_archive") {
deps = []
output = "dart-sdk-$full_target_platform_name.zip"
if (is_mac) {
# Mac artifacts sometimes use mac and sometimes darwin. Standardizing the
# names will require changes in the list of artifacts the tool is downloading.
output = "dart-sdk-darwin-$target_cpu.zip"
}
files = [
{
source = prebuilt_dart_sdk