Index: sdk/bin/dartdevc |
diff --git a/sdk/bin/dartdevc b/sdk/bin/dartdevc |
index e2856533abee05dc2915525678be30db71894795..246f6b75c7bacc1289d4fdaa4accf31b786477b4 100755 |
--- a/sdk/bin/dartdevc |
+++ b/sdk/bin/dartdevc |
@@ -45,42 +45,4 @@ DART_ROOT="$(cd "${SDK_DIR}/.." ; pwd -P)" |
DEV_COMPILER="$DART_ROOT/pkg/dev_compiler/bin/dartdevc.dart" |
-if [[ `uname` == 'Darwin' ]]; |
-then |
- OUT_DIR="$DART_ROOT/xcodebuild/" |
-else |
- OUT_DIR="$DART_ROOT/out/" |
-fi |
- |
-if [ -z "$DART_CONFIGURATION" ]; |
-then |
- DIRS=$( ls "$OUT_DIR" ) |
- # list of possible configurations in decreasing desirability |
- CONFIGS=("ReleaseX64" "ReleaseIA32" "DebugX64" "DebugIA32" |
- "ReleaseARM" "ReleaseARM64" "ReleaseARMV5TE" "ReleaseMIPS" |
- "DebugARM" "DebugARM64" "DebugARMV5TE" "DebugMIPS") |
- DART_CONFIGURATION="None" |
- for CONFIG in ${CONFIGS[*]} |
- do |
- for DIR in $DIRS; |
- do |
- if [ "$CONFIG" = "$DIR" ]; |
- then |
- # choose most desirable configuration that is available and break |
- DART_CONFIGURATION="$DIR" |
- break 2 |
- fi |
- done |
- done |
- if [ "$DART_CONFIGURATION" = "None" ] |
- then |
- echo "No valid dart configuration found in $OUT_DIR" |
- exit 1 |
- fi |
-fi |
- |
-BUILD_DIR="$OUT_DIR$DART_CONFIGURATION" |
- |
-PACKAGE_ROOT="$BUILD_DIR/packages/" |
- |
-exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "--package-root=$PACKAGE_ROOT" "$DEV_COMPILER" "$SDK_ARG" "$@" |
+exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DEV_COMPILER" "$SDK_ARG" "$@" |