commit | 70f882d297edc5156e8d709d81a19361de13fcd9 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <hamaji@google.com> | Tue Jan 05 07:44:49 2016 +0000 |
committer | Shinichiro Hamaji <hamaji@google.com> | Tue Jan 05 07:44:49 2016 +0000 |
tree | b7c0bf7cc72e67f7c0c3a9dc662dd6821ea27f67 | |
parent | 07c44e0ab88177cbc9192886d306903075b1d38a [diff] |
Revert "Merge remote-tracking branch 'aosp/upstream'" This reverts commit 07c44e0ab88177cbc9192886d306903075b1d38a. Change-Id: Ie46c46cfb44857034036679ea1620ebb75df3104
kati is an experimental GNU make clone. The main goal of this tool is to speed-up incremental build of Android.
Currently, kati does not offer a faster build by itself. It instead converts your Makefile to a ninja file.
Now AOSP has kati and ninja, so all you have to do is
% export USE_NINJA=true
All Android's build commands (m, mmm, mmma, etc.) should just work.
Set up kati:
% cd ~/src % git clone https://github.com/google/kati % cd kati % make
Build Android:
% cd <android-directory> % source build/envsetup.sh % lunch <your-choice> % ~/src/kati/m2n --kati_stats # Use --goma if you are a Googler. % ./ninja.sh
You need ninja in your $PATH.
% ./ninja.sh -t clean
Note ./ninja.sh passes all parameters to ninja.
For example, the following is equivalent to "make cts":
% ./ninja.sh cts
Or, if you know the path you want, you can do:
% ./ninja.sh out/host/linux-x86/bin/adb