Advertisement
Aclegg2011

Untitled

Apr 21st, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. #Load Config File
  2. source build_rom.conf
  3.  
  4. # Specify colors for shell
  5. red='tput setaf 1' # red
  6. green='tput setaf 2' # green
  7. yellow='tput setaf 3' # yellow
  8. blue='tput setaf 4' # blue
  9. violet='tput setaf 5' # violet
  10. cyan='tput setaf 6' # cyan
  11. white='tput setaf 7' # white
  12. txtbld=$(tput bold) # Bold
  13. bldred=${txtbld}$(tput setaf 1) # Bold red
  14. bldgrn=${txtbld}$(tput setaf 2) # Bold green
  15. bldblu=${txtbld}$(tput setaf 4) # Bold blue
  16. bldcya=${txtbld}$(tput setaf 6) # Bold cyan
  17. normal='tput sgr0'
  18.  
  19. # set screen color and clear
  20. tput bold
  21. tput setaf 1
  22. clear
  23.  
  24. # use CCACHE, disable NINJA, 2 days BUILD LOGS
  25. export USE_CCACHE=1
  26. export USE_NINJA=false
  27. export BLISS_BUILDTYPE=OFFICIAL
  28. export BLISS_DEVELOPER=aclegg2011
  29.  
  30.  
  31. export ANDROID_JACK_VM_ARGS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
  32.  
  33. # kill any previous jack servers
  34. ./prebuilts/sdk/tools/jack-admin kill-server
  35.  
  36. # clean main rom and out directory
  37. make clobber && make clean
  38.  
  39. # set Rom EnvironMent and Initiate Device Build
  40. . build/envsetup.sh && brunch "${device[3]}"
  41.  
  42. # kill jack when done to prevent error on other builds
  43. ./prebuilts/sdk/tools/jack-admin kill-server
  44.  
  45. #upload rom to androidfilehost.com
  46. #. ftp.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement