GN is a new meta-build system originally designed to replace GYP in Chromium.
You can build Skia using GN in a limited number of configurations. We expect that as that limited number rises, GN will become the preferred, and then only, way to build Skia.
* Linux, Mac * Software rendering * libskia.a, libskia.so * DM, nanobench
Please check out Skia using the instructions in one of the other quick start guides. We diverge where they'd first run some command with "gyp" in it.
# After gclient sync, run fetch-gn to make sure you have GN. gclient sync && bin/fetch-gn # Run GN to generate your build files. Some examples. gn gen out/Release gn gen out/Debug --args=is_debug=true gn gen out/Clang --args='cc="clang" cxx="clang++"' gn gen out/Shared --args=is_component_build=true # Build ninja -C out/Release ninja -C out/Debug ninja -C out/Clang ninja -C out/Shared
From here everything is pretty much business as usual.