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

Unified Diff: tools/patch_sdk.dart

Issue 2716793003: Fix the placement of the platform.dill file generated by patch_sdk. (Closed)
Patch Set: Created 3 years, 10 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 c5509ecd588b0d8e898440f73d5b76b5f8bf5b2e..147663907165912a02979a6fdfe9d953335c5f87 100644
--- a/tools/patch_sdk.dart
+++ b/tools/patch_sdk.dart
@@ -42,7 +42,8 @@ Future main(List<String> argv) async {
var input = argv[1];
var sdkLibIn = path.join(input, 'lib');
var patchIn = argv[2];
- var sdkOut = path.join(argv[3], 'lib');
+ var outDir = argv[3];
+ var sdkOut = path.join(outDir, 'lib');
var packagesFile = argv[4];
var privateIn = path.join(input, 'private');
@@ -205,8 +206,8 @@ Future main(List<String> argv) async {
await compile_platform.main(<String>[
'--packages',
new Uri.file(packagesFile).toString(),
- sdkOut,
- path.join(sdkOut, 'platform.dill')
+ outDir,
+ path.join(outDir, 'platform.dill')
]);
}, zoneSpecification: new ZoneSpecification(print: (_, _2, _3, line) {
capturedLines.add(line);
« 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