Fix fonts and artifacts paths. (flutter/engine#33160)

This commit is contained in:
godofredoc
2022-05-06 10:29:04 -07:00
committed by GitHub
parent af70c21563
commit fce2df706a
2 changed files with 8 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ if (build_engine_artifacts) {
"//flutter/lib/snapshot:generate_snapshot_bin",
"//flutter/shell/testing:testing",
]
prefix = "$full_platform_name/"
prefix = "$full_target_platform_name/"
if (flutter_runtime_mode != "debug") {
prefix = "$full_platform_name-$flutter_runtime_mode/"
}

View File

@@ -41,7 +41,13 @@ generated_file("_font-subset-license") {
}
zip_bundle("font-subset") {
output = "${full_platform_name}/font-subset.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 = "darwin-${target_cpu}/font-subset.zip"
} else {
output = "${full_target_platform_name}/font-subset.zip"
}
font_subset_bin = "font-subset"
if (is_win) {