android代码编译

原生代码编译

repo init -u http://xx.xx.xx.xx:8080/platform/manifest.git -b o-release-generic-fs --repo-branch=stable --no-repo-verify
repo sync -c -j8 --no-tags
source build/envsetup.sh
choosecombo release xxxxx eng normal singleAP arm64
make -j48 2>&1 | tee build.log

----------------------------------------------

编译linux版本fastboot
make fastboot
out/host/linux-x86/bin/fastboot
编译windows版本fastboot
make USE_MINGW=y fastboot
out/host/windows-x86/bin/fastboot.exe

posted @ 2017-04-05 11:05  牧 天  阅读(281)  评论(0)    收藏  举报