tag | b97f22b88479f2e9e5368b3c7974d0a84aae582b | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Oct 24 15:19:48 2018 -0700 |
object | 4ac13f512a8a9b71ecca47adf8bd5b3cc6d1c505 |
Android O MR1 IOT Release Smart Display r3 (OIM3.180907.022)
commit | 4ac13f512a8a9b71ecca47adf8bd5b3cc6d1c505 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Oct 09 20:01:51 2018 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Oct 09 20:01:51 2018 -0700 |
tree | 3bd9428a3fffac3ec51c8696012a44169e77f7bc | |
parent | bb306940b75976fb2563fa74386102599f325df4 [diff] | |
parent | 5b4c39fdfe2fc2e457e92ab997520c2d3836ff99 [diff] |
Merge remote-tracking branch 'aosp/upstream' * aosp/upstream: Mark fallthrough cases with [[clang::fallthrough]] Test: treehugger Change-Id: I3e9cac7a16e992e970719f98fd65ed4c0b6e18d8
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