tag | 86fc1955bfc660f2a8250eb9f374ae4d7147166d | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jun 12 10:04:48 2018 -0700 |
object | d75379a606e8cb12893b175965df4ae6891ab829 |
Android P Preview 3 (PPP3.180510.008)
tag | d75379a606e8cb12893b175965df4ae6891ab829 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue May 08 10:23:55 2018 -0700 |
object | ac70a73c816b3a51fe1541ef594f665853662e2f |
Android p preview 2
commit | ac70a73c816b3a51fe1541ef594f665853662e2f | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Feb 27 13:18:11 2018 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Feb 27 22:05:48 2018 +0000 |
tree | 50dc0ba49533e72d89b1976e4db885c1262af993 | |
parent | 0f3785677c3399ba61a958c3b015b632e4d1cc8f [diff] | |
parent | 27abbbd5ca854ecaa387042118be76b2bc0aca1c [diff] |
Merge remote-tracking branch 'aosp/upstream' into master * aosp/upstream: Add KATI_(deprecate|obsolete)_export Bug: 73959648 Test: upstream tests Test: add $(KATI_deprecate_export msg) to config.mk Change-Id: Ie0712b21342384de2f8afd17c866743e9eb50118
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