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

Unified Diff: sdk/bin/dart2js_sdk

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/bin/dart2js.bat ('k') | sdk/bin/dart2js_sdk.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dart2js_sdk
diff --git a/sdk/bin/dart2js b/sdk/bin/dart2js_sdk
similarity index 86%
copy from sdk/bin/dart2js
copy to sdk/bin/dart2js_sdk
index 79a857be83efe500109c4f7c760fa2a9c008f2f9..5d7ec9c689023ad223726139e3ac5f3320cc0266 100755
--- a/sdk/bin/dart2js
+++ b/sdk/bin/dart2js_sdk
@@ -20,8 +20,6 @@ BIN_DIR="$(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_DIR="$BIN_DIR/snapshots"
@@ -63,8 +61,4 @@ if [[ $DART_VM_OPTIONS ]]; then
EXTRA_VM_OPTIONS+=("${OPTIONS[@]}")
fi
-if test -f "$SNAPSHOT"; then
- exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$SNAPSHOT" "${EXTRA_OPTIONS[@]}" "$@"
-else
- exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DART2JS" "${EXTRA_OPTIONS[@]}" "$@"
-fi
+exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$SNAPSHOT" "${EXTRA_OPTIONS[@]}" "$@"
« no previous file with comments | « sdk/bin/dart2js.bat ('k') | sdk/bin/dart2js_sdk.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698