Update mac_host_engine to generate snapshot with global generators. (flutter/engine#36026)

This commit is contained in:
godofredoc 2022-09-08 20:45:16 -07:00 committed by GitHub
parent e0e86ca10b
commit 6f66c584f7

View File

@ -6,7 +6,6 @@
"base_path": "out/host_debug/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_debug/zip_archives/darwin-x64/gen_snapshot.zip",
"out/host_debug/zip_archives/darwin-x64/artifacts.zip",
"out/host_debug/zip_archives/darwin-x64/FlutterEmbedder.framework.zip",
"out/host_debug/zip_archives/dart-sdk-darwin-x64.zip",
@ -51,7 +50,6 @@
"base_path": "out/host_profile/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_profile/zip_archives/darwin-x64-profile/gen_snapshot.zip",
"out/host_profile/zip_archives/darwin-x64-profile/artifacts.zip"
],
"name": "host_profile"
@ -104,7 +102,6 @@
"base_path": "out/host_release/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_release/zip_archives/darwin-x64-release/gen_snapshot.zip",
"out/host_release/zip_archives/darwin-x64-release/artifacts.zip",
"out/host_release/zip_archives/darwin-x64/font-subset.zip"
],
@ -144,8 +141,7 @@
"base_path": "out/mac_debug_arm64/zip_archives/",
"type": "gcs",
"include_paths": [
"out/mac_debug_arm64/zip_archives/dart-sdk-darwin-arm64.zip",
"out/mac_debug_arm64/zip_archives/darwin-x64/gen_snapshot.zip"
"out/mac_debug_arm64/zip_archives/dart-sdk-darwin-arm64.zip"
],
"name": "mac_debug_arm64"
}
@ -184,9 +180,7 @@
{
"base_path": "out/mac_profile_arm64/zip_archives/",
"type": "gcs",
"include_paths": [
"out/mac_profile_arm64/zip_archives/darwin-x64-profile/gen_snapshot.zip"
],
"include_paths": [],
"name": "mac_profile_arm64"
}
],
@ -222,9 +216,7 @@
{
"base_path": "out/mac_release_arm64/zip_archives/",
"type": "gcs",
"include_paths": [
"out/mac_release_arm64/zip_archives/darwin-x64-release/gen_snapshot.zip"
],
"include_paths": [],
"name": "mac_release_arm64"
}
],
@ -263,7 +255,7 @@
"name": "Release-FlutterMacOS.framework",
"parameters": [
"--dst",
"out/release",
"out/release/framework",
"--arm64-out-dir",
"out/mac_release_arm64",
"--x64-out-dir",
@ -278,7 +270,7 @@
"name": "Debug-FlutterMacOS.framework",
"parameters": [
"--dst",
"out/debug",
"out/debug/framework",
"--arm64-out-dir",
"out/mac_debug_arm64",
"--x64-out-dir",
@ -291,7 +283,7 @@
"name": "Profile-FlutterMacOS.framework",
"parameters": [
"--dst",
"out/profile",
"out/profile/framework",
"--arm64-out-dir",
"out/mac_profile_arm64",
"--x64-out-dir",
@ -299,25 +291,84 @@
"--zip"
],
"script": "flutter/sky/tools/create_macos_framework.py"
},
{
"name": "Verify-export-symbols",
"parameters": [
"src/out"
],
"script": "flutter/testing/symbols/verify_exported.dart",
"language": "dart"
},
{
"name": "Debug-gen_snapshots",
"parameters": [
"--dst",
"out/debug/snapshot",
"--arm64-out-dir",
"out/mac_debug_arm64",
"--x64-out-dir",
"out/host_debug",
"--zip"
],
"script": "flutter/sky/tools/create_macos_gen_snapshots.py"
},
{
"name": "Profile-gen_snapshots",
"parameters": [
"--dst",
"out/profile/snapshot",
"--arm64-out-dir",
"out/mac_profile_arm64",
"--x64-out-dir",
"out/host_profile",
"--zip"
],
"script": "flutter/sky/tools/create_macos_gen_snapshots.py"
},
{
"name": "Release-gen_snapshots",
"parameters": [
"--dst",
"out/release/snapshot",
"--arm64-out-dir",
"out/mac_release_arm64",
"--x64-out-dir",
"out/host_release",
"--zip"
],
"script": "flutter/sky/tools/create_macos_gen_snapshots.py"
}
]
},
"archives": [
{
"source": "out/release/FlutterMacOS.dSYM.zip",
"source": "out/release/framework/FlutterMacOS.dSYM.zip",
"destination": "darwin-x64-release/FlutterMacOS.dSYM.zip"
},
{
"source": "out/debug/FlutterMacOS.framework.zip",
"source": "out/debug/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64/FlutterMacOS.framework.zip"
},
{
"source": "out/profile/FlutterMacOS.framework.zip",
"source": "out/profile/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64-profile/FlutterMacOS.framework.zip"
},
{
"source": "out/release/FlutterMacOS.framework.zip",
"source": "out/release/framework/FlutterMacOS.framework.zip",
"destination": "darwin-x64-release/FlutterMacOS.framework.zip"
},
{
"source": "out/debug/snapshot/gen_snapshot.zip",
"destination": "darwin-x64/gen_snapshot.zip"
},
{
"source": "out/profile/snapshot/gen_snapshot.zip",
"destination": "darwin-x64-profile/gen_snapshot.zip"
},
{
"source": "out/release/snapshot/gen_snapshot.zip",
"destination": "darwin-x64-release/gen_snapshot.zip"
}
]
}