]> git.wh0rd.org - home.git/blobdiff - .profile.d/google.sh
ddnuke: switch errp to err.h
[home.git] / .profile.d / google.sh
index c8cd4ab28f458347a3aeda1c60b9299bf0326dc3..e44e506d4f3fff9b60b20828f48f9e42c5c3f591 100644 (file)
@@ -1,4 +1,10 @@
-path_prepend "`echo ~`/chromiumos/depot_tools"
+if [ -d ~/depot_tools ] ; then
+       path_append "`echo ~`/depot_tools"
+elif [ -d ~/chromiumos/depot_tools ] ; then
+       path_append "`echo ~`/chromiumos/depot_tools"
+elif [ -d ~/chromiumos/chromium/tools/depot_tools ] ; then
+       path_append "`echo ~`/chromiumos/chromium/tools/depot_tools"
+fi
 if [ -d ~/gentoo ] ; then
        export EPREFIX="$HOME/gentoo"
        path_append "$EPREFIX/usr/bin"
@@ -7,3 +13,4 @@ fi
 export CROSTOOLS_SKIP_SYNC="true"
 export CROSTOOLS_GSUTIL="gsutil"
 export P4DIFFOPTS="-du"
+export ANDROID_USE_AMAKE="true"