Clone this repo:

Branches

  1. c983acf libc++: Stop adding legacy debug files when enable_iterator_debugging=true by Raphael Kubo da Costa · 6 months ago main
  2. 551ad82 gn: Fix bootstrap after https://crrev.com/c/4666325 by Raphael Kubo da Costa · 8 months ago
  3. cfae9de gn bootstrap: Adjust libc++.ninja after https://crrev.com/c/4654390 by Raphael Kubo da Costa · 10 months ago
  4. 08464ef gn bootstrap: Update libc++.ninja after https://crrev.com/c/4475054 by Raphael Kubo da Costa · 12 months ago
  5. 67c42e1 Update gn bootstrap for latest libc++ by Lei Zhang · 1 year, 1 month 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.