Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
cmd/kati/ | 03-May-2024 | - | 322 | 270 | ||
make-c/ | 03-May-2024 | - | 59 | 41 | ||
testcase/ | 03-May-2024 | - | 4,495 | 2,884 | ||
.gitignore | D | 03-May-2024 | 231 | 21 | 20 | |
.travis.yml | D | 03-May-2024 | 438 | 21 | 16 | |
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 | 764 | 26 | 7 | |
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.2 KiB | 59 | 36 | |
affinity.cc | D | 03-May-2024 | 1.9 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 | |
command.cc | D | 03-May-2024 | 7 KiB | 248 | 197 | |
command.h | D | 03-May-2024 | 1.2 KiB | 49 | 26 | |
dep.cc | D | 03-May-2024 | 18.7 KiB | 687 | 581 | |
dep.go | D | 03-May-2024 | 14.9 KiB | 597 | 509 | |
dep.h | D | 03-May-2024 | 1.5 KiB | 63 | 40 | |
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 | 10.1 KiB | 390 | 319 | |
eval.go | D | 03-May-2024 | 15.9 KiB | 728 | 638 | |
eval.h | D | 03-May-2024 | 3.4 KiB | 133 | 84 | |
evalcmd.go | D | 03-May-2024 | 7.8 KiB | 370 | 313 | |
exec.cc | D | 03-May-2024 | 4 KiB | 158 | 123 | |
exec.go | D | 03-May-2024 | 4.4 KiB | 204 | 160 | |
exec.h | D | 03-May-2024 | 795 | 28 | 8 | |
expr.cc | D | 03-May-2024 | 13.7 KiB | 600 | 499 | |
expr.go | D | 03-May-2024 | 15.9 KiB | 768 | 656 | |
expr.h | D | 03-May-2024 | 1.8 KiB | 76 | 43 | |
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 | 68 | 39 | |
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.7 KiB | 60 | 32 | |
fileutil_bench.cc | D | 03-May-2024 | 1.3 KiB | 44 | 24 | |
find.cc | D | 03-May-2024 | 28.1 KiB | 1,075 | 926 | |
find.h | D | 03-May-2024 | 1.7 KiB | 77 | 46 | |
find_test.cc | D | 03-May-2024 | 1.3 KiB | 51 | 29 | |
flags.cc | D | 03-May-2024 | 4.8 KiB | 153 | 126 | |
flags.go | D | 03-May-2024 | 826 | 30 | 10 | |
flags.h | D | 03-May-2024 | 1.6 KiB | 65 | 43 | |
func.cc | D | 03-May-2024 | 23.5 KiB | 884 | 750 | |
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 | 48 | 23 | |
loc.h | D | 03-May-2024 | 911 | 36 | 15 | |
log.cc | D | 03-May-2024 | 1.7 KiB | 62 | 36 | |
log.go | D | 03-May-2024 | 1 KiB | 40 | 19 | |
log.h | D | 03-May-2024 | 3.4 KiB | 96 | 60 | |
m2n | D | 03-May-2024 | 2.9 KiB | 121 | 84 | |
main.cc | D | 03-May-2024 | 6.9 KiB | 266 | 213 | |
make-c.sh | D | 03-May-2024 | 772 | 22 | 2 | |
ninja.cc | D | 03-May-2024 | 21.6 KiB | 818 | 674 | |
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.7 KiB | 80 | 49 | |
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 | 16.5 KiB | 608 | 512 | |
parser.go | D | 03-May-2024 | 17.8 KiB | 822 | 722 | |
parser.h | D | 03-May-2024 | 1.2 KiB | 42 | 18 | |
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.4 KiB | 475 | 406 | |
regen.h | D | 03-May-2024 | 768 | 25 | 6 | |
regen_dump.cc | D | 03-May-2024 | 1.6 KiB | 58 | 29 | |
rule.cc | D | 03-May-2024 | 5.4 KiB | 189 | 149 | |
rule.h | D | 03-May-2024 | 1.7 KiB | 72 | 41 | |
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.1 KiB | 428 | 353 | |
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 KiB | 89 | 60 | |
stats.go | D | 03-May-2024 | 3.6 KiB | 201 | 156 | |
stats.h | D | 03-May-2024 | 1.4 KiB | 62 | 34 | |
stmt.cc | D | 03-May-2024 | 4.3 KiB | 169 | 126 | |
stmt.h | D | 03-May-2024 | 2.8 KiB | 162 | 103 | |
string_piece.cc | D | 03-May-2024 | 6.7 KiB | 238 | 167 | |
string_piece.h | D | 03-May-2024 | 7 KiB | 228 | 146 | |
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.8 KiB | 561 | 483 | |
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.1 KiB | 187 | 142 | |
symtab.go | D | 03-May-2024 | 985 | 43 | 23 | |
symtab.h | D | 03-May-2024 | 2.1 KiB | 105 | 65 | |
testutil.h | D | 03-May-2024 | 1.4 KiB | 37 | 18 | |
thread_local.h | D | 03-May-2024 | 2.9 KiB | 103 | 50 | |
thread_pool.cc | D | 03-May-2024 | 2 KiB | 93 | 63 | |
thread_pool.h | D | 03-May-2024 | 961 | 36 | 14 | |
timeutil.cc | D | 03-May-2024 | 1.2 KiB | 45 | 23 | |
timeutil.h | D | 03-May-2024 | 853 | 31 | 12 | |
var.cc | D | 03-May-2024 | 3.9 KiB | 174 | 128 | |
var.go | D | 03-May-2024 | 8.4 KiB | 372 | 300 | |
var.h | D | 03-May-2024 | 4.4 KiB | 211 | 147 | |
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 15Now AOSP has kati and ninja, so all you have to do is 16 17 % export USE_NINJA=true 18 19All Android's build commands (m, mmm, mmma, etc.) should just work. 20 21How to use for Android (deprecated way) 22---------------------- 23 24Set up kati: 25 26 % cd ~/src 27 % git clone https://github.com/google/kati 28 % cd kati 29 % make 30 31Build 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 39You need ninja in your $PATH. 40 41More usage examples (deprecated way) 42------------------- 43 44### "make clean" 45 46 % ./ninja.sh -t clean 47 48Note ./ninja.sh passes all parameters to ninja. 49 50### Build a specific target 51 52For example, the following is equivalent to "make cts": 53 54 % ./ninja.sh cts 55 56Or, if you know the path you want, you can do: 57 58 % ./ninja.sh out/host/linux-x86/bin/adb 59