Don't run async/await compiler from bin/pub.

R=nweiz@google.com

Review URL: https://codereview.chromium.org//761173003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42051 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
rnystrom@google.com 2014-12-01 22:26:11 +00:00
parent cd3d01103b
commit 379ee11f6d
2 changed files with 1 additions and 11 deletions

View file

@ -56,11 +56,6 @@ fi
DART="$BUILD_DIR/dart-sdk/bin/dart"
PACKAGES_DIR="$BUILD_DIR/pub_packages/"
# Compile async/await down to vanilla Dart.
# TODO(rnystrom): Remove this when #104 is fixed.
ASYNC_COMPILER="$SDK_DIR/lib/_internal/pub/bin/async_compile.dart"
"$DART" "--package-root=$PACKAGES_DIR" "$ASYNC_COMPILER" "$BUILD_DIR"
# Run the async/await compiled pub.
PUB="$SDK_DIR/lib/_internal/pub_generated/bin/pub.dart"
exec "$DART" "${VM_OPTIONS[@]}" "--package-root=$PACKAGES_DIR" "$PUB" "$@"

View file

@ -34,11 +34,6 @@ set BUILD_DIR=%SDK_DIR%\..\build\ReleaseIA32
set PACKAGES_DIR=%BUILD_DIR%\pub_packages
set DART=%BUILD_DIR%\dart-sdk\bin\dart
rem Compile async/await down to vanilla Dart.
rem TODO(rnystrom): Remove this when #104 is fixed.
set ASYNC_COMPILER="%SDK_DIR%"\lib\_internal\pub\bin\async_compile.dart
"%DART%" --package-root="%PACKAGES_DIR%" "%ASYNC_COMPILER%" "%BUILD_DIR%"
rem Run the async/await compiled pub.
set PUB="%SDK_DIR%\lib\_internal\pub_generated\bin\pub.dart"
"%DART%" %VM_OPTIONS% --package-root="%PACKAGES_DIR%" "%PUB%" %*
@ -59,4 +54,4 @@ if not "%current%"=="" call :follow_links "%current%", result
endlocal & set %~2=%result%
goto :eof
:end
:end