commit | af134686a5bff1cfef2ac114795d5ec2c0886cd0 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Mon May 30 16:10:34 2016 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Mon May 30 16:10:34 2016 +0900 |
tree | b294d71a8a71dae9ab6fecf3da32387f9e4104fa | |
parent | 1c3a69502c86c2c32223a267c5bf49db80b55f47 [diff] | |
parent | f0a6fdf7a1ee5a501b45ca12dcab6bbca50f1bf7 [diff] |
Merge pull request #73 from colincross/findleaves [C++] Add support for multiple filenames to findleaves emulation
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