File tree 4 files changed +0
-18
lines changed
packages/flutter_tools/lib/src
4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ class BuildApkCommand extends BuildSubCommand {
16
16
BuildApkCommand ({bool verboseHelp = false }) {
17
17
usesTargetOption ();
18
18
addBuildModeFlags (verboseHelp: verboseHelp);
19
- addDynamicModeFlags (verboseHelp: verboseHelp);
20
19
usesFlavorOption ();
21
20
usesPubOption ();
22
21
usesBuildNumberOption ();
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ class BuildBundleCommand extends BuildSubCommand {
20
20
usesFilesystemOptions (hide: ! verboseHelp);
21
21
usesBuildNumberOption ();
22
22
addBuildModeFlags (verboseHelp: verboseHelp);
23
- addDynamicModeFlags (verboseHelp: verboseHelp);
24
23
argParser
25
24
..addFlag ('precompiled' , negatable: false )
26
25
// This option is still referenced by the iOS build scripts. We should
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
30
30
// Used by run and drive commands.
31
31
RunCommandBase ({ bool verboseHelp = false }) {
32
32
addBuildModeFlags (defaultToRelease: false , verboseHelp: verboseHelp);
33
- addDynamicModeFlags (verboseHelp: verboseHelp);
34
33
usesFlavorOption ();
35
34
argParser
36
35
..addFlag ('trace-startup' ,
Original file line number Diff line number Diff line change @@ -244,21 +244,6 @@ abstract class FlutterCommand extends Command<void> {
244
244
argParser.addFlag ('release' ,
245
245
negatable: false ,
246
246
help: 'Build a release version of your app${defaultToRelease ? ' (default mode)' : '' }.' );
247
- argParser.addFlag ('dynamic' ,
248
- hide: ! verboseHelp,
249
- negatable: false ,
250
- help: 'Enable dynamic code. Only allowed with --release or --profile.' );
251
- }
252
-
253
- void addDynamicModeFlags ({ bool verboseHelp = false }) {
254
- argParser.addOption ('compilation-trace-file' ,
255
- defaultsTo: 'compilation.txt' ,
256
- hide: ! verboseHelp,
257
- help: 'Filename of Dart compilation trace file. This file will be produced\n '
258
- 'by \' flutter run --dynamic --profile --train\' and consumed by subsequent\n '
259
- '--dynamic builds such as \' flutter build apk --dynamic\' to precompile\n '
260
- 'some code by the offline compiler.' ,
261
- );
262
247
}
263
248
264
249
void usesFuchsiaOptions ({ bool hide = false }) {
You can’t perform that action at this time.
0 commit comments