aboutsummaryrefslogtreecommitdiffstats
path: root/android/build
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-06-23 12:19:31 -0700
committerAndroid Code Review <code-review@android.com>2011-06-23 12:19:31 -0700
commit4863f82a20559827c131363e193aefcc4964cc23 (patch)
treeb62c294bdd8cfad11fad780e3706eed18ef3305d /android/build
parentc2c7377fbfcbf7cb87329511af1de5be578c6e77 (diff)
parent04fcb22aa936b2ca326d6e1e35f97b7afb23a3de (diff)
downloadexternal_qemu-4863f82a20559827c131363e193aefcc4964cc23.zip
external_qemu-4863f82a20559827c131363e193aefcc4964cc23.tar.gz
external_qemu-4863f82a20559827c131363e193aefcc4964cc23.tar.bz2
Merge "android-configure.sh: Better platform build detection."
Diffstat (limited to 'android/build')
-rw-r--r--android/build/common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/build/common.sh b/android/build/common.sh
index 050fd90..de4e3c1 100644
--- a/android/build/common.sh
+++ b/android/build/common.sh
@@ -457,11 +457,11 @@ check_android_build ()
unset ANDROID_TOP
IN_ANDROID_BUILD=no
- if [ -z "$ANDROID_PRODUCT_OUT" ] ; then
+ if [ -z "$ANDROID_BUILD_TOP" ] ; then
return ;
fi
- ANDROID_TOP=`cd $ANDROID_PRODUCT_OUT/../../../.. && pwd`
+ ANDROID_TOP=$ANDROID_BUILD_TOP
log "ANDROID_TOP found at $ANDROID_TOP"
# $ANDROID_TOP/config/envsetup.make is for the old tree layout
# $ANDROID_TOP/build/envsetup.sh is for the new one