Clone this repo:

Branches

  1. e8504ea gn bootstrap: Don't pass removed dupbuild ninja option by Max Ihlenfeldt · 7 months ago main
  2. c983acf libc++: Stop adding legacy debug files when enable_iterator_debugging=true by Raphael Kubo da Costa · 1 year, 2 months ago
  3. 551ad82 gn: Fix bootstrap after https://crrev.com/c/4666325 by Raphael Kubo da Costa · 1 year, 3 months ago
  4. cfae9de gn bootstrap: Adjust libc++.ninja after https://crrev.com/c/4654390 by Raphael Kubo da Costa · 1 year, 5 months ago
  5. 08464ef gn bootstrap: Update libc++.ninja after https://crrev.com/c/4475054 by Raphael Kubo da Costa · 1 year, 7 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.