tag | 3ffc4ac96b597d91e37dc873aebef5ad46a103e4 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Jun 08 17:04:00 2016 -0700 |
object | ce34badf691d36e8048b63f89d1a86ee5fa4325c |
Android Wear N Preview 1 (NVD36H)
commit | ce34badf691d36e8048b63f89d1a86ee5fa4325c | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <hamaji@google.com> | Tue Apr 12 15:29:01 2016 +0900 |
committer | Shinichiro Hamaji <hamaji@google.com> | Tue Apr 12 15:29:17 2016 +0900 |
tree | 58d9fdae2c26d82e04f3fcafc4358b99109f0e70 | |
parent | c2c5246e3ad95e1c0fa81a1f8344916ff68588bf [diff] | |
parent | becba507595aaf6940af662c9096dbabe50baba4 [diff] |
Merge remote-tracking branch 'aosp/upstream' Two bug fixes. becba50 is actually for a long lived bug, but was found by recent endif/endef checks. Without 706c27f, you cannot debug ckati binary on Mac. becba50 [C++] Strip a trailing \r 706c27f Handle EINTR on read Bug: 28087626 Change-Id: Ic0c24873a49be96afc83078b6a41960bce444d57
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