Skip to content

Instantly share code, notes, and snippets.

@qianjigui
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qianjigui/8928987 to your computer and use it in GitHub Desktop.
Save qianjigui/8928987 to your computer and use it in GitHub Desktop.
Android Open Source Develop Utils
#!/bin/bash
source build/envsetup.sh
lunch xxxxx
LOG_DIR=clog
CPU_NUM=10
mkdir -p $LOG_DIR
(make -j${CPU_NUM} | tee ${LOG_DIR}/buildresult.std) 3>&1 1>&2 2>&3 | tee ${LOG_DIR}/buildresult.err
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment