fix windows codegen (#29062)

This commit is contained in:
Jonah Williams 2019-03-08 19:26:45 -08:00 committed by GitHub
parent a07c9a12bd
commit ac6afa4d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ class CodeGeneratingKernelCompiler implements KernelCompiler {
depFilePath: depFilePath,
targetModel: targetModel,
// Pass an invalid file name to prevent frontend_server from initializing from dill.
initializeFromDill: ' ',
initializeFromDill: 'none_file',
);
}
}
@ -189,7 +189,7 @@ class CodeGeneratingResidentCompiler implements ResidentCompiler {
targetModel: TargetModel.flutter,
unsafePackageSerialization: unsafePackageSerialization,
// Pass an invalid file name to prevent frontend_server from initializing from dill.
initializeFromDill: ' ',
initializeFromDill: 'none_file',
);
return CodeGeneratingResidentCompiler._(residentCompiler, codegenDaemon);
}