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

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

Issue 9865025: Revert "Removes dartc reliance on its own libraries, now can be targeted at any implementation's li… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash --posix 1 #!/bin/bash --posix
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 7
8 # Prevent problems where the caller has exported CLASSPATH, causing our 8 # Prevent problems where the caller has exported CLASSPATH, causing our
9 # computed value to be copied into the environment and double-counted 9 # computed value to be copied into the environment and double-counted
10 # against the argv limit. 10 # against the argv limit.
11 unset CLASSPATH 11 unset CLASSPATH
12 12
13 # Figure out where the dartc home is 13 # Figure out where the dartc home is
14 SCRIPT_DIR=`dirname $0` 14 SCRIPT_DIR=`dirname $0`
15 DARTC_HOME=`cd $SCRIPT_DIR; pwd` 15 DARTC_HOME=`cd $SCRIPT_DIR; pwd`
16 DIST_DIR=$DARTC_HOME/compiler
16 DARTC_LIBS=$DIST_DIR/lib 17 DARTC_LIBS=$DIST_DIR/lib
17 DIST_DIR=$DARTC_HOME/compiler
18 18
19 DARTC_FLAGS="" 19 DARTC_FLAGS=""
20 20
21 # Make it easy to insert 'set -x' or similar commands when debugging problems wi th this script. 21 # Make it easy to insert 'set -x' or similar commands when debugging problems wi th this script.
22 eval "$JAVA_STUB_DEBUG" 22 eval "$JAVA_STUB_DEBUG"
23 23
24 JVM_FLAGS_CMDLINE="" 24 JVM_FLAGS_CMDLINE=""
25 25
26 while [ ! -z "$1" ]; do 26 while [ ! -z "$1" ]; do
27 case "$1" in 27 case "$1" in
(...skipping 24 matching lines...) Expand all
52 ${JVM_DEBUG_FLAGS} \ 52 ${JVM_DEBUG_FLAGS} \
53 ${JVM_FLAGS} \ 53 ${JVM_FLAGS} \
54 ${JVM_FLAGS_CMDLINE} \ 54 ${JVM_FLAGS_CMDLINE} \
55 com.google.dart.compiler.DartCompiler \ 55 com.google.dart.compiler.DartCompiler \
56 $DARTC_FLAGS \ 56 $DARTC_FLAGS \
57 "$@" 57 "$@"
58 58
59 echo "ERROR: couldn't exec ${JAVABIN}." 1>&2 59 echo "ERROR: couldn't exec ${JAVABIN}." 1>&2
60 60
61 exit 1 61 exit 1
OLDNEW
« no previous file with comments | « compiler/scripts/dartc.sh ('k') | editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698