mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
fix windows codegen (#29062)
This commit is contained in:
parent
a07c9a12bd
commit
ac6afa4d20
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user