Home | History | Annotate | only in /build/kati
Up to higher level directory
NameDateSize
.gitignore06-Dec-2017231
.travis.yml06-Dec-2017438
affinity.cc06-Dec-20171.9K
affinity.h06-Dec-2017728
Android.bp06-Dec-20172.4K
ast.go06-Dec-20173.7K
AUTHORS06-Dec-2017438
bootstrap.go06-Dec-20171.5K
buf.go06-Dec-20174.1K
buf_test.go06-Dec-20171.5K
cmd/06-Dec-2017
command.cc06-Dec-20177K
command.h06-Dec-20171.2K
CONTRIBUTING.md06-Dec-20172.4K
CONTRIBUTORS06-Dec-20171.3K
dep.cc06-Dec-201718.7K
dep.go06-Dec-201714.9K
dep.h06-Dec-20171.5K
depgraph.go06-Dec-20175.2K
doc.go06-Dec-2017778
eval.cc06-Dec-201710.1K
eval.go06-Dec-201715.9K
eval.h06-Dec-20173.4K
evalcmd.go06-Dec-20177.8K
exec.cc06-Dec-20174K
exec.go06-Dec-20174.4K
exec.h06-Dec-2017795
expr.cc06-Dec-201713.7K
expr.go06-Dec-201715.9K
expr.h06-Dec-20171.8K
expr_test.go06-Dec-20175.4K
file.cc06-Dec-20171.5K
file.h06-Dec-20171.2K
file_cache.cc06-Dec-20171.7K
file_cache.h06-Dec-20171.1K
fileutil.cc06-Dec-20174.9K
fileutil.go06-Dec-20171.4K
fileutil.h06-Dec-20171.7K
fileutil_bench.cc06-Dec-20171.3K
find.cc06-Dec-201728.1K
find.h06-Dec-20171.7K
find_test.cc06-Dec-20171.3K
flags.cc06-Dec-20174.8K
flags.go06-Dec-2017826
flags.h06-Dec-20171.6K
func.cc06-Dec-201723.5K
func.go06-Dec-201732.5K
func.h06-Dec-20171.4K
func_test.go06-Dec-20171.7K
INTERNALS.md06-Dec-201721.4K
io.cc06-Dec-20171.2K
io.h06-Dec-20171K
LICENSE06-Dec-201711.1K
loc.h06-Dec-2017911
log.cc06-Dec-20171.7K
log.go06-Dec-20171K
log.h06-Dec-20173.4K
m2n06-Dec-20172.9K
main.cc06-Dec-20176.9K
make-c/06-Dec-2017
make-c.sh06-Dec-2017772
Makefile06-Dec-2017764
Makefile.ckati06-Dec-20173.9K
Makefile.kati06-Dec-20171.3K
ninja.cc06-Dec-201721.6K
ninja.go06-Dec-201717.7K
ninja.h06-Dec-20171.2K
ninja_test.cc06-Dec-201716.7K
ninja_test.go06-Dec-201719.3K
OWNERS06-Dec-201759
pack.sh06-Dec-2017831
parser.cc06-Dec-201716.5K
parser.go06-Dec-201717.8K
parser.h06-Dec-20171.2K
pathutil.go06-Dec-201720.3K
pathutil_test.go06-Dec-201723.6K
query.go06-Dec-20172.2K
README.md06-Dec-20171.2K
regen.cc06-Dec-201713.4K
regen.h06-Dec-2017768
regen_dump.cc06-Dec-20171.6K
rule.cc06-Dec-20175.4K
rule.h06-Dec-20171.7K
rule_parser.go06-Dec-20175.9K
rule_parser_test.go06-Dec-20174.7K
runtest.rb06-Dec-201711.1K
serialize.go06-Dec-201717.5K
shellutil.go06-Dec-20174.4K
shellutil_test.go06-Dec-20172.2K
stats.cc06-Dec-20172K
stats.go06-Dec-20173.6K
stats.h06-Dec-20171.4K
stmt.cc06-Dec-20174.3K
stmt.h06-Dec-20172.8K
string_piece.cc06-Dec-20176.7K
string_piece.h06-Dec-20177K
string_piece_test.cc06-Dec-20171.2K
stringprintf.cc06-Dec-20171.1K
stringprintf.h06-Dec-2017771
strutil.cc06-Dec-201712.8K
strutil.go06-Dec-20177.8K
strutil.h06-Dec-20173.5K
strutil_bench.cc06-Dec-20171.1K
strutil_test.cc06-Dec-20176.2K
strutil_test.go06-Dec-20174.5K
symtab.cc06-Dec-20174.1K
symtab.go06-Dec-2017985
symtab.h06-Dec-20172.1K
testcase/06-Dec-2017
testutil.h06-Dec-20171.4K
thread_local.h06-Dec-20172.9K
thread_pool.cc06-Dec-20172K
thread_pool.h06-Dec-2017961
timeutil.cc06-Dec-20171.2K
timeutil.h06-Dec-2017853
var.cc06-Dec-20173.9K
var.go06-Dec-20178.4K
var.h06-Dec-20174.4K
version.go06-Dec-2017646
version.h06-Dec-2017704
version_unknown.cc06-Dec-2017665
worker.go06-Dec-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