X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.profile.d%2Fgoogle.sh;h=2496b58811f316a580eedf15f1035bc65caec16d;hb=HEAD;hp=9b37d72d7acb58b0de742370de1646a7addfc821;hpb=d59ac7291d6f7f5b694023af42e3aa2c589a2e8f;p=home.git diff --git a/.profile.d/google.sh b/.profile.d/google.sh index 9b37d72..f4d9025 100644 --- a/.profile.d/google.sh +++ b/.profile.d/google.sh @@ -1,3 +1,20 @@ -if [ -d ~/chromiumos/depot_tools ] ; then - PATH="${PATH}:`echo ~`/chromiumos/depot_tools" +if [ -d ~/depot_tools ] ; then + path_append "$(realpath "`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" +fi + +export CROSTOOLS_SKIP_SYNC="true" +export CROSTOOLS_GSUTIL="gsutil" +export P4DIFF="vapier-diff" +export G4MULTIDIFF="0" +export P4DIFFOPTS="-du" +export ANDROID_USE_AMAKE="true" + +alias copybara='/google/data/ro/teams/copybara/copybara'