It's time to #deleteDart1 (again) (#18316)
* It's time to #deleteDart1 (#18293) Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1 benchmarks. All commands now run in Dart 1 mode only. Eliminates --preview-dart-2 / --no-preview-dart-2 support. * Fix indentation, remove no longer necessary .toList() * Only push udpated kernel if >0 invalidated srcs
This commit is contained in:
@@ -32,14 +32,6 @@ void main() async {
|
||||
return new TaskResult.failure(errorMessage);
|
||||
}
|
||||
|
||||
section('gradlew assembleDebug no-preview-dart-2');
|
||||
await project.runGradleTask('assembleDebug', options: <String>['-Ppreview-dart-2=false']);
|
||||
errorMessage = _validateSnapshotDependency(project,
|
||||
'${project.rootPath}/build/app/intermediates/flutter/debug/snapshot_blob.bin');
|
||||
if (errorMessage != null) {
|
||||
return new TaskResult.failure(errorMessage);
|
||||
}
|
||||
|
||||
section('gradlew assembleProfile');
|
||||
await project.runGradleTask('assembleProfile');
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter_devicelab/tasks/hot_mode_tests.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
|
||||
Future<Null> main() async {
|
||||
await task(createHotModeTest(isPreviewDart2: false));
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// Copyright (c) 2018 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter_devicelab/tasks/hot_mode_tests.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/framework/adb.dart';
|
||||
|
||||
Future<Null> main() async {
|
||||
deviceOperatingSystem = DeviceOperatingSystem.ios;
|
||||
await task(createHotModeTest(isPreviewDart2: false));
|
||||
}
|
||||
Reference in New Issue
Block a user