commit | 23b67dc9ed3f89a7b6cf601d61dffa15bd9e8614 | [log] [tgz] |
---|---|---|
author | JP Sugarbroad <jpsugar@google.com> | Fri Sep 07 14:51:50 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Fri Sep 07 14:51:50 2018 -0700 |
tree | 3d9f3b1339f98b954e6086c2c08d4681e155c8e6 | |
parent | 70796b726233c69416114b511e6e89f3ec4daacc [diff] | |
parent | d04a70ea7fa1ce67334b638fb7dd87d33ab5ea14 [diff] |
[automerger] Support git submodules in version.cc generation. am: 3b166ce40a am: 7f45c35f91 am: 52f19a1dd5 am: d339032ec9 am: d5bc270755 am: d04a70ea7f Change-Id: Ifa953b35864178b461bfa59e5428f0a287ea9541
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