Home | History | Annotate | only in /build/kati
Up to higher level directory
NameDateSize
.gitignore05-Oct-2017231
.travis.yml05-Oct-2017438
affinity.cc05-Oct-20171.9K
affinity.h05-Oct-2017728
Android.bp05-Oct-20172.4K
ast.go05-Oct-20173.7K
AUTHORS05-Oct-2017438
bootstrap.go05-Oct-20171.5K
buf.go05-Oct-20174.1K
buf_test.go05-Oct-20171.5K
cmd/05-Oct-2017
command.cc05-Oct-20177K
command.h05-Oct-20171.2K
CONTRIBUTING.md05-Oct-20172.4K
CONTRIBUTORS05-Oct-20171.3K
dep.cc05-Oct-201718.4K
dep.go05-Oct-201714.9K
dep.h05-Oct-20171.5K
depgraph.go05-Oct-20175.2K
doc.go05-Oct-2017778
eval.cc05-Oct-201710.1K
eval.go05-Oct-201715.9K
eval.h05-Oct-20173.4K
evalcmd.go05-Oct-20177.8K
exec.cc05-Oct-20174K
exec.go05-Oct-20174.4K
exec.h05-Oct-2017795
expr.cc05-Oct-201713.7K
expr.go05-Oct-201715.9K
expr.h05-Oct-20171.8K
expr_test.go05-Oct-20175.4K
file.cc05-Oct-20171.5K
file.h05-Oct-20171.2K
file_cache.cc05-Oct-20171.7K
file_cache.h05-Oct-20171.1K
fileutil.cc05-Oct-20174.9K
fileutil.go05-Oct-20171.4K
fileutil.h05-Oct-20171.7K
fileutil_bench.cc05-Oct-20171.3K
find.cc05-Oct-201727.6K
find.h05-Oct-20171.7K
find_test.cc05-Oct-20171.3K
flags.cc05-Oct-20174.7K
flags.go05-Oct-2017826
flags.h05-Oct-20171.6K
func.cc05-Oct-201723.5K
func.go05-Oct-201732.5K
func.h05-Oct-20171.4K
func_test.go05-Oct-20171.7K
INTERNALS.md05-Oct-201721.4K
io.cc05-Oct-20171.2K
io.h05-Oct-20171K
LICENSE05-Oct-201711.1K
loc.h05-Oct-2017911
log.cc05-Oct-20171.7K
log.go05-Oct-20171K
log.h05-Oct-20173.4K
m2n05-Oct-20172.9K
main.cc05-Oct-20176.9K
make-c/05-Oct-2017
make-c.sh05-Oct-2017772
Makefile05-Oct-2017764
Makefile.ckati05-Oct-20173.9K
Makefile.kati05-Oct-20171.3K
ninja.cc05-Oct-201721.6K
ninja.go05-Oct-201717.7K
ninja.h05-Oct-20171.2K
ninja_test.cc05-Oct-201716.7K
ninja_test.go05-Oct-201719.3K
pack.sh05-Oct-2017831
parser.cc05-Oct-201716.5K
parser.go05-Oct-201717.8K
parser.h05-Oct-20171.2K
pathutil.go05-Oct-201720.3K
pathutil_test.go05-Oct-201723.6K
query.go05-Oct-20172.2K
README.md05-Oct-20171.2K
regen.cc05-Oct-201713.4K
regen.h05-Oct-2017768
regen_dump.cc05-Oct-20171.6K
rule.cc05-Oct-20175.4K
rule.h05-Oct-20171.7K
rule_parser.go05-Oct-20175.9K
rule_parser_test.go05-Oct-20174.7K
runtest.rb05-Oct-201711.1K
serialize.go05-Oct-201717.5K
shellutil.go05-Oct-20174.4K
shellutil_test.go05-Oct-20172.2K
stats.cc05-Oct-20172K
stats.go05-Oct-20173.6K
stats.h05-Oct-20171.4K
stmt.cc05-Oct-20174.3K
stmt.h05-Oct-20172.8K
string_piece.cc05-Oct-20176.7K
string_piece.h05-Oct-20177K
string_piece_test.cc05-Oct-20171.2K
stringprintf.cc05-Oct-20171.1K
stringprintf.h05-Oct-2017771
strutil.cc05-Oct-201712.8K
strutil.go05-Oct-20177.8K
strutil.h05-Oct-20173.5K
strutil_bench.cc05-Oct-20171.1K
strutil_test.cc05-Oct-20176.2K
strutil_test.go05-Oct-20174.5K
symtab.cc05-Oct-20174.1K
symtab.go05-Oct-2017985
symtab.h05-Oct-20172.1K
testcase/05-Oct-2017
testutil.h05-Oct-20171.4K
thread_local.h05-Oct-20172.9K
thread_pool.cc05-Oct-20172K
thread_pool.h05-Oct-2017961
timeutil.cc05-Oct-20171.2K
timeutil.h05-Oct-2017853
var.cc05-Oct-20173.9K
var.go05-Oct-20178.4K
var.h05-Oct-20174.4K
version.go05-Oct-2017646
version.h05-Oct-2017704
version_unknown.cc05-Oct-2017665
worker.go05-Oct-20177.5K

README.md

      1 kati
      2 ====
      3 
      4 [![Build Status](https://travis-ci.org/google/kati.svg?branch=master)](http://travis-ci.org/google/kati)
      5 
      6 kati is an experimental GNU make clone.
      7 The main goal of this tool is to speed-up incremental build of Android.
      8 
      9 Currently, kati does not offer a faster build by itself. It instead converts
     10 your Makefile to a ninja file.
     11 
     12 How to use for Android
     13 ----------------------
     14 
     15 Now AOSP has kati and ninja, so all you have to do is
     16 
     17     % export USE_NINJA=true
     18 
     19 All Android's build commands (m, mmm, mmma, etc.) should just work.
     20 
     21 How to use for Android (deprecated way)
     22 ----------------------
     23 
     24 Set up kati:
     25 
     26     % cd ~/src
     27     % git clone https://github.com/google/kati
     28     % cd kati
     29     % make
     30 
     31 Build Android:
     32 
     33     % cd <android-directory>
     34     % source build/envsetup.sh
     35     % lunch <your-choice>
     36     % ~/src/kati/m2n --kati_stats  # Use --goma if you are a Googler.
     37     % ./ninja.sh
     38 
     39 You need ninja in your $PATH.
     40 
     41 More usage examples (deprecated way)
     42 -------------------
     43 
     44 ### "make clean"
     45 
     46     % ./ninja.sh -t clean
     47 
     48 Note ./ninja.sh passes all parameters to ninja.
     49 
     50 ### Build a specific target
     51 
     52 For example, the following is equivalent to "make cts":
     53 
     54     % ./ninja.sh cts
     55 
     56 Or, if you know the path you want, you can do:
     57 
     58     % ./ninja.sh out/host/linux-x86/bin/adb
     59