IT lexicon › Programming › GN

GN

Programming På svenska → Updated: 2026-11-13

Google's metabuild tool that generates Ninja build files.

GN (Generate Ninja) is a configuration language developed by Google to generate Ninja build files. It originated in the Chromium project to manage increasingly complex compilation and replaced earlier metabuild tools. GN offers a two-stage process: you define your build configuration in `.gn` files, then GN generates the low-level Ninja instructions that actually run compilation. This makes build configuration more readable than raw Ninja syntax.

← Back to the lexicon