forked from firka/flutter
add ignorable track-widget-creation flag to build and remove --track-widget-creation from xcode backend aot build aot (#31399)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user