diff options
author | Ian Rogers <irogers@google.com> | 2014-02-14 23:10:04 +0000 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-02-14 23:10:04 +0000 |
commit | 97f4489166ae31c12d35ad3f550a5fc8d143b4fa (patch) | |
tree | 3fc0e914648425587960fb12b7369e0020015da0 /tools/art | |
parent | 4b23250f4cbf3047924c646c1a0c078394f8362d (diff) | |
download | art-97f4489166ae31c12d35ad3f550a5fc8d143b4fa.zip art-97f4489166ae31c12d35ad3f550a5fc8d143b4fa.tar.gz art-97f4489166ae31c12d35ad3f550a5fc8d143b4fa.tar.bz2 |
Revert "Revert "Revert "Add a script for running art standalone."""
This reverts commit 4b23250f4cbf3047924c646c1a0c078394f8362d.
Change-Id: Ib749a8267abf35e51552b741ba749d6ed6975f95
Diffstat (limited to 'tools/art')
-rwxr-xr-x | tools/art | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -34,22 +34,8 @@ while true; do done unset ANDROID_PRODUCT_OUT # avoid defaulting dex2oat --host-prefix to target output - -function follow_links() { - file="$1" - while [ -h "$file" ]; do - # On Mac OS, readlink -f doesn't work. - file="$(readlink "$file")" - done - echo "$file" -} - -PROG_NAME="$(follow_links "$BASH_SOURCE")" -PROG_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)" -ANDROID_BUILD_TOP="$(cd "${PROG_DIR}/../../../../" ; pwd -P)/" -ANDROID_HOST_OUT=$PROG_DIR/.. - mkdir -p /tmp/android-data/dalvik-cache +cd $ANDROID_BUILD_TOP ANDROID_DATA=/tmp/android-data \ ANDROID_ROOT=$ANDROID_HOST_OUT \ LD_LIBRARY_PATH=$ANDROID_HOST_OUT/lib \ |