diff --git a/engine/src/flutter/ci/builders/mac_ios_engine.json b/engine/src/flutter/ci/builders/mac_ios_engine.json index 21c700836b..b390739414 100644 --- a/engine/src/flutter/ci/builders/mac_ios_engine.json +++ b/engine/src/flutter/ci/builders/mac_ios_engine.json @@ -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" + } + ] } diff --git a/engine/src/flutter/ci/builders/mac_ios_engine_profile.json b/engine/src/flutter/ci/builders/mac_ios_engine_profile.json index 530ab2f4ef..591dfc153e 100644 --- a/engine/src/flutter/ci/builders/mac_ios_engine_profile.json +++ b/engine/src/flutter/ci/builders/mac_ios_engine_profile.json @@ -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" + } + ] }