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

Unified Diff: compiler/scripts/dartc.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_run.sh ('k') | compiler/scripts/dartc_build_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/scripts/dartc.sh
diff --git a/compiler/scripts/dartc.sh b/compiler/scripts/dartc.sh
deleted file mode 100755
index ce5458e5daa1b4e615620cc15dc2274067cb3ab7..0000000000000000000000000000000000000000
--- a/compiler/scripts/dartc.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash --posix
-# Copyright (c) 2011, 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.
-
-set -e
-
-SCRIPT_DIR=$(dirname $0)
-DARTC_HOME=$(dirname $SCRIPT_DIR)
-DARTC_LIBS=$DARTC_HOME/lib
-
-if [ -x /usr/libexec/java_home ]; then
- export JAVA_HOME=$(/usr/libexec/java_home -v '1.6+')
-fi
-
-EXTRA_JVMARGS="-Xss2M "
-OS=`uname | tr [A-Z] [a-z]`
-if [ "$OS" == "darwin" ] ; then
- # Bump up the heap on Mac VMs, some of which default to 128M or less.
- # Users can specify DART_JVMARGS in the environment to override
- # this setting. Force to 32 bit client vm. 64 bit and server VM make for
- # poor performance.
- EXTRA_JVMARGS+="-Xmx256M -client -d32"
-fi
-
-exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -classpath "@CLASSPATH@" \
- com.google.dart.compiler.DartCompiler $@
« no previous file with comments | « compiler/scripts/darta_run.sh ('k') | compiler/scripts/dartc_build_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698