From b8b3e2121436434a1e1c480b22d1286ad4e34016 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Mon, 17 Apr 2023 14:47:49 -0700 Subject: [PATCH] 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 --- engine/src/flutter/.ci.yaml | 1 + .../flutter/ci/builders/mac_host_engine.json | 39 ++++++++++++------- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index 5da50639ec..3800087efd 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -332,6 +332,7 @@ targets: timeout: 60 - name: Mac Host Engine + bringup: true recipe: engine/engine properties: gclient_variables: >- diff --git a/engine/src/flutter/ci/builders/mac_host_engine.json b/engine/src/flutter/ci/builders/mac_host_engine.json index 9be8803d1a..5bc7dc7a50 100644 --- a/engine/src/flutter/ci/builders/mac_host_engine.json +++ b/engine/src/flutter/ci/builders/mac_host_engine.json @@ -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" } ] }