Use darwin instead of mac for artifacts location. (flutter/engine#34145)

This commit is contained in:
godofredoc
2022-06-17 16:08:07 -07:00
committed by GitHub
parent 9ce131d415
commit 50b88f8f8c

View File

@@ -15,7 +15,14 @@ if (build_engine_artifacts) {
"//flutter/shell/testing:testing",
"//flutter/shell/testing:testing_fractional_translation",
]
prefix = "$full_target_platform_name/"
if (is_mac) {
# TODO(godofredoc): Remove after paths are standardized flutter/flutter#105351.
# Mac artifacts sometimes use mac and sometimes darwin. Standardizing the
# names will require changes in the list of artifacts the tool is downloading.
prefix = "darwin-$target_cpu/"
} else {
prefix = "$full_target_platform_name/"
}
if (flutter_runtime_mode != "debug") {
prefix = "$full_platform_name-$flutter_runtime_mode/"
}