* Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)" This is a re-land with downgraded `package:flutter_gallery_assets` version. * Downgrade package:flutter_gallery_assets to 0.1.4 * Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix) * Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit)
This commit is contained in:
committed by
Jonah Williams
parent
58e52cc177
commit
9299c02cf7
@@ -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,
|
||||
|
||||
@@ -27,7 +27,6 @@ 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
|
||||
};
|
||||
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user