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
2ad7ced9
Unverified
Commit
2ad7ced9
authored
May 17, 2022
by
Jonah Williams
Committed by
GitHub
May 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] pass --enable-impeller to android (#104014)
parent
2cbad4b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
android_device.dart
packages/flutter_tools/lib/src/android/android_device.dart
+2
-0
flutter_command.dart
packages/flutter_tools/lib/src/runner/flutter_command.dart
+1
-1
android_device_start_test.dart
...test/general.shard/android/android_device_start_test.dart
+2
-0
No files found.
packages/flutter_tools/lib/src/android/android_device.dart
View file @
2ad7ced9
...
...
@@ -652,6 +652,8 @@ class AndroidDevice extends Device {
...<
String
>[
'--ez'
,
'cache-sksl'
,
'true'
],
if
(
debuggingOptions
.
purgePersistentCache
)
...<
String
>[
'--ez'
,
'purge-persistent-cache'
,
'true'
],
if
(
debuggingOptions
.
enableImpeller
)
...<
String
>[
'--ez'
,
'enable-impeller'
,
'true'
],
if
(
debuggingOptions
.
debuggingEnabled
)
...<
String
>[
if
(
debuggingOptions
.
buildInfo
.
isDebug
)
...<
String
>[
...<
String
>[
'--ez'
,
'enable-checked-mode'
,
'true'
],
...
...
packages/flutter_tools/lib/src/runner/flutter_command.dart
View file @
2ad7ced9
...
...
@@ -964,7 +964,7 @@ abstract class FlutterCommand extends Command<void> {
negatable:
false
,
hide:
!
verboseHelp
,
help:
'Whether to enable the experimental Impeller rendering engine. '
'Impeller is currently only supported on iOS. This flag will '
'Impeller is currently only supported on iOS
and Android
. This flag will '
'be ignored when targeting other platforms.'
,
);
}
...
...
packages/flutter_tools/test/general.shard/android/android_device_start_test.dart
View file @
2ad7ced9
...
...
@@ -241,6 +241,7 @@ void main() {
'--ez'
,
'dump-skp-on-shader-compilation'
,
'true'
,
'--ez'
,
'cache-sksl'
,
'true'
,
'--ez'
,
'purge-persistent-cache'
,
'true'
,
'--ez'
,
'enable-impeller'
,
'true'
,
'--ez'
,
'enable-checked-mode'
,
'true'
,
'--ez'
,
'verify-entry-points'
,
'true'
,
'--ez'
,
'start-paused'
,
'true'
,
...
...
@@ -274,6 +275,7 @@ void main() {
useTestFonts:
true
,
verboseSystemLogs:
true
,
nullAssertions:
true
,
enableImpeller:
true
,
),
platformArgs:
<
String
,
dynamic
>{},
userIdentifier:
'10'
,
...
...
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