devicelab: replace the FLUTTER_ENGINE environment variable with the new local engine flags (#36969)

This commit is contained in:
Jason Simmons
2019-07-26 10:06:56 -07:00
committed by GitHub
parent 9b150f134b
commit a3a350df1c
7 changed files with 18 additions and 62 deletions

View File

@@ -36,11 +36,10 @@ Future<TaskResult> createFlutterRunTask() async {
final List<String> options = <String>[
'-t', runTestSource.absolute.path, '-d', device.deviceId,
];
setLocalEngineOptionIfNecessary(options);
await inDirectory<void>(flutterGalleryDir, () async {
startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'),
<String>['run', ...options],
flutterCommandArgs('run', options),
environment: null,
);
final Completer<void> finished = Completer<void>();