Clone this repo:

Branches

  1. 58a1a87 Mostly delete roll_gn.py by Nico Weber · 1 year, 2 months ago main master
  2. 47713bd Fix GN bootstrap to build with latest libc++abi changes by Tom Anderson · 1 year, 3 months ago
  3. 7c0f617 Update gn bootstrap to build with latest libc++ roll by Tom Anderson · 1 year, 3 months ago
  4. 43833c8 remove copybara initialization artifacts by Brett Wilson · 1 year, 9 months ago
  5. e3bb9e8 Copybara Service Migration Initialization. by Brett Wilson · 1 year, 9 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.