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

Unified Diff: pkg/kernel/bin/reified_dart.dart

Issue 2842643002: Move dartk to the tool folder (Closed)
Patch Set: Created 3 years, 8 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
Index: pkg/kernel/bin/reified_dart.dart
diff --git a/pkg/kernel/bin/reified_dart.dart b/pkg/kernel/bin/reified_dart.dart
index dfdeb30490c441c1e9c5f0d9191e6a370e6a9821..e103bd1d48bffc3c0ff7e4793636b7d601b42d8b 100755
--- a/pkg/kernel/bin/reified_dart.dart
+++ b/pkg/kernel/bin/reified_dart.dart
@@ -18,7 +18,7 @@ args.ArgParser parser = new args.ArgParser(allowTrailingOptions: true)
..addOption("dartk",
abbr: "k",
help: "Path to 'dartk' executable. By default it will be searched for\n"
- "in the same directory as 'reified_dart'.",
+ "in the tool directory of the kernel package.",
defaultsTo: null)
..addOption("dill-output",
abbr: "d",
@@ -97,7 +97,7 @@ String getDefaultSdk() {
String getDefaultDartk() {
String currentFile = Platform.script.toFilePath();
- String dartkPath = path.join(path.dirname(currentFile), "dartk.dart");
+ String dartkPath = path.join(path.dirname(currentFile), "../tool/dartk.dart");
checkIsFile(dartkPath,
option: "Path to 'dartk'",

Powered by Google App Engine
This is Rietveld 408576698