Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1303)

Unified Diff: tools/patch_sdk.dart

Issue 2980873003: Fix bug in writing deps file (Fixes #30156) (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698