Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
export USE_CCACHE=1
export CCACHE_DIR=~/.ccache
export JAVA_HOME=/usr/lib64/jvm/java
export PATH=$PATH:$JAVA_HOME/bin
export ANDROID_JAVA_HOME=$JAVA_HOME
export PATH=$PATH:~/bin
export KBUILD_BUILD_HOST=moe.cat
device=$1
date
. build/envsetup.sh
if ( echo -n $2 | grep -q -e "\S" ); then
export CM_BUILDTYPE=$2
else
export CM_BUILDTYPE=AOJP
fi
time brunch $device
echo "end date: `date`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.