Improve performance of build APK (~50%) by running gen_snapshot concurrently (#44534)
This commit is contained in:
@@ -396,7 +396,7 @@ Future<ProcessResult> _resultOfGradleTask({String workingDirectory, String task,
|
||||
String validateSnapshotDependency(FlutterProject project, String expectedTarget) {
|
||||
final File snapshotBlob = File(
|
||||
path.join(project.rootPath, 'build', 'app', 'intermediates',
|
||||
'flutter', 'debug', 'android-arm', 'flutter_build.d'));
|
||||
'flutter', 'debug', 'flutter_build.d'));
|
||||
|
||||
assert(snapshotBlob.existsSync());
|
||||
final String contentSnapshot = snapshotBlob.readAsStringSync();
|
||||
|
||||
Reference in New Issue
Block a user