Commit d4550fd4 authored by Yegor's avatar Yegor Committed by GitHub

do not build APK twice (#8105)

parent 1bd1e7af
......@@ -20,7 +20,6 @@ import '../device.dart';
import '../globals.dart';
import '../ios/simulators.dart' show SimControl, IOSSimulatorUtils;
import '../resident_runner.dart';
import 'build_apk.dart' as build_apk;
import 'run.dart';
/// Runs integration (a.k.a. end-to-end) tests.
......@@ -263,16 +262,6 @@ Future<LaunchResult> _startApp(DriveCommand command) async {
return null;
}
// TODO(devoncarew): We should remove the need to special case here.
if (command.device is AndroidDevice) {
printTrace('Building an APK.');
await build_apk.buildApk(
command.device.platform,
target: command.targetFile,
buildMode: command.getBuildMode()
);
}
printTrace('Stopping previously running application, if any.');
await appStopper(command);
......
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