Return generated kernel filename on incremental compilation results. (flutter/engine#4069)
This commit is contained in:
committed by
GitHub
parent
fd79986caf
commit
4009e524e8
@@ -158,7 +158,7 @@ class _FrontendCompiler implements CompilerInterface {
|
||||
final IOSink sink = new File(_kernelBinaryFilename).openWrite();
|
||||
final BinaryPrinter printer = printerFactory.newBinaryPrinter(sink);
|
||||
printer.writeProgramFile(deltaProgram.newProgram);
|
||||
_outputStream.writeln("$boundaryKey");
|
||||
_outputStream.writeln("$boundaryKey $_kernelBinaryFilename");
|
||||
await sink.close();
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ Future<int> main() async {
|
||||
boundaryKey = s.substring(RESULT_OUTPUT_SPACE.length);
|
||||
}
|
||||
} else {
|
||||
if (s == boundaryKey) {
|
||||
if (s.startsWith(boundaryKey)) {
|
||||
boundaryKey = null;
|
||||
receivedResult.sendPort.send(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user