Home | History | Annotate | only in /build/kati
Up to higher level directory
NameDateSize
.gitignore24-Aug-2016207
.travis.yml24-Aug-2016396
affinity.cc24-Aug-20161.3K
affinity.h24-Aug-2016728
Android.bp24-Aug-20161.9K
ast.go24-Aug-20163.7K
AUTHORS24-Aug-2016373
bootstrap.go24-Aug-20161.5K
buf.go24-Aug-20164.1K
buf_test.go24-Aug-20161.5K
cmd/24-Aug-2016
command.cc24-Aug-20167K
command.h24-Aug-20161.2K
CONTRIBUTING.md24-Aug-20162.4K
CONTRIBUTORS24-Aug-20161.2K
dep.cc24-Aug-201618.2K
dep.go24-Aug-201614.9K
dep.h24-Aug-20161.5K
depgraph.go24-Aug-20165.2K
doc.go24-Aug-2016778
eval.cc24-Aug-20168.2K
eval.go24-Aug-201615.9K
eval.h24-Aug-20163.2K
evalcmd.go24-Aug-20167.8K
exec.cc24-Aug-20163.9K
exec.go24-Aug-20164.4K
exec.h24-Aug-2016795
expr.cc24-Aug-201613.6K
expr.go24-Aug-201615.9K
expr.h24-Aug-20161.8K
expr_test.go24-Aug-20165.4K
file.cc24-Aug-20161.5K
file.h24-Aug-20161.2K
file_cache.cc24-Aug-20161.7K
file_cache.h24-Aug-20161.1K
fileutil.cc24-Aug-20164.5K
fileutil.go24-Aug-20161.4K
fileutil.h24-Aug-20161.3K
find.cc24-Aug-201625K
find.h24-Aug-20161.6K
find_test.cc24-Aug-20161.3K
flags.cc24-Aug-20164.2K
flags.go24-Aug-2016826
flags.h24-Aug-20161.5K
func.cc24-Aug-201620.2K
func.go24-Aug-201632.5K
func.h24-Aug-20161.2K
func_test.go24-Aug-20161.7K
INTERNALS.md24-Aug-201621.4K
io.cc24-Aug-20161.2K
io.h24-Aug-20161K
LICENSE24-Aug-201611.1K
loc.h24-Aug-2016911
log.cc24-Aug-2016688
log.go24-Aug-20161K
log.h24-Aug-20162.7K
m2n24-Aug-20162.9K
main.cc24-Aug-20166.7K
make-c/24-Aug-2016
make-c.sh24-Aug-2016772
Makefile24-Aug-2016775
Makefile.ckati24-Aug-20163.9K
Makefile.kati24-Aug-20161.3K
ninja.cc24-Aug-201621.3K
ninja.go24-Aug-201617.7K
ninja.h24-Aug-20161.2K
ninja_test.cc24-Aug-201616.7K
ninja_test.go24-Aug-201619.3K
pack.sh24-Aug-2016831
parser.cc24-Aug-201616K
parser.go24-Aug-201617.8K
parser.h24-Aug-20161.2K
pathutil.go24-Aug-201620.3K
pathutil_test.go24-Aug-201623.6K
query.go24-Aug-20162.2K
README.md24-Aug-20161.2K
regen.cc24-Aug-201611.6K
regen.h24-Aug-2016768
rule.cc24-Aug-20164.9K
rule.h24-Aug-20161.5K
rule_parser.go24-Aug-20165.9K
rule_parser_test.go24-Aug-20164.7K
runtest.rb24-Aug-201610.5K
serialize.go24-Aug-201617.5K
shellutil.go24-Aug-20164.4K
shellutil_test.go24-Aug-20162.2K
stats.cc24-Aug-20162K
stats.go24-Aug-20163.6K
stats.h24-Aug-20161.4K
stmt.cc24-Aug-20164.3K
stmt.h24-Aug-20162.8K
string_piece.cc24-Aug-20166.7K
string_piece.h24-Aug-20167K
string_piece_test.cc24-Aug-20161.2K
stringprintf.cc24-Aug-20161.1K
stringprintf.h24-Aug-2016771
strutil.cc24-Aug-201612.9K
strutil.go24-Aug-20167.8K
strutil.h24-Aug-20163.4K
strutil_bench.cc24-Aug-20161.1K
strutil_test.cc24-Aug-20164.4K
strutil_test.go24-Aug-20164.5K
symtab.cc24-Aug-20163.7K
symtab.go24-Aug-2016985
symtab.h24-Aug-20162K
testcase/24-Aug-2016
testutil.h24-Aug-20161.4K
thread_local.h24-Aug-20162.9K
thread_pool.cc24-Aug-20162K
thread_pool.h24-Aug-2016961
timeutil.cc24-Aug-20161.2K
timeutil.h24-Aug-2016853
var.cc24-Aug-20163.7K
var.go24-Aug-20168.4K
var.h24-Aug-20164.3K
version.go24-Aug-2016646
version.h24-Aug-2016704
version_unknown.cc24-Aug-2016665
worker.go24-Aug-20167.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