Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
cmd/kati/ | 03-May-2024 | - | 322 | 270 | ||
make-c/ | 03-May-2024 | - | 59 | 41 | ||
testcase/ | 03-May-2024 | - | 5,281 | 3,292 | ||
.clang-format | D | 03-May-2024 | 27 | 3 | 2 | |
.gitignore | D | 03-May-2024 | 231 | 21 | 20 | |
.travis.yml | D | 03-May-2024 | 638 | 37 | 30 | |
AUTHORS | D | 03-May-2024 | 438 | 15 | 13 | |
Android.bp | D | 03-May-2024 | 2.4 KiB | 107 | 100 | |
CONTRIBUTING.md | D | 03-May-2024 | 2.4 KiB | 59 | 41 | |
CONTRIBUTORS | D | 03-May-2024 | 1.3 KiB | 36 | 34 | |
INTERNALS.md | D | 03-May-2024 | 21.4 KiB | 549 | 418 | |
LICENSE | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
Makefile | D | 03-May-2024 | 871 | 32 | 10 | |
Makefile.ckati | D | 03-May-2024 | 3.9 KiB | 135 | 94 | |
Makefile.kati | D | 03-May-2024 | 1.3 KiB | 42 | 21 | |
OWNERS | D | 03-May-2024 | 59 | 4 | 3 | |
README.md | D | 03-May-2024 | 1.3 KiB | 58 | 36 | |
affinity.cc | D | 03-May-2024 | 1.8 KiB | 67 | 34 | |
affinity.h | D | 03-May-2024 | 728 | 22 | 5 | |
ast.go | D | 03-May-2024 | 3.7 KiB | 179 | 133 | |
bootstrap.go | D | 03-May-2024 | 1.5 KiB | 54 | 35 | |
buf.go | D | 03-May-2024 | 4.1 KiB | 211 | 165 | |
buf_test.go | D | 03-May-2024 | 1.5 KiB | 70 | 52 | |
clang-format-check | D | 03-May-2024 | 350 | 17 | 13 | |
command.cc | D | 03-May-2024 | 7 KiB | 241 | 190 | |
command.h | D | 03-May-2024 | 1.2 KiB | 47 | 24 | |
dep.cc | D | 03-May-2024 | 24.7 KiB | 844 | 726 | |
dep.go | D | 03-May-2024 | 14.9 KiB | 597 | 509 | |
dep.h | D | 03-May-2024 | 1.7 KiB | 67 | 43 | |
depgraph.go | D | 03-May-2024 | 5.2 KiB | 233 | 185 | |
doc.go | D | 03-May-2024 | 778 | 23 | 1 | |
eval.cc | D | 03-May-2024 | 15.7 KiB | 561 | 464 | |
eval.go | D | 03-May-2024 | 15.9 KiB | 728 | 638 | |
eval.h | D | 03-May-2024 | 4.6 KiB | 166 | 108 | |
evalcmd.go | D | 03-May-2024 | 7.8 KiB | 370 | 313 | |
exec.cc | D | 03-May-2024 | 4 KiB | 152 | 117 | |
exec.go | D | 03-May-2024 | 4.4 KiB | 204 | 160 | |
exec.h | D | 03-May-2024 | 799 | 27 | 8 | |
expr.cc | D | 03-May-2024 | 14 KiB | 592 | 490 | |
expr.go | D | 03-May-2024 | 15.9 KiB | 768 | 656 | |
expr.h | D | 03-May-2024 | 2 KiB | 78 | 47 | |
expr_test.go | D | 03-May-2024 | 5.4 KiB | 309 | 292 | |
file.cc | D | 03-May-2024 | 1.5 KiB | 63 | 38 | |
file.h | D | 03-May-2024 | 1.2 KiB | 49 | 24 | |
file_cache.cc | D | 03-May-2024 | 1.7 KiB | 66 | 37 | |
file_cache.h | D | 03-May-2024 | 1.1 KiB | 42 | 17 | |
fileutil.cc | D | 03-May-2024 | 4.9 KiB | 212 | 170 | |
fileutil.go | D | 03-May-2024 | 1.4 KiB | 63 | 43 | |
fileutil.h | D | 03-May-2024 | 1.6 KiB | 63 | 35 | |
fileutil_bench.cc | D | 03-May-2024 | 1.3 KiB | 44 | 24 | |
find.cc | D | 03-May-2024 | 28.9 KiB | 1,072 | 914 | |
find.h | D | 03-May-2024 | 1.7 KiB | 79 | 48 | |
find_test.cc | D | 03-May-2024 | 4.3 KiB | 172 | 116 | |
flags.cc | D | 03-May-2024 | 6.4 KiB | 182 | 155 | |
flags.go | D | 03-May-2024 | 826 | 30 | 10 | |
flags.h | D | 03-May-2024 | 2 KiB | 79 | 57 | |
func.cc | D | 03-May-2024 | 26.8 KiB | 1,007 | 851 | |
func.go | D | 03-May-2024 | 32.5 KiB | 1,465 | 1,288 | |
func.h | D | 03-May-2024 | 1.4 KiB | 65 | 37 | |
func_test.go | D | 03-May-2024 | 1.7 KiB | 77 | 58 | |
io.cc | D | 03-May-2024 | 1.2 KiB | 50 | 28 | |
io.h | D | 03-May-2024 | 1 KiB | 46 | 21 | |
loc.h | D | 03-May-2024 | 896 | 33 | 12 | |
log.cc | D | 03-May-2024 | 1.7 KiB | 63 | 37 | |
log.go | D | 03-May-2024 | 1 KiB | 40 | 19 | |
log.h | D | 03-May-2024 | 3.9 KiB | 108 | 72 | |
m2n | D | 03-May-2024 | 2.9 KiB | 121 | 84 | |
main.cc | D | 03-May-2024 | 9.5 KiB | 371 | 291 | |
make-c.sh | D | 03-May-2024 | 772 | 22 | 2 | |
ninja.cc | D | 03-May-2024 | 22.1 KiB | 830 | 688 | |
ninja.go | D | 03-May-2024 | 17.7 KiB | 778 | 669 | |
ninja.h | D | 03-May-2024 | 1.2 KiB | 44 | 19 | |
ninja_test.cc | D | 03-May-2024 | 16.8 KiB | 87 | 54 | |
ninja_test.go | D | 03-May-2024 | 19.3 KiB | 203 | 181 | |
pack.sh | D | 03-May-2024 | 831 | 30 | 10 | |
parser.cc | D | 03-May-2024 | 17.5 KiB | 626 | 524 | |
parser.go | D | 03-May-2024 | 17.8 KiB | 822 | 722 | |
parser.h | D | 03-May-2024 | 1.3 KiB | 46 | 22 | |
pathutil.go | D | 03-May-2024 | 20.3 KiB | 946 | 853 | |
pathutil_test.go | D | 03-May-2024 | 23.6 KiB | 801 | 758 | |
query.go | D | 03-May-2024 | 2.2 KiB | 100 | 75 | |
regen.cc | D | 03-May-2024 | 13.5 KiB | 481 | 412 | |
regen.h | D | 03-May-2024 | 768 | 25 | 6 | |
regen_dump.cc | D | 03-May-2024 | 2.7 KiB | 103 | 69 | |
rule.cc | D | 03-May-2024 | 4 KiB | 123 | 84 | |
rule.h | D | 03-May-2024 | 1.6 KiB | 65 | 37 | |
rule_parser.go | D | 03-May-2024 | 5.9 KiB | 268 | 215 | |
rule_parser_test.go | D | 03-May-2024 | 4.7 KiB | 224 | 201 | |
runtest.rb | D | 03-May-2024 | 11.5 KiB | 439 | 363 | |
serialize.go | D | 03-May-2024 | 17.5 KiB | 797 | 714 | |
shellutil.go | D | 03-May-2024 | 4.4 KiB | 233 | 199 | |
shellutil_test.go | D | 03-May-2024 | 2.2 KiB | 103 | 85 | |
stats.cc | D | 03-May-2024 | 2.6 KiB | 108 | 78 | |
stats.go | D | 03-May-2024 | 3.6 KiB | 201 | 156 | |
stats.h | D | 03-May-2024 | 1.5 KiB | 65 | 37 | |
stmt.cc | D | 03-May-2024 | 4.2 KiB | 181 | 138 | |
stmt.h | D | 03-May-2024 | 3.2 KiB | 168 | 102 | |
string_piece.cc | D | 03-May-2024 | 6.6 KiB | 240 | 169 | |
string_piece.h | D | 03-May-2024 | 7 KiB | 225 | 143 | |
string_piece_test.cc | D | 03-May-2024 | 1.2 KiB | 38 | 16 | |
stringprintf.cc | D | 03-May-2024 | 1.1 KiB | 40 | 21 | |
stringprintf.h | D | 03-May-2024 | 771 | 25 | 6 | |
strutil.cc | D | 03-May-2024 | 12.9 KiB | 557 | 479 | |
strutil.go | D | 03-May-2024 | 7.8 KiB | 431 | 374 | |
strutil.h | D | 03-May-2024 | 3.5 KiB | 150 | 92 | |
strutil_bench.cc | D | 03-May-2024 | 1.1 KiB | 43 | 22 | |
strutil_test.cc | D | 03-May-2024 | 6.2 KiB | 219 | 167 | |
strutil_test.go | D | 03-May-2024 | 4.5 KiB | 254 | 231 | |
symtab.cc | D | 03-May-2024 | 4.3 KiB | 191 | 145 | |
symtab.go | D | 03-May-2024 | 985 | 43 | 23 | |
symtab.h | D | 03-May-2024 | 5.3 KiB | 229 | 157 | |
testutil.h | D | 03-May-2024 | 1.4 KiB | 39 | 20 | |
thread_local.h | D | 03-May-2024 | 2.9 KiB | 98 | 45 | |
thread_pool.cc | D | 03-May-2024 | 2 KiB | 91 | 61 | |
thread_pool.h | D | 03-May-2024 | 961 | 36 | 14 | |
timeutil.cc | D | 03-May-2024 | 1.2 KiB | 44 | 22 | |
timeutil.h | D | 03-May-2024 | 853 | 31 | 12 | |
var.cc | D | 03-May-2024 | 5.4 KiB | 231 | 176 | |
var.go | D | 03-May-2024 | 8.4 KiB | 372 | 300 | |
var.h | D | 03-May-2024 | 4.1 KiB | 181 | 113 | |
version.go | D | 03-May-2024 | 646 | 18 | 2 | |
version.h | D | 03-May-2024 | 704 | 21 | 4 | |
version_unknown.cc | D | 03-May-2024 | 665 | 18 | 1 | |
worker.go | D | 03-May-2024 | 7.5 KiB | 369 | 309 |
README.md
1kati 2==== 3 4[![Build Status](https://travis-ci.org/google/kati.svg?branch=master)](http://travis-ci.org/google/kati) 5 6kati is an experimental GNU make clone. 7The main goal of this tool is to speed-up incremental build of Android. 8 9Currently, kati does not offer a faster build by itself. It instead converts 10your Makefile to a ninja file. 11 12How to use for Android 13---------------------- 14 15For Android-N+, ckati and ninja is used automatically. There is a prebuilt 16checked in under prebuilts/build-tools that is used. 17 18All Android's build commands (m, mmm, mmma, etc.) should just work. 19 20How to use for Android (deprecated -- only for Android M or earlier) 21---------------------- 22 23Set up kati: 24 25 % cd ~/src 26 % git clone https://github.com/google/kati 27 % cd kati 28 % make 29 30Build 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 38You need ninja in your $PATH. 39 40More usage examples (deprecated way) 41------------------- 42 43### "make clean" 44 45 % ./ninja.sh -t clean 46 47Note ./ninja.sh passes all parameters to ninja. 48 49### Build a specific target 50 51For example, the following is equivalent to "make cts": 52 53 % ./ninja.sh cts 54 55Or, if you know the path you want, you can do: 56 57 % ./ninja.sh out/host/linux-x86/bin/adb 58