Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
cmd/kati/ | 07-May-2024 | - | 322 | 270 | ||
make-c/ | 07-May-2024 | - | 59 | 41 | ||
testcase/ | 07-May-2024 | - | 3,658 | 2,452 | ||
.gitignore | D | 07-May-2024 | 207 | 19 | 18 | |
.travis.yml | D | 07-May-2024 | 396 | 19 | 14 | |
AUTHORS | D | 07-May-2024 | 373 | 13 | 11 | |
Android.bp | D | 07-May-2024 | 1.9 KiB | 82 | 78 | |
CONTRIBUTING.md | D | 07-May-2024 | 2.4 KiB | 59 | 41 | |
CONTRIBUTORS | D | 07-May-2024 | 1.2 KiB | 33 | 31 | |
INTERNALS.md | D | 07-May-2024 | 21.4 KiB | 549 | 418 | |
LICENSE | D | 07-May-2024 | 11.1 KiB | 203 | 169 | |
Makefile | D | 07-May-2024 | 775 | 26 | 7 | |
Makefile.ckati | D | 07-May-2024 | 3.9 KiB | 133 | 92 | |
Makefile.kati | D | 07-May-2024 | 1.3 KiB | 42 | 21 | |
README.md | D | 07-May-2024 | 1.2 KiB | 59 | 36 | |
affinity.cc | D | 07-May-2024 | 1.3 KiB | 51 | 28 | |
affinity.h | D | 07-May-2024 | 728 | 22 | 5 | |
ast.go | D | 07-May-2024 | 3.7 KiB | 179 | 133 | |
bootstrap.go | D | 07-May-2024 | 1.5 KiB | 54 | 35 | |
buf.go | D | 07-May-2024 | 4.1 KiB | 211 | 165 | |
buf_test.go | D | 07-May-2024 | 1.5 KiB | 70 | 52 | |
command.cc | D | 07-May-2024 | 7 KiB | 246 | 196 | |
command.h | D | 07-May-2024 | 1.2 KiB | 49 | 26 | |
dep.cc | D | 07-May-2024 | 18.2 KiB | 673 | 567 | |
dep.go | D | 07-May-2024 | 14.9 KiB | 597 | 509 | |
dep.h | D | 07-May-2024 | 1.5 KiB | 62 | 39 | |
depgraph.go | D | 07-May-2024 | 5.2 KiB | 233 | 185 | |
doc.go | D | 07-May-2024 | 778 | 23 | 1 | |
eval.cc | D | 07-May-2024 | 8.2 KiB | 318 | 256 | |
eval.go | D | 07-May-2024 | 15.9 KiB | 728 | 638 | |
eval.h | D | 07-May-2024 | 3.2 KiB | 122 | 76 | |
evalcmd.go | D | 07-May-2024 | 7.8 KiB | 370 | 313 | |
exec.cc | D | 07-May-2024 | 3.9 KiB | 154 | 119 | |
exec.go | D | 07-May-2024 | 4.4 KiB | 204 | 160 | |
exec.h | D | 07-May-2024 | 795 | 28 | 8 | |
expr.cc | D | 07-May-2024 | 13.6 KiB | 598 | 497 | |
expr.go | D | 07-May-2024 | 15.9 KiB | 768 | 656 | |
expr.h | D | 07-May-2024 | 1.8 KiB | 76 | 43 | |
expr_test.go | D | 07-May-2024 | 5.4 KiB | 309 | 292 | |
file.cc | D | 07-May-2024 | 1.5 KiB | 62 | 37 | |
file.h | D | 07-May-2024 | 1.2 KiB | 49 | 24 | |
file_cache.cc | D | 07-May-2024 | 1.7 KiB | 68 | 39 | |
file_cache.h | D | 07-May-2024 | 1.1 KiB | 42 | 17 | |
fileutil.cc | D | 07-May-2024 | 4.5 KiB | 203 | 162 | |
fileutil.go | D | 07-May-2024 | 1.4 KiB | 63 | 43 | |
fileutil.h | D | 07-May-2024 | 1.3 KiB | 50 | 24 | |
find.cc | D | 07-May-2024 | 25 KiB | 976 | 836 | |
find.h | D | 07-May-2024 | 1.6 KiB | 75 | 44 | |
find_test.cc | D | 07-May-2024 | 1.3 KiB | 51 | 29 | |
flags.cc | D | 07-May-2024 | 4.2 KiB | 134 | 108 | |
flags.go | D | 07-May-2024 | 826 | 30 | 10 | |
flags.h | D | 07-May-2024 | 1.5 KiB | 60 | 38 | |
func.cc | D | 07-May-2024 | 20.2 KiB | 755 | 641 | |
func.go | D | 07-May-2024 | 32.5 KiB | 1,465 | 1,288 | |
func.h | D | 07-May-2024 | 1.2 KiB | 53 | 26 | |
func_test.go | D | 07-May-2024 | 1.7 KiB | 77 | 58 | |
io.cc | D | 07-May-2024 | 1.2 KiB | 50 | 28 | |
io.h | D | 07-May-2024 | 1 KiB | 48 | 23 | |
loc.h | D | 07-May-2024 | 911 | 36 | 15 | |
log.cc | D | 07-May-2024 | 688 | 21 | 3 | |
log.go | D | 07-May-2024 | 1 KiB | 40 | 19 | |
log.h | D | 07-May-2024 | 2.7 KiB | 77 | 47 | |
m2n | D | 07-May-2024 | 2.9 KiB | 121 | 84 | |
main.cc | D | 07-May-2024 | 6.7 KiB | 261 | 208 | |
make-c.sh | D | 07-May-2024 | 772 | 22 | 2 | |
ninja.cc | D | 07-May-2024 | 21.3 KiB | 806 | 654 | |
ninja.go | D | 07-May-2024 | 17.7 KiB | 778 | 669 | |
ninja.h | D | 07-May-2024 | 1.2 KiB | 44 | 19 | |
ninja_test.cc | D | 07-May-2024 | 16.7 KiB | 80 | 49 | |
ninja_test.go | D | 07-May-2024 | 19.3 KiB | 203 | 181 | |
pack.sh | D | 07-May-2024 | 831 | 30 | 10 | |
parser.cc | D | 07-May-2024 | 16 KiB | 592 | 497 | |
parser.go | D | 07-May-2024 | 17.8 KiB | 822 | 722 | |
parser.h | D | 07-May-2024 | 1.2 KiB | 42 | 18 | |
pathutil.go | D | 07-May-2024 | 20.3 KiB | 946 | 853 | |
pathutil_test.go | D | 07-May-2024 | 23.6 KiB | 801 | 758 | |
query.go | D | 07-May-2024 | 2.2 KiB | 100 | 75 | |
regen.cc | D | 07-May-2024 | 11.6 KiB | 411 | 350 | |
regen.h | D | 07-May-2024 | 768 | 25 | 6 | |
rule.cc | D | 07-May-2024 | 4.9 KiB | 174 | 137 | |
rule.h | D | 07-May-2024 | 1.5 KiB | 66 | 38 | |
rule_parser.go | D | 07-May-2024 | 5.9 KiB | 268 | 215 | |
rule_parser_test.go | D | 07-May-2024 | 4.7 KiB | 224 | 201 | |
runtest.rb | D | 07-May-2024 | 10.5 KiB | 404 | 337 | |
serialize.go | D | 07-May-2024 | 17.5 KiB | 797 | 714 | |
shellutil.go | D | 07-May-2024 | 4.4 KiB | 233 | 199 | |
shellutil_test.go | D | 07-May-2024 | 2.2 KiB | 103 | 85 | |
stats.cc | D | 07-May-2024 | 2 KiB | 89 | 60 | |
stats.go | D | 07-May-2024 | 3.6 KiB | 201 | 156 | |
stats.h | D | 07-May-2024 | 1.4 KiB | 62 | 34 | |
stmt.cc | D | 07-May-2024 | 4.3 KiB | 169 | 126 | |
stmt.h | D | 07-May-2024 | 2.8 KiB | 162 | 103 | |
string_piece.cc | D | 07-May-2024 | 6.7 KiB | 238 | 167 | |
string_piece.h | D | 07-May-2024 | 7 KiB | 228 | 146 | |
string_piece_test.cc | D | 07-May-2024 | 1.2 KiB | 38 | 16 | |
stringprintf.cc | D | 07-May-2024 | 1.1 KiB | 40 | 21 | |
stringprintf.h | D | 07-May-2024 | 771 | 25 | 6 | |
strutil.cc | D | 07-May-2024 | 12.9 KiB | 587 | 512 | |
strutil.go | D | 07-May-2024 | 7.8 KiB | 431 | 374 | |
strutil.h | D | 07-May-2024 | 3.4 KiB | 148 | 91 | |
strutil_bench.cc | D | 07-May-2024 | 1.1 KiB | 41 | 22 | |
strutil_test.cc | D | 07-May-2024 | 4.4 KiB | 155 | 119 | |
strutil_test.go | D | 07-May-2024 | 4.5 KiB | 254 | 231 | |
symtab.cc | D | 07-May-2024 | 3.7 KiB | 173 | 128 | |
symtab.go | D | 07-May-2024 | 985 | 43 | 23 | |
symtab.h | D | 07-May-2024 | 2 KiB | 105 | 65 | |
testutil.h | D | 07-May-2024 | 1.4 KiB | 37 | 18 | |
thread_local.h | D | 07-May-2024 | 2.9 KiB | 103 | 50 | |
thread_pool.cc | D | 07-May-2024 | 2 KiB | 91 | 63 | |
thread_pool.h | D | 07-May-2024 | 961 | 36 | 14 | |
timeutil.cc | D | 07-May-2024 | 1.2 KiB | 45 | 23 | |
timeutil.h | D | 07-May-2024 | 853 | 31 | 12 | |
var.cc | D | 07-May-2024 | 3.7 KiB | 169 | 123 | |
var.go | D | 07-May-2024 | 8.4 KiB | 372 | 300 | |
var.h | D | 07-May-2024 | 4.3 KiB | 205 | 143 | |
version.go | D | 07-May-2024 | 646 | 18 | 2 | |
version.h | D | 07-May-2024 | 704 | 21 | 4 | |
version_unknown.cc | D | 07-May-2024 | 665 | 18 | 1 | |
worker.go | D | 07-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