mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:56:57 +00:00
Ensure we pass the kernel file to dart_bootstrap when using cfe (in batch and non-batch mode)
Issue https://github.com/dart-lang/sdk/issues/31585 Change-Id: Ibca196103b868177afa0ab9e15c913bbea2474ed Reviewed-on: https://dart-review.googlesource.com/28760 Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
This commit is contained in:
parent
bb240a6cbf
commit
ba8014df04
|
@ -710,8 +710,9 @@ class PrecompilerCompilerConfiguration extends CompilerConfiguration
|
||||||
|
|
||||||
if (_isStrong) {
|
if (_isStrong) {
|
||||||
args.add('--strong');
|
args.add('--strong');
|
||||||
args.addAll(arguments.where((name) => !name.endsWith('.dart')));
|
}
|
||||||
args.add(tempKernelFile(tempDir));
|
if (useDfe) {
|
||||||
|
args.addAll(_replaceDartFiles(arguments, tempKernelFile(tempDir)));
|
||||||
} else {
|
} else {
|
||||||
args.addAll(arguments);
|
args.addAll(arguments);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue