Skip to content

Commit

Permalink
Revert "Lazy cache 4 (#29785)"
Browse files Browse the repository at this point in the history
This reverts commit d71f324.
  • Loading branch information
jonahwilliams committed Mar 26, 2019
1 parent f652f01 commit ebfbe48
Show file tree
Hide file tree
Showing 12 changed files with 190 additions and 363 deletions.
3 changes: 2 additions & 1 deletion packages/flutter_tools/lib/src/base/build.dart
Expand Up @@ -85,6 +85,7 @@ class AOTSnapshotter {
if (fs.file('pubspec.yaml').existsSync()) {
flutterProject = await FlutterProject.current();
}
final FlutterEngine engine = FlutterEngine(cache);
if (!_isValidAotPlatform(platform, buildMode)) {
printError('${getNameForTargetPlatform(platform)} does not support AOT compilation.');
return 1;
Expand Down Expand Up @@ -186,7 +187,7 @@ class AOTSnapshotter {
'entryPoint': mainPath,
'sharedLib': buildSharedLibrary.toString(),
'extraGenSnapshotOptions': extraGenSnapshotOptions.join(' '),
'engineHash': Cache.instance.engineRevision,
'engineHash': engine.version,
'buildersUsed': '${flutterProject != null ? flutterProject.hasBuilders : false}',
},
depfilePaths: <String>[],
Expand Down

0 comments on commit ebfbe48

Please sign in to comment.