Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Load Config File
- source build_rom.conf
- # Specify colors for shell
- red='tput setaf 1' # red
- green='tput setaf 2' # green
- yellow='tput setaf 3' # yellow
- blue='tput setaf 4' # blue
- violet='tput setaf 5' # violet
- cyan='tput setaf 6' # cyan
- white='tput setaf 7' # white
- txtbld=$(tput bold) # Bold
- bldred=${txtbld}$(tput setaf 1) # Bold red
- bldgrn=${txtbld}$(tput setaf 2) # Bold green
- bldblu=${txtbld}$(tput setaf 4) # Bold blue
- bldcya=${txtbld}$(tput setaf 6) # Bold cyan
- normal='tput sgr0'
- # set screen color and clear
- tput bold
- tput setaf 1
- clear
- # use CCACHE, disable NINJA, 2 days BUILD LOGS
- export USE_CCACHE=1
- export USE_NINJA=false
- export BLISS_BUILDTYPE=OFFICIAL
- export BLISS_DEVELOPER=aclegg2011
- export ANDROID_JACK_VM_ARGS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
- # kill any previous jack servers
- ./prebuilts/sdk/tools/jack-admin kill-server
- # clean main rom and out directory
- make clobber && make clean
- # set Rom EnvironMent and Initiate Device Build
- . build/envsetup.sh && brunch "${device[3]}"
- # kill jack when done to prevent error on other builds
- ./prebuilts/sdk/tools/jack-admin kill-server
- #upload rom to androidfilehost.com
- #. ftp.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement