Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
300e8f84
Unverified
Commit
300e8f84
authored
Jun 20, 2019
by
Jason Simmons
Committed by
GitHub
Jun 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove flags related to dynamic patching (#34736)
parent
38f84901
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
18 deletions
+0
-18
build_apk.dart
packages/flutter_tools/lib/src/commands/build_apk.dart
+0
-1
build_bundle.dart
packages/flutter_tools/lib/src/commands/build_bundle.dart
+0
-1
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+0
-1
flutter_command.dart
packages/flutter_tools/lib/src/runner/flutter_command.dart
+0
-15
No files found.
packages/flutter_tools/lib/src/commands/build_apk.dart
View file @
300e8f84
...
...
@@ -16,7 +16,6 @@ class BuildApkCommand extends BuildSubCommand {
BuildApkCommand
({
bool
verboseHelp
=
false
})
{
usesTargetOption
();
addBuildModeFlags
(
verboseHelp:
verboseHelp
);
addDynamicModeFlags
(
verboseHelp:
verboseHelp
);
usesFlavorOption
();
usesPubOption
();
usesBuildNumberOption
();
...
...
packages/flutter_tools/lib/src/commands/build_bundle.dart
View file @
300e8f84
...
...
@@ -20,7 +20,6 @@ class BuildBundleCommand extends BuildSubCommand {
usesFilesystemOptions
(
hide:
!
verboseHelp
);
usesBuildNumberOption
();
addBuildModeFlags
(
verboseHelp:
verboseHelp
);
addDynamicModeFlags
(
verboseHelp:
verboseHelp
);
argParser
..
addFlag
(
'precompiled'
,
negatable:
false
)
// This option is still referenced by the iOS build scripts. We should
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
300e8f84
...
...
@@ -30,7 +30,6 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
// Used by run and drive commands.
RunCommandBase
({
bool
verboseHelp
=
false
})
{
addBuildModeFlags
(
defaultToRelease:
false
,
verboseHelp:
verboseHelp
);
addDynamicModeFlags
(
verboseHelp:
verboseHelp
);
usesFlavorOption
();
argParser
..
addFlag
(
'trace-startup'
,
...
...
packages/flutter_tools/lib/src/runner/flutter_command.dart
View file @
300e8f84
...
...
@@ -244,21 +244,6 @@ abstract class FlutterCommand extends Command<void> {
argParser
.
addFlag
(
'release'
,
negatable:
false
,
help:
'Build a release version of your app
${defaultToRelease ? ' (default mode)' : ''}
.'
);
argParser
.
addFlag
(
'dynamic'
,
hide:
!
verboseHelp
,
negatable:
false
,
help:
'Enable dynamic code. Only allowed with --release or --profile.'
);
}
void
addDynamicModeFlags
({
bool
verboseHelp
=
false
})
{
argParser
.
addOption
(
'compilation-trace-file'
,
defaultsTo:
'compilation.txt'
,
hide:
!
verboseHelp
,
help:
'Filename of Dart compilation trace file. This file will be produced
\n
'
'by
\'
flutter run --dynamic --profile --train
\'
and consumed by subsequent
\n
'
'--dynamic builds such as
\'
flutter build apk --dynamic
\'
to precompile
\n
'
'some code by the offline compiler.'
,
);
}
void
usesFuchsiaOptions
({
bool
hide
=
false
})
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment