Unverified Commit 9a9aed19 authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

When doing flutter test use batch compiler and link platform in. (#14983)

This is to fix #14931.
parent ae9fdefa
......@@ -205,9 +205,9 @@ class _FlutterPlatform extends PlatformPlugin {
if (previewDart2) {
mainDart = await compile(
sdkRoot: artifacts.getArtifactPath(Artifact.flutterPatchedSdkPath),
incrementalCompilerByteStorePath: '' /* not null is enough */,
mainPath: listenerFile.path,
packagesPath: PackageMap.globalPackagesPath,
linkPlatformKernelIn: true
);
if (mainDart == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment