GN is a meta-build system that generates build files for Ninja.
Get started with:
git clone https://gn.googlesource.com/gn cd gn python build/gen.py ninja -C out