Fix fonts and artifacts paths. (flutter/engine#33160)
This commit is contained in:
@@ -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/"
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user