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

Unified Diff: compiler/scripts/dartc_run.sh

Issue 9466041: Removes dependency on v8 from dartc testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated date, copyright notices, build.xml Created 8 years, 10 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/javatests/com/google/dart/runner/DartRunnerTest.java ('k') | compiler/scripts/dartc_size.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/scripts/dartc_run.sh
diff --git a/compiler/scripts/dartc_run.sh b/compiler/scripts/dartc_run.sh
index 9201e28bf6d2fd9391e3c896590024ee2a5cf2ba..ad99a949d789ded8bf95bfbfdad4a90181baa0a0 100755
--- a/compiler/scripts/dartc_run.sh
+++ b/compiler/scripts/dartc_run.sh
@@ -1,6 +1,6 @@
#!/bin/bash --posix
#
-# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
@@ -16,14 +16,11 @@ DARTC_HOME=`cd $SCRIPT_DIR; pwd`
DIST_DIR=$DARTC_HOME/compiler
DARTC_LIBS=$DIST_DIR/lib
-D8_EXEC=${D8_EXEC:-$DARTC_HOME/d8}
-
-DARTC_FLAGS="--optimize"
+DARTC_FLAGS=""
# Make it easy to insert 'set -x' or similar commands when debugging problems with this script.
eval "$JAVA_STUB_DEBUG"
-JVM_FLAGS=${JVM_FLAGS:-"-Dcom.google.dart.runner.d8=$D8_EXEC"}
JVM_FLAGS_CMDLINE=""
while [ ! -z "$1" ]; do
@@ -55,7 +52,7 @@ exec $JAVABIN -ea -classpath @CLASSPATH@ \
${JVM_DEBUG_FLAGS} \
${JVM_FLAGS} \
${JVM_FLAGS_CMDLINE} \
- com.google.dart.runner.DartRunner \
+ com.google.dart.compiler.DartCompiler \
$DARTC_FLAGS \
"$@"
« no previous file with comments | « compiler/javatests/com/google/dart/runner/DartRunnerTest.java ('k') | compiler/scripts/dartc_size.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698