Revert "[Impeller] Temporary flag flip for devicelab tests to use Impeller redux. (#122340)" (#122362)
Revert "[Impeller] Temporary flag flip for devicelab tests to use Impeller redux."
This commit is contained in:
@@ -15,8 +15,6 @@ import 'devices.dart';
|
||||
import 'host_agent.dart';
|
||||
import 'task_result.dart';
|
||||
|
||||
const bool kEnableImpellerDefault = true;
|
||||
|
||||
/// Virtual current working directory, which affect functions, such as [exec].
|
||||
String cwd = Directory.current.path;
|
||||
|
||||
@@ -448,13 +446,6 @@ List<String> _flutterCommandArgs(String command, List<String> options) {
|
||||
};
|
||||
final String? localEngine = localEngineFromEnv;
|
||||
final String? localEngineSrcPath = localEngineSrcPathFromEnv;
|
||||
|
||||
bool addEnableImpeller() {
|
||||
return !options.contains('--enable-impeller')
|
||||
&& deviceOperatingSystem == DeviceOperatingSystem.ios
|
||||
&& (command == 'drive' || command == 'run');
|
||||
}
|
||||
|
||||
return <String>[
|
||||
command,
|
||||
if (deviceOperatingSystem == DeviceOperatingSystem.ios && supportedDeviceTimeoutCommands.contains(command))
|
||||
@@ -462,8 +453,7 @@ List<String> _flutterCommandArgs(String command, List<String> options) {
|
||||
'--device-timeout',
|
||||
'5',
|
||||
],
|
||||
if (addEnableImpeller())
|
||||
'--enable-impeller',
|
||||
|
||||
if (command == 'drive' && hostAgent.dumpDirectory != null) ...<String>[
|
||||
'--screenshot',
|
||||
hostAgent.dumpDirectory!.path,
|
||||
|
||||
Reference in New Issue
Block a user