Reland "Migrate mac_host_engine to engine v2 builds." (flutter/engine#41279)

Reverts flutter/engine#41233

The issue this PR was reverted was not replicable. On top of that we added extra precautions to ensure global generators are using left over binaries from out folder. https://flutter-review.googlesource.com/c/recipes/+/41960
This commit is contained in:
godofredoc
2023-04-17 14:47:49 -07:00
committed by GitHub
parent 0f7f868bb5
commit b8b3e21214
2 changed files with 27 additions and 13 deletions

View File

@@ -332,6 +332,7 @@ targets:
timeout: 60
- name: Mac Host Engine
bringup: true
recipe: engine/engine
properties:
gclient_variables: >-

View File

@@ -10,7 +10,8 @@
"out/host_debug/zip_archives/darwin-x64/FlutterEmbedder.framework.zip",
"out/host_debug/zip_archives/dart-sdk-darwin-x64.zip"
],
"name": "host_debug"
"name": "host_debug",
"realm": "production"
}
],
"drone_dimensions": [
@@ -67,7 +68,8 @@
"include_paths": [
"out/host_profile/zip_archives/darwin-x64-profile/artifacts.zip"
],
"name": "host_profile"
"name": "host_profile",
"realm": "production"
}
],
"drone_dimensions": [
@@ -122,7 +124,8 @@
"out/host_release/zip_archives/darwin-x64-release/artifacts.zip",
"out/host_release/zip_archives/darwin-x64/font-subset.zip"
],
"name": "host_release"
"name": "host_release",
"realm": "production"
}
],
"drone_dimensions": [
@@ -184,7 +187,8 @@
"out/mac_debug_arm64/zip_archives/darwin-arm64/artifacts.zip",
"out/mac_debug_arm64/zip_archives/dart-sdk-darwin-arm64.zip"
],
"name": "mac_debug_arm64"
"name": "mac_debug_arm64",
"realm": "production"
}
],
"drone_dimensions": [
@@ -225,7 +229,8 @@
"include_paths": [
"out/mac_profile_arm64/zip_archives/darwin-arm64-profile/artifacts.zip"
],
"name": "mac_profile_arm64"
"name": "mac_profile_arm64",
"realm": "production"
}
],
"drone_dimensions": [
@@ -264,7 +269,8 @@
"out/mac_release_arm64/zip_archives/darwin-arm64/font-subset.zip",
"out/mac_release_arm64/zip_archives/darwin-arm64-release/artifacts.zip"
],
"name": "mac_release_arm64"
"name": "mac_release_arm64",
"realm": "production"
}
],
"drone_dimensions": [
@@ -392,31 +398,38 @@
"archives": [
{
"source": "out/release/framework/FlutterMacOS.dSYM.zip",
"destination": "darwin-x64-release/FlutterMacOS.dSYM.zip"
"destination": "darwin-x64-release/FlutterMacOS.dSYM.zip",
"realm": "production"
},
{
"source": "out/debug/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64/FlutterMacOS.framework.zip"
"destination": "darwin-x64/FlutterMacOS.framework.zip",
"realm": "production"
},
{
"source": "out/profile/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64-profile/FlutterMacOS.framework.zip"
"destination": "darwin-x64-profile/FlutterMacOS.framework.zip",
"realm": "production"
},
{
"source": "out/release/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64-release/FlutterMacOS.framework.zip"
"destination": "darwin-x64-release/FlutterMacOS.framework.zip",
"realm": "production"
},
{
"source": "out/debug/snapshot/gen_snapshot.zip",
"destination": "darwin-x64/gen_snapshot.zip"
"destination": "darwin-x64/gen_snapshot.zip",
"realm": "production"
},
{
"source": "out/profile/snapshot/gen_snapshot.zip",
"destination": "darwin-x64-profile/gen_snapshot.zip"
"destination": "darwin-x64-profile/gen_snapshot.zip",
"realm": "production"
},
{
"source": "out/release/snapshot/gen_snapshot.zip",
"destination": "darwin-x64-release/gen_snapshot.zip"
"destination": "darwin-x64-release/gen_snapshot.zip",
"realm": "production"
}
]
}