Unverified Commit 096439b4 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

add ignorable track-widget-creation flag to build and remove...

add ignorable track-widget-creation flag to build  and remove --track-widget-creation from xcode backend aot build aot (#31399)
parent a476a08e
......@@ -183,8 +183,7 @@ BuildApp() {
--${build_mode} \
--ios-arch="${archs}" \
${flutter_engine_flag} \
${local_engine_flag} \
${track_widget_creation_flag}
${local_engine_flag}
if [[ $? -ne 0 ]]; then
EchoError "Failed to build ${project_path}."
......
......@@ -38,6 +38,12 @@ class BuildAotCommand extends BuildSubCommand with TargetPlatformBasedDevelopmen
defaultsTo: false,
help: 'Report timing information about build steps in machine readable form,',
)
// track-widget-creation is exposed as a flag here but ignored to deal with build
// invalidation issues - there are no plans to support it for AOT mode.
..addFlag('track-widget-creation',
defaultsTo: false,
hide: true,
)
..addMultiOption('ios-arch',
splitCommas: true,
defaultsTo: defaultIOSArchs.map<String>(getNameForIOSArch),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment