• Home
Name Date Size #Lines LOC

..--

cmd/kati/03-May-2024-322270

make-c/03-May-2024-5941

testcase/03-May-2024-5,2813,292

.clang-formatD03-May-202427 32

.gitignoreD03-May-2024231 2120

.travis.ymlD03-May-2024638 3730

AUTHORSD03-May-2024438 1513

Android.bpD03-May-20242.4 KiB107100

CONTRIBUTING.mdD03-May-20242.4 KiB5941

CONTRIBUTORSD03-May-20241.3 KiB3634

INTERNALS.mdD03-May-202421.4 KiB549418

LICENSED03-May-202411.1 KiB203169

MakefileD03-May-2024871 3210

Makefile.ckatiD03-May-20243.9 KiB13594

Makefile.katiD03-May-20241.3 KiB4221

OWNERSD03-May-202459 43

README.mdD03-May-20241.3 KiB5836

affinity.ccD03-May-20241.8 KiB6734

affinity.hD03-May-2024728 225

ast.goD03-May-20243.7 KiB179133

bootstrap.goD03-May-20241.5 KiB5435

buf.goD03-May-20244.1 KiB211165

buf_test.goD03-May-20241.5 KiB7052

clang-format-checkD03-May-2024350 1713

command.ccD03-May-20247 KiB241190

command.hD03-May-20241.2 KiB4724

dep.ccD03-May-202424.7 KiB844726

dep.goD03-May-202414.9 KiB597509

dep.hD03-May-20241.7 KiB6743

depgraph.goD03-May-20245.2 KiB233185

doc.goD03-May-2024778 231

eval.ccD03-May-202415.7 KiB561464

eval.goD03-May-202415.9 KiB728638

eval.hD03-May-20244.6 KiB166108

evalcmd.goD03-May-20247.8 KiB370313

exec.ccD03-May-20244 KiB152117

exec.goD03-May-20244.4 KiB204160

exec.hD03-May-2024799 278

expr.ccD03-May-202414 KiB592490

expr.goD03-May-202415.9 KiB768656

expr.hD03-May-20242 KiB7847

expr_test.goD03-May-20245.4 KiB309292

file.ccD03-May-20241.5 KiB6338

file.hD03-May-20241.2 KiB4924

file_cache.ccD03-May-20241.7 KiB6637

file_cache.hD03-May-20241.1 KiB4217

fileutil.ccD03-May-20244.9 KiB212170

fileutil.goD03-May-20241.4 KiB6343

fileutil.hD03-May-20241.6 KiB6335

fileutil_bench.ccD03-May-20241.3 KiB4424

find.ccD03-May-202428.9 KiB1,072914

find.hD03-May-20241.7 KiB7948

find_test.ccD03-May-20244.3 KiB172116

flags.ccD03-May-20246.4 KiB182155

flags.goD03-May-2024826 3010

flags.hD03-May-20242 KiB7957

func.ccD03-May-202426.8 KiB1,007851

func.goD03-May-202432.5 KiB1,4651,288

func.hD03-May-20241.4 KiB6537

func_test.goD03-May-20241.7 KiB7758

io.ccD03-May-20241.2 KiB5028

io.hD03-May-20241 KiB4621

loc.hD03-May-2024896 3312

log.ccD03-May-20241.7 KiB6337

log.goD03-May-20241 KiB4019

log.hD03-May-20243.9 KiB10872

m2nD03-May-20242.9 KiB12184

main.ccD03-May-20249.5 KiB371291

make-c.shD03-May-2024772 222

ninja.ccD03-May-202422.1 KiB830688

ninja.goD03-May-202417.7 KiB778669

ninja.hD03-May-20241.2 KiB4419

ninja_test.ccD03-May-202416.8 KiB8754

ninja_test.goD03-May-202419.3 KiB203181

pack.shD03-May-2024831 3010

parser.ccD03-May-202417.5 KiB626524

parser.goD03-May-202417.8 KiB822722

parser.hD03-May-20241.3 KiB4622

pathutil.goD03-May-202420.3 KiB946853

pathutil_test.goD03-May-202423.6 KiB801758

query.goD03-May-20242.2 KiB10075

regen.ccD03-May-202413.5 KiB481412

regen.hD03-May-2024768 256

regen_dump.ccD03-May-20242.7 KiB10369

rule.ccD03-May-20244 KiB12384

rule.hD03-May-20241.6 KiB6537

rule_parser.goD03-May-20245.9 KiB268215

rule_parser_test.goD03-May-20244.7 KiB224201

runtest.rbD03-May-202411.5 KiB439363

serialize.goD03-May-202417.5 KiB797714

shellutil.goD03-May-20244.4 KiB233199

shellutil_test.goD03-May-20242.2 KiB10385

stats.ccD03-May-20242.6 KiB10878

stats.goD03-May-20243.6 KiB201156

stats.hD03-May-20241.5 KiB6537

stmt.ccD03-May-20244.2 KiB181138

stmt.hD03-May-20243.2 KiB168102

string_piece.ccD03-May-20246.6 KiB240169

string_piece.hD03-May-20247 KiB225143

string_piece_test.ccD03-May-20241.2 KiB3816

stringprintf.ccD03-May-20241.1 KiB4021

stringprintf.hD03-May-2024771 256

strutil.ccD03-May-202412.9 KiB557479

strutil.goD03-May-20247.8 KiB431374

strutil.hD03-May-20243.5 KiB15092

strutil_bench.ccD03-May-20241.1 KiB4322

strutil_test.ccD03-May-20246.2 KiB219167

strutil_test.goD03-May-20244.5 KiB254231

symtab.ccD03-May-20244.3 KiB191145

symtab.goD03-May-2024985 4323

symtab.hD03-May-20245.3 KiB229157

testutil.hD03-May-20241.4 KiB3920

thread_local.hD03-May-20242.9 KiB9845

thread_pool.ccD03-May-20242 KiB9161

thread_pool.hD03-May-2024961 3614

timeutil.ccD03-May-20241.2 KiB4422

timeutil.hD03-May-2024853 3112

var.ccD03-May-20245.4 KiB231176

var.goD03-May-20248.4 KiB372300

var.hD03-May-20244.1 KiB181113

version.goD03-May-2024646 182

version.hD03-May-2024704 214

version_unknown.ccD03-May-2024665 181

worker.goD03-May-20247.5 KiB369309

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