• Home
Name Date Size #Lines LOC

..--

cmd/kati/03-May-2024-322270

make-c/03-May-2024-5941

testcase/03-May-2024-4,4952,884

.gitignoreD03-May-2024231 2120

.travis.ymlD03-May-2024438 2116

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-2024764 267

Makefile.ckatiD03-May-20243.9 KiB13594

Makefile.katiD03-May-20241.3 KiB4221

OWNERSD03-May-202459 43

README.mdD03-May-20241.2 KiB5936

affinity.ccD03-May-20241.9 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

command.ccD03-May-20247 KiB248197

command.hD03-May-20241.2 KiB4926

dep.ccD03-May-202418.7 KiB687581

dep.goD03-May-202414.9 KiB597509

dep.hD03-May-20241.5 KiB6340

depgraph.goD03-May-20245.2 KiB233185

doc.goD03-May-2024778 231

eval.ccD03-May-202410.1 KiB390319

eval.goD03-May-202415.9 KiB728638

eval.hD03-May-20243.4 KiB13384

evalcmd.goD03-May-20247.8 KiB370313

exec.ccD03-May-20244 KiB158123

exec.goD03-May-20244.4 KiB204160

exec.hD03-May-2024795 288

expr.ccD03-May-202413.7 KiB600499

expr.goD03-May-202415.9 KiB768656

expr.hD03-May-20241.8 KiB7643

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 KiB6839

file_cache.hD03-May-20241.1 KiB4217

fileutil.ccD03-May-20244.9 KiB212170

fileutil.goD03-May-20241.4 KiB6343

fileutil.hD03-May-20241.7 KiB6032

fileutil_bench.ccD03-May-20241.3 KiB4424

find.ccD03-May-202428.1 KiB1,075926

find.hD03-May-20241.7 KiB7746

find_test.ccD03-May-20241.3 KiB5129

flags.ccD03-May-20244.8 KiB153126

flags.goD03-May-2024826 3010

flags.hD03-May-20241.6 KiB6543

func.ccD03-May-202423.5 KiB884750

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 KiB4823

loc.hD03-May-2024911 3615

log.ccD03-May-20241.7 KiB6236

log.goD03-May-20241 KiB4019

log.hD03-May-20243.4 KiB9660

m2nD03-May-20242.9 KiB12184

main.ccD03-May-20246.9 KiB266213

make-c.shD03-May-2024772 222

ninja.ccD03-May-202421.6 KiB818674

ninja.goD03-May-202417.7 KiB778669

ninja.hD03-May-20241.2 KiB4419

ninja_test.ccD03-May-202416.7 KiB8049

ninja_test.goD03-May-202419.3 KiB203181

pack.shD03-May-2024831 3010

parser.ccD03-May-202416.5 KiB608512

parser.goD03-May-202417.8 KiB822722

parser.hD03-May-20241.2 KiB4218

pathutil.goD03-May-202420.3 KiB946853

pathutil_test.goD03-May-202423.6 KiB801758

query.goD03-May-20242.2 KiB10075

regen.ccD03-May-202413.4 KiB475406

regen.hD03-May-2024768 256

regen_dump.ccD03-May-20241.6 KiB5829

rule.ccD03-May-20245.4 KiB189149

rule.hD03-May-20241.7 KiB7241

rule_parser.goD03-May-20245.9 KiB268215

rule_parser_test.goD03-May-20244.7 KiB224201

runtest.rbD03-May-202411.1 KiB428353

serialize.goD03-May-202417.5 KiB797714

shellutil.goD03-May-20244.4 KiB233199

shellutil_test.goD03-May-20242.2 KiB10385

stats.ccD03-May-20242 KiB8960

stats.goD03-May-20243.6 KiB201156

stats.hD03-May-20241.4 KiB6234

stmt.ccD03-May-20244.3 KiB169126

stmt.hD03-May-20242.8 KiB162103

string_piece.ccD03-May-20246.7 KiB238167

string_piece.hD03-May-20247 KiB228146

string_piece_test.ccD03-May-20241.2 KiB3816

stringprintf.ccD03-May-20241.1 KiB4021

stringprintf.hD03-May-2024771 256

strutil.ccD03-May-202412.8 KiB561483

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.1 KiB187142

symtab.goD03-May-2024985 4323

symtab.hD03-May-20242.1 KiB10565

testutil.hD03-May-20241.4 KiB3718

thread_local.hD03-May-20242.9 KiB10350

thread_pool.ccD03-May-20242 KiB9363

thread_pool.hD03-May-2024961 3614

timeutil.ccD03-May-20241.2 KiB4523

timeutil.hD03-May-2024853 3112

var.ccD03-May-20243.9 KiB174128

var.goD03-May-20248.4 KiB372300

var.hD03-May-20244.4 KiB211147

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
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