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