Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.clang-format | 22-Oct-2020 | 27 | |
.travis.yml | 22-Oct-2020 | 638 | |
affinity.cc | 22-Oct-2020 | 1.8K | |
affinity.h | 22-Oct-2020 | 728 | |
Android.bp | 22-Oct-2020 | 2.4K | |
ast.go | 22-Oct-2020 | 3.7K | |
AUTHORS | 22-Oct-2020 | 438 | |
bootstrap.go | 22-Oct-2020 | 1.5K | |
buf.go | 22-Oct-2020 | 4.1K | |
buf_test.go | 22-Oct-2020 | 1.5K | |
clang-format-check | 22-Oct-2020 | 350 | |
cmd/ | 22-Oct-2020 | ||
command.cc | 22-Oct-2020 | 7K | |
command.h | 22-Oct-2020 | 1.2K | |
CONTRIBUTING.md | 22-Oct-2020 | 2.4K | |
CONTRIBUTORS | 22-Oct-2020 | 1.3K | |
dep.cc | 22-Oct-2020 | 24.7K | |
dep.go | 22-Oct-2020 | 14.9K | |
dep.h | 22-Oct-2020 | 1.7K | |
depgraph.go | 22-Oct-2020 | 5.2K | |
doc.go | 22-Oct-2020 | 778 | |
eval.cc | 22-Oct-2020 | 15.7K | |
eval.go | 22-Oct-2020 | 15.9K | |
eval.h | 22-Oct-2020 | 4.6K | |
evalcmd.go | 22-Oct-2020 | 7.8K | |
exec.cc | 22-Oct-2020 | 4K | |
exec.go | 22-Oct-2020 | 4.4K | |
exec.h | 22-Oct-2020 | 799 | |
expr.cc | 22-Oct-2020 | 14K | |
expr.go | 22-Oct-2020 | 15.9K | |
expr.h | 22-Oct-2020 | 2K | |
expr_test.go | 22-Oct-2020 | 5.4K | |
file.cc | 22-Oct-2020 | 1.5K | |
file.h | 22-Oct-2020 | 1.2K | |
file_cache.cc | 22-Oct-2020 | 1.7K | |
file_cache.h | 22-Oct-2020 | 1.1K | |
fileutil.cc | 22-Oct-2020 | 4.9K | |
fileutil.go | 22-Oct-2020 | 1.4K | |
fileutil.h | 22-Oct-2020 | 1.6K | |
fileutil_bench.cc | 22-Oct-2020 | 1.3K | |
find.cc | 22-Oct-2020 | 28.9K | |
find.h | 22-Oct-2020 | 1.7K | |
find_test.cc | 22-Oct-2020 | 4.3K | |
flags.cc | 22-Oct-2020 | 6.4K | |
flags.go | 22-Oct-2020 | 826 | |
flags.h | 22-Oct-2020 | 2K | |
func.cc | 22-Oct-2020 | 26.8K | |
func.go | 22-Oct-2020 | 32.5K | |
func.h | 22-Oct-2020 | 1.4K | |
func_test.go | 22-Oct-2020 | 1.7K | |
INTERNALS.md | 22-Oct-2020 | 21.4K | |
io.cc | 22-Oct-2020 | 1.2K | |
io.h | 22-Oct-2020 | 1K | |
LICENSE | 22-Oct-2020 | 11.1K | |
loc.h | 22-Oct-2020 | 896 | |
log.cc | 22-Oct-2020 | 1.7K | |
log.go | 22-Oct-2020 | 1K | |
log.h | 22-Oct-2020 | 3.9K | |
m2n | 22-Oct-2020 | 2.9K | |
main.cc | 22-Oct-2020 | 9.5K | |
make-c/ | 22-Oct-2020 | ||
make-c.sh | 22-Oct-2020 | 772 | |
Makefile | 22-Oct-2020 | 871 | |
Makefile.ckati | 22-Oct-2020 | 3.9K | |
Makefile.kati | 22-Oct-2020 | 1.3K | |
ninja.cc | 22-Oct-2020 | 22.1K | |
ninja.go | 22-Oct-2020 | 17.7K | |
ninja.h | 22-Oct-2020 | 1.2K | |
ninja_test.cc | 22-Oct-2020 | 16.8K | |
ninja_test.go | 22-Oct-2020 | 19.3K | |
OWNERS | 22-Oct-2020 | 59 | |
pack.sh | 22-Oct-2020 | 831 | |
parser.cc | 22-Oct-2020 | 17.5K | |
parser.go | 22-Oct-2020 | 17.8K | |
parser.h | 22-Oct-2020 | 1.3K | |
pathutil.go | 22-Oct-2020 | 20.3K | |
pathutil_test.go | 22-Oct-2020 | 23.6K | |
query.go | 22-Oct-2020 | 2.2K | |
README.md | 22-Oct-2020 | 1.3K | |
regen.cc | 22-Oct-2020 | 13.5K | |
regen.h | 22-Oct-2020 | 768 | |
regen_dump.cc | 22-Oct-2020 | 2.7K | |
rule.cc | 22-Oct-2020 | 4K | |
rule.h | 22-Oct-2020 | 1.6K | |
rule_parser.go | 22-Oct-2020 | 5.9K | |
rule_parser_test.go | 22-Oct-2020 | 4.7K | |
runtest.rb | 22-Oct-2020 | 11.5K | |
serialize.go | 22-Oct-2020 | 17.5K | |
shellutil.go | 22-Oct-2020 | 4.4K | |
shellutil_test.go | 22-Oct-2020 | 2.2K | |
stats.cc | 22-Oct-2020 | 2.6K | |
stats.go | 22-Oct-2020 | 3.6K | |
stats.h | 22-Oct-2020 | 1.5K | |
stmt.cc | 22-Oct-2020 | 4.2K | |
stmt.h | 22-Oct-2020 | 3.2K | |
string_piece.cc | 22-Oct-2020 | 6.6K | |
string_piece.h | 22-Oct-2020 | 7K | |
string_piece_test.cc | 22-Oct-2020 | 1.2K | |
stringprintf.cc | 22-Oct-2020 | 1.1K | |
stringprintf.h | 22-Oct-2020 | 771 | |
strutil.cc | 22-Oct-2020 | 12.9K | |
strutil.go | 22-Oct-2020 | 7.8K | |
strutil.h | 22-Oct-2020 | 3.5K | |
strutil_bench.cc | 22-Oct-2020 | 1.1K | |
strutil_test.cc | 22-Oct-2020 | 6.2K | |
strutil_test.go | 22-Oct-2020 | 4.5K | |
symtab.cc | 22-Oct-2020 | 4.3K | |
symtab.go | 22-Oct-2020 | 985 | |
symtab.h | 22-Oct-2020 | 5.3K | |
testcase/ | 22-Oct-2020 | ||
testutil.h | 22-Oct-2020 | 1.4K | |
thread_local.h | 22-Oct-2020 | 2.9K | |
thread_pool.cc | 22-Oct-2020 | 2K | |
thread_pool.h | 22-Oct-2020 | 961 | |
timeutil.cc | 22-Oct-2020 | 1.2K | |
timeutil.h | 22-Oct-2020 | 853 | |
var.cc | 22-Oct-2020 | 5.4K | |
var.go | 22-Oct-2020 | 8.4K | |
var.h | 22-Oct-2020 | 4.1K | |
version.go | 22-Oct-2020 | 646 | |
version.h | 22-Oct-2020 | 704 | |
version_unknown.cc | 22-Oct-2020 | 665 | |
worker.go | 22-Oct-2020 | 7.5K |
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