Index: tools/patch_sdk.dart |
diff --git a/tools/patch_sdk.dart b/tools/patch_sdk.dart |
index cfc50f2c01f0da61007ee9cad8348de8f011ed8c..a1adba97148c9d58ded29d715e48d04f1cc333df 100644 |
--- a/tools/patch_sdk.dart |
+++ b/tools/patch_sdk.dart |
@@ -192,8 +192,8 @@ Future _main(List<String> argv) async { |
} |
deps.addAll(await fasta.getDependencies(Platform.script, |
sdk: sdkDir, packages: packages, platform: platformForDeps)); |
- await writeDepsFile(Uri.base.resolveUri(new Uri.file("$outDir.d")), |
- platformFinalLocation, deps); |
+ await writeDepsFile(platformFinalLocation, |
+ Uri.base.resolveUri(new Uri.file("$outDir.d")), deps); |
await new File.fromUri(platform).rename(platformFinalLocation.toFilePath()); |
} |