Clone this repo:
  1. d768973 DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master by Xin Li · 4 months ago master android-o-mr1-iot-release-1.0.13
  2. 6ed5f16 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master by Xin Li · 4 months ago
  3. eb1899c DO NOT MERGE - Merge PPRL.190205.001 into master by Xin Li · 4 months ago oreo-mr1-iot-release android-o-mr1-iot-release-1.0.10 android-o-mr1-iot-release-1.0.12 android-q-preview-1 android-q-preview-2.5 android-q-preview-4
  4. 0d3a7a2 DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master by Xin Li · 4 months ago
  5. a4c8779 Snap for 5180536 from 2a49513da00436f434281a98dfb118db855db013 to pi-platform-release by android-build-team Robot · 5 months ago pie-platform-release

kati

Build Status

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.

How to use for Android

For Android-N+, ckati and ninja is used automatically. There is a prebuilt checked in under prebuilts/build-tools that is used.

All Android's build commands (m, mmm, mmma, etc.) should just work.

How to use for Android (deprecated -- only for Android M or earlier)

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
% ./ninja.sh

You need ninja in your $PATH.

More usage examples (deprecated way)

“make clean”

% ./ninja.sh -t clean

Note ./ninja.sh passes all parameters to ninja.

Build a specific target

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