diff options
author | Elliott Hughes <enh@google.com> | 2013-01-17 10:28:23 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-01-17 10:28:23 -0800 |
commit | b6f0f78b0cbf53e2d551653911f1cda96f5e456b (patch) | |
tree | be6a4eed9f8f332cb5caadbdbf46f4193b6f4976 /tools/art | |
parent | 7db619bb2a4e01e8532a04b613745d4926b205d7 (diff) | |
download | art-b6f0f78b0cbf53e2d551653911f1cda96f5e456b.tar.gz art-b6f0f78b0cbf53e2d551653911f1cda96f5e456b.tar.bz2 art-b6f0f78b0cbf53e2d551653911f1cda96f5e456b.zip |
Make the tools/art script appear to work from any directory.
This isn't the real fix, and it means that your oatexec will be running
from $(ANDROID_BUILD_TOP) rather than your current directory, but it lets
me use a modified vogar that just calls "art" instead of "dalvikvm", as
long as I use absolute paths.
Change-Id: Iac35fcd2114316a06780b4f1f27eee9fbe95282d
Diffstat (limited to 'tools/art')
-rwxr-xr-x | tools/art | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ done unset ANDROID_PRODUCT_OUT # avoid defaulting dex2oat --host-prefix to target output mkdir -p /tmp/android-data/art-cache +cd $ANDROID_BUILD_TOP ANDROID_DATA=/tmp/android-data\ ANDROID_ROOT=$ANDROID_HOST_OUT\ LD_LIBRARY_PATH=$ANDROID_HOST_OUT/lib\ |