Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git

Standalone GN

Build Status Build status

This repo contains a standalone version of Chromium's GN build system.

For more information regarding GN itself see here.

Note that this project is work-in-progress and not affliated with Chromium or Google.


With GN installed

gn gen out/Release --args="is_debug=false"

ninja -C out/Release gn

See here for a reference of the most commonly used build args.

To get a list of all possible build args use gn args out/Release --list. Note that currently this emits a long list of Chromium-related args which have no influence on the GN build.

If you intend to work on GN, the output directory should be two levels deep inside the source tree, because the GN tests use hardcoded relative paths (see base/base_paths_*.cc: DIR_SOURCE_ROOT handling)

Without GN


Note: On Windows expects to be run inside a Visual Studio Command Prompt (i.e. vcvarsall has been run).

Comments ( 0 )

Sign in for post a comment


Standalone version of Chromium's GN spread retract


No release




load more
can not load any more