Add global generator processing for mac_ios builds. (flutter/engine#35328)

This commit is contained in:
godofredoc
2022-08-10 17:30:06 -07:00
committed by GitHub
parent 5f5f16c6da
commit 7990971133
2 changed files with 71 additions and 16 deletions

View File

@@ -48,8 +48,7 @@
"archives": [
{
"base_path": "out/ios_debug/zip_archives/",
"include_paths": [
],
"include_paths": [],
"name": "ios_debug"
}
],
@@ -64,23 +63,51 @@
"--runtime-mode",
"debug"
],
"generators": {
"tasks": [
{
"name": "BuildObjcDoc",
"scripts": [
"flutter/tools/gen_objcdoc.sh"
]
}
]
},
"name": "ios_debug",
"ninja": {
"config": "ios_debug",
"targets": []
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework"
]
},
"tests": []
}
],
"tests": []
"tests": [],
"generators": {
"tasks": [
{
"name": "Debug-FlutterMacOS.framework",
"parameters": [
"--dst",
"out/debug",
"--arm64-out-dir",
"out/ios_debug",
"--simulator-x64-out-dir",
"out/ios_debug_sim",
"--simulator-arm64-out-dir",
"out/ios_debug_sim_arm64"
],
"script": "flutter/sky/tools/create_full_ios_framework.py",
"language": "python"
},
{
"name": "obj-c-doc",
"parameters": [
"out/debug"
],
"script": "flutter/tools/gen_objcdoc.sh"
}
]
},
"archives": [
{
"source": "out/debug/artifacts.zip",
"destination": "ios/artifacts.zip"
},
{
"source": "out/debug/ios-objcdoc.zip",
"destination": "ios-objcdoc.zip"
}
]
}

View File

@@ -61,10 +61,38 @@
"name": "ios_profile",
"ninja": {
"config": "ios_profile",
"targets": []
"targets": [
"flutter/shell/platform/darwin/ios:flutter_framework",
"flutter/lib/snapshot:generate_snapshot_bin"
]
},
"tests": []
}
],
"tests": []
"tests": [],
"generators": {
"tasks": [
{
"name": "Profile-FlutterMacOS.framework",
"parameters": [
"--dst",
"out/profile",
"--arm64-out-dir",
"out/ios_profile",
"--simulator-x64-out-dir",
"out/ios_debug_sim",
"--simulator-arm64-out-dir",
"out/ios_debug_sim_arm64"
],
"script": "flutter/sky/tools/create_full_ios_framework.py",
"language": "python"
}
]
},
"archives": [
{
"source": "out/profile/artifacts.zip",
"destination": "ios-profile/artifacts.zip"
}
]
}