tag | 6105d10929db2e4b6387762a6994e1f50f11b268 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Aug 07 16:41:39 2017 -0700 |
object | bcb31defde3e3fc248a1f11049e7722233003b6f |
Android o preview 4
commit | bcb31defde3e3fc248a1f11049e7722233003b6f | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Jun 15 13:49:55 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Jun 15 13:49:55 2017 -0700 |
tree | 3e71f4cb25a10204ea5828425e00f784fe3ccc24 | |
parent | 59a7a0e0f750f53049702937d0000c7ca86092e5 [diff] |
Add OWNERS in build/kati * Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. * OWNERS files are recognized by the new find-owners plugin, see .md files in https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/ Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: I561995014ed2d9a6eb9f51fcbe2fdd61dbce9337
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