Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)

This CL

  * rolls `engine.version` to flutter/engine@b148e628 (which includes dart sdk 2.1.0-dev)
  * rolls `goldens.version` to flutter/goldens@6c45fafdf (which includes updates due to skia changes in engine)
  * changes `platform.dill` to `platform_strong.dill` in various places due to flutter/engine@a84b210b
  * adds explicit `environment: sdk: ">=2.0.0-dev.68 < 3.0.0"` constraints to `pubspec.yaml` and `pubspec.yaml.tmpl` files (since pub defaults to `<2.0.0` if omitted) 
  * upgrades to newer versions of various 3rd party packages (to ensure transitive dependencies have `<3.0.0` sdk constraint)
This commit is contained in:
Martin Kustermann
2018-08-15 15:22:05 +02:00
committed by GitHub
parent faffd3aef3
commit c7c493ea5d
44 changed files with 316 additions and 160 deletions

View File

@@ -30,7 +30,7 @@ const String _kVMSnapshotInstr = 'vm_snapshot_instr';
const String _kIsolateSnapshotData = 'isolate_snapshot_data';
const String _kIsolateSnapshotInstr = 'isolate_snapshot_instr';
const String _kDylibKey = 'libapp.so';
const String _kPlatformKernelKey = 'platform.dill';
const String _kPlatformKernelKey = 'platform_strong.dill';
Future<void> build({
TargetPlatform platform,

View File

@@ -27,8 +27,7 @@ import '../runner/flutter_command.dart';
/// ```
const Map<String, String> _kManuallyPinnedDependencies = <String, String>{
// Add pinned packages here.
'mockito': '3.0.0-beta', // TODO(aam): https://github.com/dart-lang/mockito/issues/110
'flutter_gallery_assets': '0.1.4', // See //examples/flutter_gallery/pubspec.yaml
'flutter_gallery_assets': '0.1.6', // See //examples/flutter_gallery/pubspec.yaml
};
class UpdatePackagesCommand extends FlutterCommand {

View File

@@ -696,14 +696,14 @@ class _FlutterPlatform extends PlatformPlugin {
tempBundleDirectory.deleteSync(recursive: true);
});
// copy 'vm_platform_strong.dill' into 'platform.dill'
// copy 'vm_platform_strong.dill' into 'platform_strong.dill'
final File vmPlatformStrongDill = fs.file(
artifacts.getArtifactPath(Artifact.platformKernelDill),
);
printTrace('Copying platform.dill file from ${vmPlatformStrongDill.path}');
printTrace('Copying platform_strong.dill file from ${vmPlatformStrongDill.path}');
final File platformDill = vmPlatformStrongDill.copySync(
tempBundleDirectory
.childFile('platform.dill')
.childFile('platform_strong.dill')
.path,
);
if (!platformDill.existsSync()) {