Chromium Code Reviews| Index: sdk/bin/dart2js |
| =================================================================== |
| --- sdk/bin/dart2js (revision 21139) |
| +++ sdk/bin/dart2js (working copy) |
| @@ -23,7 +23,8 @@ |
| DART="$BIN_DIR/dart" |
| -SNAPSHOT="${DART2JS}.snapshot" |
| +SNAPSHOT_DIR="$BIN_DIR/snapshots" |
| +SNAPSHOT="$SNAPSHOT_DIR/dart2js.dart.snapshot" |
|
kustermann
2013/04/09 15:02:28
You should change that path in test_suite.dart:477
|
| unset EXTRA_OPTIONS |
| declare -a EXTRA_OPTIONS |
| @@ -42,6 +43,8 @@ |
| if test -f "$SNAPSHOT"; then |
| # TODO(ahe): Remove the following line when we are relatively sure it works. |
| echo Using snapshot "$SNAPSHOT" 1>&2 |
| + |
| + EXTRA_OPTIONS[${#EXTRA_OPTIONS[@]}]="--library-root=$SDK_DIR" |
| fi |
| # Tell the VM to grow the heap more aggressively. This should only |