commit | 1ed7e554a62236abf2db492378233f361865ce92 | [log] [tgz] |
---|---|---|
author | lberki <lberki@users.noreply.github.com> | Wed Jun 02 17:47:57 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 02 17:47:57 2021 +0200 |
tree | a5dfffd519b2df4ecf09230d790d4019c03d9c7d | |
parent | 35a9f11de740e620aa24b33b28e30033c7f785eb [diff] | |
parent | 56cd497e1093656b5c7c7895732bff83066c2497 [diff] |
Merge pull request #224 from metti/parser Expression Parser: Retain single '$' signs before terminators
kati is an experimental GNU make clone. The main goal of this tool is to speed-up incremental build of Android.
Currently, kati does not offer a faster build by itself. It instead converts your Makefile to a ninja file.
Building:
$ make ckati
The above command produces a ckati
binary in the project root.
Testing (best ran in a Ubuntu 18.04 environment):
$ make test $ go test --ckati $ go test --ckati --ninja $ go test --ckati --ninja --all
The above commands run all cKati and Ninja tests in the testcases/
directory.
Alternatively, you can also run the tests in a Docker container in a prepared test enviroment:
$ docker build -t kati-test . && docker run kati-test
For Android-N+, ckati and ninja is used automatically. There is a prebuilt checked in under prebuilts/build-tools that is used.
All Android's build commands (m, mmm, mmma, etc.) should just work.