Clone this repo:

Branches

  1. 551ad82 gn: Fix bootstrap after https://crrev.com/c/4666325 by Raphael Kubo da Costa · 6 weeks ago main
  2. cfae9de gn bootstrap: Adjust libc++.ninja after https://crrev.com/c/4654390 by Raphael Kubo da Costa · 3 months ago
  3. 08464ef gn bootstrap: Update libc++.ninja after https://crrev.com/c/4475054 by Raphael Kubo da Costa · 5 months ago
  4. 67c42e1 Update gn bootstrap for latest libc++ by Lei Zhang · 7 months ago
  5. ffb7a1e gn bootstrap: Use python3 in the shebang line. by Raphael Kubo da Costa · 8 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.