tag | 5c743b704f89a4e1b275e61a9815c24c7bb6b40a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jan 07 15:40:01 2019 -0800 |
object | 679d6bb847abadde3f61ba773eb34b6b7929b674 |
Android O MR1 IOT Release 1.0.8 (5206609)
commit | 679d6bb847abadde3f61ba773eb34b6b7929b674 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Dec 07 16:14:14 2018 -0800 |
committer | Xin Li <delphij@google.com> | Fri Dec 07 16:14:14 2018 -0800 |
tree | b04c520cf7b4dfca60857765413e56aa40529c24 | |
parent | 667d0786cf22c10131611f2f1d030224082662d8 [diff] | |
parent | 17da287661100ee95f6f7b16c86afbdd78243dc5 [diff] |
DO NOT MERGE Merge pie-platform-release (PPRL.181205.001, history only) into master Bug: 120502534 Change-Id: I45c2b2f5b9df9e91a3f09e34f6f6de2028134191
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.
For Android-N+, ckati and ninja is used automatically. There is a prebuilt checked in under prebuilts/build-tools that is used.
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 % ./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