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

Side by Side Diff: compiler/scripts/dartc_test.sh

Issue 8659022: Puts JsScope on a diet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed the strategy to only walk a specific class when TranslationContext is created Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « compiler/scripts/dartc.sh ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 case $(uname -s) in 6 case $(uname -s) in
7 *Linux*|*linux*) 7 *Linux*|*linux*)
8 OS="linux" 8 OS="linux"
9 ;; 9 ;;
10 Darwin) 10 Darwin)
11 OS="mac" 11 OS="mac"
12 ;; 12 ;;
13 *) 13 *)
14 OS="generic" 14 OS="generic"
15 ;; 15 ;;
16 esac 16 esac
17 17
18 SCRIPT_DIR=$(dirname $0) 18 SCRIPT_DIR=$(dirname $0)
19 DARTC_HOME=$(dirname $SCRIPT_DIR) 19 DARTC_HOME=$(dirname $SCRIPT_DIR)
20 DARTC_LIBS=$DARTC_HOME/lib 20 DARTC_LIBS=$DARTC_HOME/lib
21 D8_EXEC=${D8_EXEC:-@D8_EXEC@} 21 D8_EXEC=${D8_EXEC:-@D8_EXEC@}
22 DART_SCRIPT_NAME=${DART_SCRIPT_NAME:-$(basename $0)} 22 DART_SCRIPT_NAME=${DART_SCRIPT_NAME:-$(basename $0)}
23 23
24 if [ -x /usr/libexec/java_home ]; then 24 if [ -x /usr/libexec/java_home ]; then
25 export JAVA_HOME=$(/usr/libexec/java_home -v '1.6+') 25 export JAVA_HOME=$(/usr/libexec/java_home -v '1.6+')
26 fi 26 fi
27 27
28 exec java -ea -Dcom.google.dart.runner.d8="$D8_EXEC" \ 28 # Limit heap in order to detect any memory issues.
29 # On some system, the heap dynamically sizes to > 1GB.
30 # Users can specify DART_JVMARGS in the environment to override
31 # these settings.
32 EXTRA_JVMARGS=-Xmx128M
33
34 exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -Dcom.google.dart.runner.d8="$D8_EXEC " \
29 -Dcom.google.dart.runner.progname="$DART_SCRIPT_NAME" \ 35 -Dcom.google.dart.runner.progname="$DART_SCRIPT_NAME" \
30 -classpath "@CLASSPATH@" \ 36 -classpath "@CLASSPATH@" \
31 com.google.dart.runner.DartRunner $@ 37 com.google.dart.runner.DartRunner $@
OLDNEW
« no previous file with comments | « compiler/scripts/dartc.sh ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698