• Home
Name Date Size #Lines LOC

..--

cmd/kati/07-May-2024-322270

make-c/07-May-2024-5941

testcase/07-May-2024-3,6582,452

.gitignoreD07-May-2024207 1918

.travis.ymlD07-May-2024396 1914

AUTHORSD07-May-2024373 1311

Android.bpD07-May-20241.9 KiB8278

CONTRIBUTING.mdD07-May-20242.4 KiB5941

CONTRIBUTORSD07-May-20241.2 KiB3331

INTERNALS.mdD07-May-202421.4 KiB549418

LICENSED07-May-202411.1 KiB203169

MakefileD07-May-2024775 267

Makefile.ckatiD07-May-20243.9 KiB13392

Makefile.katiD07-May-20241.3 KiB4221

README.mdD07-May-20241.2 KiB5936

affinity.ccD07-May-20241.3 KiB5128

affinity.hD07-May-2024728 225

ast.goD07-May-20243.7 KiB179133

bootstrap.goD07-May-20241.5 KiB5435

buf.goD07-May-20244.1 KiB211165

buf_test.goD07-May-20241.5 KiB7052

command.ccD07-May-20247 KiB246196

command.hD07-May-20241.2 KiB4926

dep.ccD07-May-202418.2 KiB673567

dep.goD07-May-202414.9 KiB597509

dep.hD07-May-20241.5 KiB6239

depgraph.goD07-May-20245.2 KiB233185

doc.goD07-May-2024778 231

eval.ccD07-May-20248.2 KiB318256

eval.goD07-May-202415.9 KiB728638

eval.hD07-May-20243.2 KiB12276

evalcmd.goD07-May-20247.8 KiB370313

exec.ccD07-May-20243.9 KiB154119

exec.goD07-May-20244.4 KiB204160

exec.hD07-May-2024795 288

expr.ccD07-May-202413.6 KiB598497

expr.goD07-May-202415.9 KiB768656

expr.hD07-May-20241.8 KiB7643

expr_test.goD07-May-20245.4 KiB309292

file.ccD07-May-20241.5 KiB6237

file.hD07-May-20241.2 KiB4924

file_cache.ccD07-May-20241.7 KiB6839

file_cache.hD07-May-20241.1 KiB4217

fileutil.ccD07-May-20244.5 KiB203162

fileutil.goD07-May-20241.4 KiB6343

fileutil.hD07-May-20241.3 KiB5024

find.ccD07-May-202425 KiB976836

find.hD07-May-20241.6 KiB7544

find_test.ccD07-May-20241.3 KiB5129

flags.ccD07-May-20244.2 KiB134108

flags.goD07-May-2024826 3010

flags.hD07-May-20241.5 KiB6038

func.ccD07-May-202420.2 KiB755641

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

func.hD07-May-20241.2 KiB5326

func_test.goD07-May-20241.7 KiB7758

io.ccD07-May-20241.2 KiB5028

io.hD07-May-20241 KiB4823

loc.hD07-May-2024911 3615

log.ccD07-May-2024688 213

log.goD07-May-20241 KiB4019

log.hD07-May-20242.7 KiB7747

m2nD07-May-20242.9 KiB12184

main.ccD07-May-20246.7 KiB261208

make-c.shD07-May-2024772 222

ninja.ccD07-May-202421.3 KiB806654

ninja.goD07-May-202417.7 KiB778669

ninja.hD07-May-20241.2 KiB4419

ninja_test.ccD07-May-202416.7 KiB8049

ninja_test.goD07-May-202419.3 KiB203181

pack.shD07-May-2024831 3010

parser.ccD07-May-202416 KiB592497

parser.goD07-May-202417.8 KiB822722

parser.hD07-May-20241.2 KiB4218

pathutil.goD07-May-202420.3 KiB946853

pathutil_test.goD07-May-202423.6 KiB801758

query.goD07-May-20242.2 KiB10075

regen.ccD07-May-202411.6 KiB411350

regen.hD07-May-2024768 256

rule.ccD07-May-20244.9 KiB174137

rule.hD07-May-20241.5 KiB6638

rule_parser.goD07-May-20245.9 KiB268215

rule_parser_test.goD07-May-20244.7 KiB224201

runtest.rbD07-May-202410.5 KiB404337

serialize.goD07-May-202417.5 KiB797714

shellutil.goD07-May-20244.4 KiB233199

shellutil_test.goD07-May-20242.2 KiB10385

stats.ccD07-May-20242 KiB8960

stats.goD07-May-20243.6 KiB201156

stats.hD07-May-20241.4 KiB6234

stmt.ccD07-May-20244.3 KiB169126

stmt.hD07-May-20242.8 KiB162103

string_piece.ccD07-May-20246.7 KiB238167

string_piece.hD07-May-20247 KiB228146

string_piece_test.ccD07-May-20241.2 KiB3816

stringprintf.ccD07-May-20241.1 KiB4021

stringprintf.hD07-May-2024771 256

strutil.ccD07-May-202412.9 KiB587512

strutil.goD07-May-20247.8 KiB431374

strutil.hD07-May-20243.4 KiB14891

strutil_bench.ccD07-May-20241.1 KiB4122

strutil_test.ccD07-May-20244.4 KiB155119

strutil_test.goD07-May-20244.5 KiB254231

symtab.ccD07-May-20243.7 KiB173128

symtab.goD07-May-2024985 4323

symtab.hD07-May-20242 KiB10565

testutil.hD07-May-20241.4 KiB3718

thread_local.hD07-May-20242.9 KiB10350

thread_pool.ccD07-May-20242 KiB9163

thread_pool.hD07-May-2024961 3614

timeutil.ccD07-May-20241.2 KiB4523

timeutil.hD07-May-2024853 3112

var.ccD07-May-20243.7 KiB169123

var.goD07-May-20248.4 KiB372300

var.hD07-May-20244.3 KiB205143

version.goD07-May-2024646 182

version.hD07-May-2024704 214

version_unknown.ccD07-May-2024665 181

worker.goD07-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
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