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

Unified Diff: compiler/scripts/darta_run.sh

Issue 9702034: Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: junit tests fixed Created 8 years, 9 months 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 | « compiler/scripts/darta_metrics.sh ('k') | compiler/scripts/dartc.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/scripts/darta_run.sh
diff --git a/compiler/scripts/dartc_run.sh b/compiler/scripts/darta_run.sh
similarity index 90%
rename from compiler/scripts/dartc_run.sh
rename to compiler/scripts/darta_run.sh
index ad99a949d789ded8bf95bfbfdad4a90181baa0a0..56cbee717e7e99048f4f1d5c450fea74a2541e2f 100755
--- a/compiler/scripts/dartc_run.sh
+++ b/compiler/scripts/darta_run.sh
@@ -12,11 +12,10 @@ unset CLASSPATH
# Figure out where the dartc home is
SCRIPT_DIR=`dirname $0`
-DARTC_HOME=`cd $SCRIPT_DIR; pwd`
-DIST_DIR=$DARTC_HOME/compiler
-DARTC_LIBS=$DIST_DIR/lib
+DARTA_HOME=`cd $SCRIPT_DIR; pwd`
+DIST_DIR=$DARTA_HOME/compiler
-DARTC_FLAGS=""
+DARTA_FLAGS=""
# Make it easy to insert 'set -x' or similar commands when debugging problems with this script.
eval "$JAVA_STUB_DEBUG"
@@ -27,7 +26,7 @@ while [ ! -z "$1" ]; do
case "$1" in
--prof)
# Ensure the preset -optimize flag is gone when profiling.
- DARTC_FLAGS="--prof"
+ DARTA_FLAGS="--prof"
shift ;;
--debug)
JVM_DEBUG_PORT=${DEFAULT_JVM_DEBUG_PORT:-"5005"}
@@ -53,7 +52,7 @@ exec $JAVABIN -ea -classpath @CLASSPATH@ \
${JVM_FLAGS} \
${JVM_FLAGS_CMDLINE} \
com.google.dart.compiler.DartCompiler \
- $DARTC_FLAGS \
+ $DARTA_FLAGS \
"$@"
echo "ERROR: couldn't exec ${JAVABIN}." 1>&2
« no previous file with comments | « compiler/scripts/darta_metrics.sh ('k') | compiler/scripts/dartc.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698