Ninja is a small build system with a focus on speed.
I have the following CMAKE & Ninja installed through Android Studio's SDK Tools: ~/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja --version 1.8.2 …
android android-studio cmake android-ndk ninja