Skip to content

Commit 9a9aed1

Browse files
authored
When doing flutter test use batch compiler and link platform in. (flutter#14983)
This is to fix flutter#14931.
1 parent ae9fdef commit 9a9aed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/lib/src/test/flutter_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ class _FlutterPlatform extends PlatformPlugin {
205205
if (previewDart2) {
206206
mainDart = await compile(
207207
sdkRoot: artifacts.getArtifactPath(Artifact.flutterPatchedSdkPath),
208-
incrementalCompilerByteStorePath: '' /* not null is enough */,
209208
mainPath: listenerFile.path,
210209
packagesPath: PackageMap.globalPackagesPath,
210+
linkPlatformKernelIn: true
211211
);
212212

213213
if (mainDart == null) {

0 commit comments

Comments
 (0)