Return generated kernel filename on incremental compilation results. (#4069)

This commit is contained in:
Alexander Aprelev
2017-09-06 15:13:25 -07:00
committed by GitHub
parent 883f81c844
commit 5aabbe131a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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);
}