• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cmd/kati/22-Nov-2023-322270

make-c/22-Nov-2023-5941

testcase/22-Nov-2023-3,6582,452

.gitD01-Jan-19700

.gitignoreD22-Nov-2023207 1918

.travis.ymlD22-Nov-2023396 1914

AUTHORSD22-Nov-2023373 1311

Android.bpD22-Nov-20231.9 KiB8278

CONTRIBUTING.mdD22-Nov-20232.4 KiB5941

CONTRIBUTORSD22-Nov-20231.2 KiB3331

INTERNALS.mdD22-Nov-202321.4 KiB549418

LICENSED22-Nov-202311.1 KiB203169

MakefileD22-Nov-2023775 267

Makefile.ckatiD22-Nov-20233.9 KiB13392

Makefile.katiD22-Nov-20231.3 KiB4221

README.mdD22-Nov-20231.2 KiB5936

affinity.ccD22-Nov-20231.3 KiB5128

affinity.hD22-Nov-2023728 225

ast.goD22-Nov-20233.7 KiB179133

bootstrap.goD22-Nov-20231.5 KiB5435

buf.goD22-Nov-20234.1 KiB211165

buf_test.goD22-Nov-20231.5 KiB7052

command.ccD22-Nov-20237 KiB246196

command.hD22-Nov-20231.2 KiB4926

dep.ccD22-Nov-202318.2 KiB673567

dep.goD22-Nov-202314.9 KiB597509

dep.hD22-Nov-20231.5 KiB6239

depgraph.goD22-Nov-20235.2 KiB233185

doc.goD22-Nov-2023778 231

eval.ccD22-Nov-20238.2 KiB318256

eval.goD22-Nov-202315.9 KiB728638

eval.hD22-Nov-20233.2 KiB12276

evalcmd.goD22-Nov-20237.8 KiB370313

exec.ccD22-Nov-20233.9 KiB154119

exec.goD22-Nov-20234.4 KiB204160

exec.hD22-Nov-2023795 288

expr.ccD22-Nov-202313.6 KiB598497

expr.goD22-Nov-202315.9 KiB768656

expr.hD22-Nov-20231.8 KiB7643

expr_test.goD22-Nov-20235.4 KiB309292

file.ccD22-Nov-20231.5 KiB6237

file.hD22-Nov-20231.2 KiB4924

file_cache.ccD22-Nov-20231.7 KiB6839

file_cache.hD22-Nov-20231.1 KiB4217

fileutil.ccD22-Nov-20234.5 KiB203162

fileutil.goD22-Nov-20231.4 KiB6343

fileutil.hD22-Nov-20231.3 KiB5024

find.ccD22-Nov-202325 KiB976836

find.hD22-Nov-20231.6 KiB7544

find_test.ccD22-Nov-20231.3 KiB5129

flags.ccD22-Nov-20234.2 KiB134108

flags.goD22-Nov-2023826 3010

flags.hD22-Nov-20231.5 KiB6038

func.ccD22-Nov-202320.2 KiB755641

func.goD22-Nov-202332.5 KiB1,4651,288

func.hD22-Nov-20231.2 KiB5326

func_test.goD22-Nov-20231.7 KiB7758

io.ccD22-Nov-20231.2 KiB5028

io.hD22-Nov-20231 KiB4823

loc.hD22-Nov-2023911 3615

log.ccD22-Nov-2023688 213

log.goD22-Nov-20231 KiB4019

log.hD22-Nov-20232.7 KiB7747

m2nD22-Nov-20232.9 KiB12184

main.ccD22-Nov-20236.7 KiB261208

make-c.shD22-Nov-2023772 222

ninja.ccD22-Nov-202321.3 KiB806654

ninja.goD22-Nov-202317.7 KiB778669

ninja.hD22-Nov-20231.2 KiB4419

ninja_test.ccD22-Nov-202316.7 KiB8049

ninja_test.goD22-Nov-202319.3 KiB203181

pack.shD22-Nov-2023831 3010

parser.ccD22-Nov-202316 KiB592497

parser.goD22-Nov-202317.8 KiB822722

parser.hD22-Nov-20231.2 KiB4218

pathutil.goD22-Nov-202320.3 KiB946853

pathutil_test.goD22-Nov-202323.6 KiB801758

query.goD22-Nov-20232.2 KiB10075

regen.ccD22-Nov-202311.6 KiB411350

regen.hD22-Nov-2023768 256

rule.ccD22-Nov-20234.9 KiB174137

rule.hD22-Nov-20231.5 KiB6638

rule_parser.goD22-Nov-20235.9 KiB268215

rule_parser_test.goD22-Nov-20234.7 KiB224201

runtest.rbD22-Nov-202310.5 KiB404337

serialize.goD22-Nov-202317.5 KiB797714

shellutil.goD22-Nov-20234.4 KiB233199

shellutil_test.goD22-Nov-20232.2 KiB10385

stats.ccD22-Nov-20232 KiB8960

stats.goD22-Nov-20233.6 KiB201156

stats.hD22-Nov-20231.4 KiB6234

stmt.ccD22-Nov-20234.3 KiB169126

stmt.hD22-Nov-20232.8 KiB162103

string_piece.ccD22-Nov-20236.7 KiB238167

string_piece.hD22-Nov-20237 KiB228146

string_piece_test.ccD22-Nov-20231.2 KiB3816

stringprintf.ccD22-Nov-20231.1 KiB4021

stringprintf.hD22-Nov-2023771 256

strutil.ccD22-Nov-202312.9 KiB587512

strutil.goD22-Nov-20237.8 KiB431374

strutil.hD22-Nov-20233.4 KiB14891

strutil_bench.ccD22-Nov-20231.1 KiB4122

strutil_test.ccD22-Nov-20234.4 KiB155119

strutil_test.goD22-Nov-20234.5 KiB254231

symtab.ccD22-Nov-20233.7 KiB173128

symtab.goD22-Nov-2023985 4323

symtab.hD22-Nov-20232 KiB10565

testutil.hD22-Nov-20231.4 KiB3718

thread_local.hD22-Nov-20232.9 KiB10350

thread_pool.ccD22-Nov-20232 KiB9163

thread_pool.hD22-Nov-2023961 3614

timeutil.ccD22-Nov-20231.2 KiB4523

timeutil.hD22-Nov-2023853 3112

var.ccD22-Nov-20233.7 KiB169123

var.goD22-Nov-20238.4 KiB372300

var.hD22-Nov-20234.3 KiB205143

version.goD22-Nov-2023646 182

version.hD22-Nov-2023704 214

version_unknown.ccD22-Nov-2023665 181

worker.goD22-Nov-20237.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