no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / build / docs / gn.rst
blob2a8c769130b4b416d145ba0b99b3058ed1dda6d8
1 .. _gn:
3 ==============================
4 GN support in the build system
5 ==============================
7 :abbr:`GN (Generated Ninja)` is a third-party build tool used by chromium and
8 some related projects that are vendored in mozilla-central. Rather than
9 requiring ``GN`` to build or writing our own build definitions for these projects,
10 we have support in the build system for translating GN configuration
11 files into moz.build files. In most cases these moz.build files will be like any
12 others in the tree (except that they shouldn't be modified by hand), however
13 those updating vendored code or building on platforms not supported by
14 Mozilla automation may need to re-generate these files. This is a per-project
15 process, described in dom/media/webrtc/third_party_build/gn-configs/README.md for
16 webrtc. As of writing, it is very specific to webrtc, and likely doesn't work as-is
17 for other projects.