Unverified Commit a2cf9ecc authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] expose track-widget-creation to build aar (#57117)

parent 1c13d665
......@@ -40,6 +40,7 @@ class BuildAarCommand extends BuildSubCommand {
usesPubOption();
addSplitDebugInfoOption();
addDartObfuscationOption();
usesTrackWidgetCreation(verboseHelp: false);
argParser
..addMultiOption(
'target-platform',
......
......@@ -142,8 +142,10 @@ void main() {
buildModes.add(buildInfo.mode);
if (buildInfo.mode.isPrecompiled) {
expect(buildInfo.treeShakeIcons, isTrue);
expect(buildInfo.trackWidgetCreation, isTrue);
} else {
expect(buildInfo.treeShakeIcons, isFalse);
expect(buildInfo.trackWidgetCreation, isTrue);
}
expect(buildInfo.flavor, isNull);
expect(buildInfo.splitDebugInfoPath, isNull);
......
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