| Index: pkg/front_end/lib/src/fasta/compile_platform.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart
|
| index a8a7d9687b1d3859c537f78aff4935f6746dc484..879d08dcf29f9155e018da08f1d7d83c408c1356 100644
|
| --- a/pkg/front_end/lib/src/fasta/compile_platform.dart
|
| +++ b/pkg/front_end/lib/src/fasta/compile_platform.dart
|
| @@ -46,6 +46,7 @@ Future mainEntryPoint(List<String> arguments) async {
|
| Future compilePlatform(CompilerContext c, Ticker ticker) async {
|
| ticker.isVerbose = c.options.verbose;
|
| Uri output = Uri.base.resolveUri(new Uri.file(c.options.arguments[1]));
|
| + Uri deps = Uri.base.resolveUri(new Uri.file("${c.options.arguments[1]}.d"));
|
| Uri patchedSdk = Uri.base.resolveUri(new Uri.file(c.options.arguments[0]));
|
| ticker.logMs("Parsed arguments");
|
| if (ticker.isVerbose) {
|
| @@ -65,7 +66,6 @@ Future compilePlatform(CompilerContext c, Ticker ticker) async {
|
| await kernelTarget.writeOutline(output);
|
|
|
| if (exitCode != 0) return null;
|
| - await kernelTarget.writeProgram(output);
|
| if (c.options.dumpIr) {
|
| kernelTarget.dumpIr();
|
| }
|
| @@ -81,4 +81,7 @@ Future compilePlatform(CompilerContext c, Ticker ticker) async {
|
| }
|
| }
|
| }
|
| + if (exitCode != 0) return null;
|
| + await kernelTarget.writeProgram(output);
|
| + await kernelTarget.writeDepsFile(output, deps);
|
| }
|
|
|