Clone this repo:

Branches

  1. 1d7ebc4 Roll GN from 9499562d..5ed3c9cc by Brett Wilson · 2 months ago master
  2. d398000 Roll GN from fd3d768b..9499562d by Andrew Grieve · 3 months ago
  3. 1404d10 Add cxa_thread_atexit.cpp to gn bootstrap libc++abi by Tom Anderson · 3 months ago
  4. 4a8c4dd Fix gn bootstrap build with --use-custom-libcxx by Tom Anderson · 4 months ago
  5. d73a30c gn bootstrap: Allow specifying ninja binary with $NINJA by Michael Forney · 6 months ago

GN now lives at https://gn.googlesource.com/.

To roll the latest version of GN into Chromium:

  1. Create a new Git branch.
  2. Run python tools/gn/roll_gn.py; this will modify //DEPS and //buildtools/DEPS to point to the most recent revision of GN and create a commit with a list of the changes included in the roll.
  3. Run git-cl upload to upload the commit as a change for review.

If you don't want to roll to the latest version, you can specify the SHA-1 to roll to use as an argument to the script, and it will be used instead.