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

Unified Diff: dart/sdk/bin/dart2js

Issue 11411260: Correct snapshot location and fix a dependency problem. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « dart/dart.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/bin/dart2js
diff --git a/dart/sdk/bin/dart2js b/dart/sdk/bin/dart2js
index de567a73b3fc69d92ba481434573aa348cb07311..3f74135550158a184f35fe8739c864788cf35307 100755
--- a/dart/sdk/bin/dart2js
+++ b/dart/sdk/bin/dart2js
@@ -20,8 +20,11 @@ BIN_DIR="$(follow_links "$(cd "${PROG_NAME%/*}" ; pwd -P)")"
SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
DART2JS="$SDK_DIR/lib/_internal/compiler/implementation/dart2js.dart"
+
DART="$BIN_DIR/dart"
+SNAPSHOT="${DART2JS}.snapshot"
+
unset EXTRA_OPTIONS
declare -a EXTRA_OPTIONS
@@ -36,7 +39,6 @@ fi
unset EXTRA_VM_OPTIONS
declare -a EXTRA_VM_OPTIONS
-SNAPSHOT="$SDK_DIR/_internal/compiler/implementation/dart2js.dart.snapshot"
if test -f "$SNAPSHOT"; then
# TODO(ahe): Remove the following line when we are relatively sure it works.
echo Using snapshot "$SNAPSHOT" 1>&2
« no previous file with comments | « dart/dart.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698