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

Unified Diff: utils/compiler/create_snapshot.dart

Issue 50413005: Reapply "Remove @deprecated features." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 2 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 | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/compiler/create_snapshot.dart
diff --git a/utils/compiler/create_snapshot.dart b/utils/compiler/create_snapshot.dart
index 3b6cbfd2d87079626becd75d97f50bbe03e07528..7796197ab3a5990c9765b6a34871993b09bb0b69 100644
--- a/utils/compiler/create_snapshot.dart
+++ b/utils/compiler/create_snapshot.dart
@@ -83,7 +83,8 @@ void main(List<String> arguments) {
if (!args.containsKey("output_dir")) throw "Please specify output_dir";
if (!args.containsKey("package_root")) throw "Please specify package_root";
- var scriptFile = new Uri.file(new File(Platform.script).fullPathSync());
+ var scriptFile =
+ new Uri.file(new File(Platform.script).resolveSymbolicLinksSync());
var path = scriptFile.resolve(".");
var rootPath = path.resolve("../..");
getSnapshotGenerationFile(args, rootPath).then((result) {
« no previous file with comments | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698