Home | History | Annotate | only in /build/kati
Up to higher level directory
NameDateSize
.clang-format22-Oct-202027
.travis.yml22-Oct-2020638
affinity.cc22-Oct-20201.8K
affinity.h22-Oct-2020728
Android.bp22-Oct-20202.4K
ast.go22-Oct-20203.7K
AUTHORS22-Oct-2020438
bootstrap.go22-Oct-20201.5K
buf.go22-Oct-20204.1K
buf_test.go22-Oct-20201.5K
clang-format-check22-Oct-2020350
cmd/22-Oct-2020
command.cc22-Oct-20207K
command.h22-Oct-20201.2K
CONTRIBUTING.md22-Oct-20202.4K
CONTRIBUTORS22-Oct-20201.3K
dep.cc22-Oct-202024.7K
dep.go22-Oct-202014.9K
dep.h22-Oct-20201.7K
depgraph.go22-Oct-20205.2K
doc.go22-Oct-2020778
eval.cc22-Oct-202015.7K
eval.go22-Oct-202015.9K
eval.h22-Oct-20204.6K
evalcmd.go22-Oct-20207.8K
exec.cc22-Oct-20204K
exec.go22-Oct-20204.4K
exec.h22-Oct-2020799
expr.cc22-Oct-202014K
expr.go22-Oct-202015.9K
expr.h22-Oct-20202K
expr_test.go22-Oct-20205.4K
file.cc22-Oct-20201.5K
file.h22-Oct-20201.2K
file_cache.cc22-Oct-20201.7K
file_cache.h22-Oct-20201.1K
fileutil.cc22-Oct-20204.9K
fileutil.go22-Oct-20201.4K
fileutil.h22-Oct-20201.6K
fileutil_bench.cc22-Oct-20201.3K
find.cc22-Oct-202028.9K
find.h22-Oct-20201.7K
find_test.cc22-Oct-20204.3K
flags.cc22-Oct-20206.4K
flags.go22-Oct-2020826
flags.h22-Oct-20202K
func.cc22-Oct-202026.8K
func.go22-Oct-202032.5K
func.h22-Oct-20201.4K
func_test.go22-Oct-20201.7K
INTERNALS.md22-Oct-202021.4K
io.cc22-Oct-20201.2K
io.h22-Oct-20201K
LICENSE22-Oct-202011.1K
loc.h22-Oct-2020896
log.cc22-Oct-20201.7K
log.go22-Oct-20201K
log.h22-Oct-20203.9K
m2n22-Oct-20202.9K
main.cc22-Oct-20209.5K
make-c/22-Oct-2020
make-c.sh22-Oct-2020772
Makefile22-Oct-2020871
Makefile.ckati22-Oct-20203.9K
Makefile.kati22-Oct-20201.3K
ninja.cc22-Oct-202022.1K
ninja.go22-Oct-202017.7K
ninja.h22-Oct-20201.2K
ninja_test.cc22-Oct-202016.8K
ninja_test.go22-Oct-202019.3K
OWNERS22-Oct-202059
pack.sh22-Oct-2020831
parser.cc22-Oct-202017.5K
parser.go22-Oct-202017.8K
parser.h22-Oct-20201.3K
pathutil.go22-Oct-202020.3K
pathutil_test.go22-Oct-202023.6K
query.go22-Oct-20202.2K
README.md22-Oct-20201.3K
regen.cc22-Oct-202013.5K
regen.h22-Oct-2020768
regen_dump.cc22-Oct-20202.7K
rule.cc22-Oct-20204K
rule.h22-Oct-20201.6K
rule_parser.go22-Oct-20205.9K
rule_parser_test.go22-Oct-20204.7K
runtest.rb22-Oct-202011.5K
serialize.go22-Oct-202017.5K
shellutil.go22-Oct-20204.4K
shellutil_test.go22-Oct-20202.2K
stats.cc22-Oct-20202.6K
stats.go22-Oct-20203.6K
stats.h22-Oct-20201.5K
stmt.cc22-Oct-20204.2K
stmt.h22-Oct-20203.2K
string_piece.cc22-Oct-20206.6K
string_piece.h22-Oct-20207K
string_piece_test.cc22-Oct-20201.2K
stringprintf.cc22-Oct-20201.1K
stringprintf.h22-Oct-2020771
strutil.cc22-Oct-202012.9K
strutil.go22-Oct-20207.8K
strutil.h22-Oct-20203.5K
strutil_bench.cc22-Oct-20201.1K
strutil_test.cc22-Oct-20206.2K
strutil_test.go22-Oct-20204.5K
symtab.cc22-Oct-20204.3K
symtab.go22-Oct-2020985
symtab.h22-Oct-20205.3K
testcase/22-Oct-2020
testutil.h22-Oct-20201.4K
thread_local.h22-Oct-20202.9K
thread_pool.cc22-Oct-20202K
thread_pool.h22-Oct-2020961
timeutil.cc22-Oct-20201.2K
timeutil.h22-Oct-2020853
var.cc22-Oct-20205.4K
var.go22-Oct-20208.4K
var.h22-Oct-20204.1K
version.go22-Oct-2020646
version.h22-Oct-2020704
version_unknown.cc22-Oct-2020665
worker.go22-Oct-20207.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 For Android-N+, ckati and ninja is used automatically. There is a prebuilt
     16 checked in under prebuilts/build-tools that is used.
     17 
     18 All Android's build commands (m, mmm, mmma, etc.) should just work.
     19 
     20 How to use for Android (deprecated -- only for Android M or earlier)
     21 ----------------------
     22 
     23 Set up kati:
     24 
     25     % cd ~/src
     26     % git clone https://github.com/google/kati
     27     % cd kati
     28     % make
     29 
     30 Build Android:
     31 
     32     % cd <android-directory>
     33     % source build/envsetup.sh
     34     % lunch <your-choice>
     35     % ~/src/kati/m2n --kati_stats
     36     % ./ninja.sh
     37 
     38 You need ninja in your $PATH.
     39 
     40 More usage examples (deprecated way)
     41 -------------------
     42 
     43 ### "make clean"
     44 
     45     % ./ninja.sh -t clean
     46 
     47 Note ./ninja.sh passes all parameters to ninja.
     48 
     49 ### Build a specific target
     50 
     51 For example, the following is equivalent to "make cts":
     52 
     53     % ./ninja.sh cts
     54 
     55 Or, if you know the path you want, you can do:
     56 
     57     % ./ninja.sh out/host/linux-x86/bin/adb
     58