tag | e846ec77092fb11c0a76c4fdc3b6fd2aa2f162c1 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Jan 25 14:26:38 2018 -0800 |
object | cfcaaa25117310666e02a989a6bd9d45e82d8041 |
Android Wear 8.0.0 Release 1
commit | cfcaaa25117310666e02a989a6bd9d45e82d8041 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Dec 27 21:21:28 2017 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Thu Dec 28 05:23:50 2017 +0000 |
tree | f3001a1a75e288ef43fce44bc7efcbf05ad5595c | |
parent | 824a4f395debd92cb8ff93056eb890a4a1af5516 [diff] | |
parent | 8aba2458a403479f0743fbc6d35392ae8e598fd1 [diff] |
Merge remote-tracking branch 'aosp/upstream' into master * aosp/upstream: Expand PeekVar to KATI_(deprecated|obsolete)_var Test: ckati_stamp_dump --env out/.kati_stamp-aosp_arm64; check for PATH Change-Id: I4add3df322c2ac7058c543e8d347eb85a5d4353d
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