Unverified Commit 2ad7ced9 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] pass --enable-impeller to android (#104014)

parent 2cbad4b3
...@@ -652,6 +652,8 @@ class AndroidDevice extends Device { ...@@ -652,6 +652,8 @@ class AndroidDevice extends Device {
...<String>['--ez', 'cache-sksl', 'true'], ...<String>['--ez', 'cache-sksl', 'true'],
if (debuggingOptions.purgePersistentCache) if (debuggingOptions.purgePersistentCache)
...<String>['--ez', 'purge-persistent-cache', 'true'], ...<String>['--ez', 'purge-persistent-cache', 'true'],
if (debuggingOptions.enableImpeller)
...<String>['--ez', 'enable-impeller', 'true'],
if (debuggingOptions.debuggingEnabled) ...<String>[ if (debuggingOptions.debuggingEnabled) ...<String>[
if (debuggingOptions.buildInfo.isDebug) ...<String>[ if (debuggingOptions.buildInfo.isDebug) ...<String>[
...<String>['--ez', 'enable-checked-mode', 'true'], ...<String>['--ez', 'enable-checked-mode', 'true'],
......
...@@ -964,7 +964,7 @@ abstract class FlutterCommand extends Command<void> { ...@@ -964,7 +964,7 @@ abstract class FlutterCommand extends Command<void> {
negatable: false, negatable: false,
hide: !verboseHelp, hide: !verboseHelp,
help: 'Whether to enable the experimental Impeller rendering engine. ' 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.', 'be ignored when targeting other platforms.',
); );
} }
......
...@@ -241,6 +241,7 @@ void main() { ...@@ -241,6 +241,7 @@ void main() {
'--ez', 'dump-skp-on-shader-compilation', 'true', '--ez', 'dump-skp-on-shader-compilation', 'true',
'--ez', 'cache-sksl', 'true', '--ez', 'cache-sksl', 'true',
'--ez', 'purge-persistent-cache', 'true', '--ez', 'purge-persistent-cache', 'true',
'--ez', 'enable-impeller', 'true',
'--ez', 'enable-checked-mode', 'true', '--ez', 'enable-checked-mode', 'true',
'--ez', 'verify-entry-points', 'true', '--ez', 'verify-entry-points', 'true',
'--ez', 'start-paused', 'true', '--ez', 'start-paused', 'true',
...@@ -274,6 +275,7 @@ void main() { ...@@ -274,6 +275,7 @@ void main() {
useTestFonts: true, useTestFonts: true,
verboseSystemLogs: true, verboseSystemLogs: true,
nullAssertions: true, nullAssertions: true,
enableImpeller: true,
), ),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
userIdentifier: '10', userIdentifier: '10',
......
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