)]}'
{
  "log": [
    {
      "commit": "ef1767f39033dce6b5c5bdc337dde48942eebcf4",
      "tree": "e76dcf975b31ccfeb6a73977e0539e5ef236bd29",
      "parents": [
        "d619299a07e39eb599bdf68ceeaf1a165e8e190c"
      ],
      "author": {
        "name": "Ho Cheung",
        "email": "hocheung@chromium.org",
        "time": "Thu Nov 19 10:54:53 2026 +0800"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 19 23:26:53 2026 -0800"
      },
      "message": "Fix Python path handling across Windows drives\n\nCheck whether the rebased interpreter path is absolute before marking\nit as relative, avoiding an incorrect build directory prefix.\n\nAdd tests for build directories outside the source tree on the same\ndrive and on a different drive.\n\nBug: 587455002\nChange-Id: Id85bda13f59b86070a9e4396bc35a31102394e63\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29180\nReviewed-by: Andrew Grieve \u003cagrieve@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "d619299a07e39eb599bdf68ceeaf1a165e8e190c",
      "tree": "94703f3ff786cca27a3115df673c5d6958373999",
      "parents": [
        "f126a26ef94d5c4620d0e7d06e2390bc621d846a"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Nov 20 13:06:22 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 19 18:19:39 2026 -0800"
      },
      "message": "Add myself to GN owners\n\nI\u0027ve submitted 284 CLs to GN over the last year.\n\nChange-Id: Ic7fbc4cc40a88b881e07fb924d96982b6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29261\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Philipp Wollermann \u003cphilwo@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f126a26ef94d5c4620d0e7d06e2390bc621d846a",
      "tree": "16ebb4f20ec07a63ccbc1c81ebcc26cd0694f396",
      "parents": [
        "e43179917a19b41f20c438f495408668f23a24f5"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Wed Nov 18 00:01:09 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 23:09:16 2026 -0800"
      },
      "message": "Remove undefined declarations in src/gn headers\n\nDelete 17 method and symbol declarations across 12 headers in src/gn/ that have no corresponding definitions anywhere in the codebase.\n\nChange-Id: I09401b545fc561a0bfa30997951df4f0a1b1a2e9\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29101\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "e43179917a19b41f20c438f495408668f23a24f5",
      "tree": "96dc1927f998201c86415ca615f3220dcb4fc998",
      "parents": [
        "6a4cea8de5026cbb3394dd8922e1fc6a10359f3b"
      ],
      "author": {
        "name": "Henrique Ferreiro",
        "email": "hferreiro@igalia.com",
        "time": "Thu Nov 12 21:49:27 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 19:37:22 2026 -0800"
      },
      "message": "Move inactive owners to last resort\n\nChange-Id: Ia681e2d912b262c464c3b076ad8d56d255d8df7a\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28880\nReviewed-by: Dirk Pranke \u003cdpranke@chromium.org\u003e\nReviewed-by: Andrew Grieve \u003cagrieve@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "6a4cea8de5026cbb3394dd8922e1fc6a10359f3b",
      "tree": "46938a5c0a6103c560621cf02ee5043efc41396a",
      "parents": [
        "cf3236d32b53df18d2b2da8c57814b8d2713c03c"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Nov 17 18:26:58 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 19:36:53 2026 -0800"
      },
      "message": "Fix release stripping and test_with_scope target\n\n--no-strip uses action\u003d\u0027store_true\u0027, so options.no_strip defaults to\nFalse rather than None and `if options.no_strip is None:` never\ntriggered release stripping. Check `if not options.no_strip:` instead.\n\nAlso move test_with_scope.cc from gn_lib to gn_unittests, and remove\nleftover fmt_opts variables in tools/run_formatter.sh.\n\nChange-Id: I2f5aedb72609191cdee1dba226e3824aab2b98f5\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29062\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "cf3236d32b53df18d2b2da8c57814b8d2713c03c",
      "tree": "ca03e7c7c5c508cee9679f24efbc8d76636ed73b",
      "parents": [
        "770307d637340c01859f4dc206a8fe35cefe0668"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Tue Nov 17 14:39:44 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 12:04:04 2026 -0800"
      },
      "message": "Add dep_keys to generated_file()\n\nCollecting the outputs of build steps into a generated_file() currently\nrequires the generated_file() to depend on everything that it walks, so\nthat the collected files exist before its consumers run. With walk_deps,\nthe walked targets are no longer dependencies at all, and nothing orders\nthe build steps that produce the collected files before the consumers.\n\nThis adds a dep_keys variable to generated_file(): metadata keys whose\nvalues are labels of the walked target itself or of its direct deps\n(resolved like walk_keys). The resulting targets become dependencies of\nthe generated_file()\u0027s Ninja build statement, in addition to its deps\nand data_deps. This allows depending on only the subset of walked\ntargets that produce the collected data.\n\nAny dependency cycles created via dep_keys (when combined with\nwalk_deps or validations) are detected by Ninja rather than during\n\"gn gen\". No visibility, testonly, or assert_no_deps checks are done\nfor collected targets, since they are found through targets that\nalready depend on them.\n\nThe motivating use case is Chromium\u0027s JNI Zero, whose final\nregistration step re-parses every .java file because it cannot depend\non the .jni.pickle outputs of per-library steps without depending on\nall native libraries and on the APK that depends on it.\n\nBug: 579603584\nChange-Id: I51dd90c8d1b7e382dd7d4266f39fa80c849dcd68\nAgent-Generated: true\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28722\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\n"
    },
    {
      "commit": "770307d637340c01859f4dc206a8fe35cefe0668",
      "tree": "c8ca4d8a5324622fded625169b07269761f50c5a",
      "parents": [
        "dcccc7fdeacbe346bcd9742a9d2b7ee51ae97011"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Nov 17 23:39:34 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 06:56:14 2026 -0800"
      },
      "message": "Avoid temporary allocations in Scope and Template\n\n- Use transparent comparison (std::less\u003c\u003e) and .contains() for\n  Scope::MergeOptions::excluded_values and Scope::MarkAllUsed() so\n  std::string_view lookups do not heap-allocate temporary std::strings.\n- Replace the two-pass vector removal in\n  Scope::RemovePrivateIdentifiers() with C++20 std::erase_if().\n- Move invocation_scope directly into Template::Invoke()\u0027s SetValue()\n  call instead of inserting a dummy Value and looking it up again, and\n  drop the duplicate set_source_dir() call.\n\nBug: None\nTest: gn_unittests --gtest_filter\u003dScope.*:Template.*:FunctionForward*\nChange-Id: I7adcf86d5e507902d3d5f572f078757ccfd7d857\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29042\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "dcccc7fdeacbe346bcd9742a9d2b7ee51ae97011",
      "tree": "31e2e116cb9a252c0a496b950b89766aa4e81446",
      "parents": [
        "5b35bc8308b1ef41bdc95549b5e2063e3ce03555"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Nov 17 22:09:09 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 17 06:34:22 2026 -0800"
      },
      "message": "Remove 15 unreferenced files in base and build\n\nDelete orphaned Chromium base files and build/full_test.py that are\nneither compiled in build/gen.py nor included anywhere in the codebase,\nalong with base/memory/weak_ptr.{h,cc} which has zero callers.\n\nChange-Id: I4531927287329a48db7a4c6d9203b94882e3c095\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29100\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "5b35bc8308b1ef41bdc95549b5e2063e3ce03555",
      "tree": "d9bb577b497b0f10c6bf2611212d96b9bf838806",
      "parents": [
        "d19c92d7aa682f09312cd7ce25faaff5e153bc93"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Mon Nov 16 12:11:54 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Nov 16 09:53:04 2026 -0800"
      },
      "message": "Allow script_executable in .gn to be a list of strings\n\nAllow script_executable in .gn to be specified as a list of strings\nwhere the first element is the interpreter path and subsequent elements\nare arguments passed to the interpreter before the script path (e.g.\n[\"python3\", \"-S\"]).\n\nBug: 584439163\nAgent-Generated: true\nChange-Id: Ia99ff419caa52041bd05075dc18f9973799a7116\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28620\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\n"
    },
    {
      "commit": "d19c92d7aa682f09312cd7ce25faaff5e153bc93",
      "tree": "2e1fa2c827686f9d00fc53d7f11100c585383e18",
      "parents": [
        "bc823cc7c3744d454b30fdadb5e8b7000ea69171"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Tue Nov 10 13:05:56 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Nov 16 08:09:37 2026 -0800"
      },
      "message": "Add walk_deps to generated_file()\n\ngenerated_file() currently uses deps and data_deps for two things: as\nthe roots of the metadata walk, and as dependencies of its Ninja build\nstatement. This makes it impossible to collect metadata by walking a\nlarge graph without either:\n1) Making consumers wait for everything that was walked (e.g. waiting\n   for all C++ compiles in order to list the shared libraries of an\n   APK), or\n2) Creating a dependency cycle (e.g. when walking an APK target that\n   itself depends on the consumer of the generated file).\n\nThis adds a walk_deps variable to generated_file(): additional roots\nfor the metadata walk that are not dependencies, and which may form\ncycles with deps. They are tracked by the Builder like validations\n(resolve once defined, finalize once resolved), and targets that use\nthem are written after all targets are resolved, like those that set\ncollect_validations_metadata. The set of delayed targets is unchanged\nfor builds that do not use walk_deps.\n\nLike deps, walk_deps are subject to visibility and testonly checks.\n\nThe top-level generated_file() is now marked as walked before its walk\nstarts, so its own metadata is never collected, even when the walk leads\nback to it (through walk_deps, or through validations when\ncollect_validations_metadata is true).\n\n\"gn analyze\" treats a generated_file() as affected by the targets\nlisted in its walk_deps, without treating those targets as being built\nby it. \"gn refs\" lists generated_file() targets as references to their\nwalk_deps.\n\nA follow-up adds dep_keys, which allows depending on only the subset of\nwalked targets that produce the collected data.\n\nBug: 579603584\nChange-Id: Ib823a15c08ad8e2c98d0a350749f5ac035b6b7bd\nAgent-Generated: true\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28240\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "bc823cc7c3744d454b30fdadb5e8b7000ea69171",
      "tree": "49472b4d8e4ee362f6350b9bd9021be70706066f",
      "parents": [
        "c586750ed7467f618b7d5b07bdb1a6e177bd218b"
      ],
      "author": {
        "name": "Henrique Ferreiro",
        "email": "hferreiro@igalia.com",
        "time": "Wed Nov 11 15:14:39 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Nov 16 01:58:31 2026 -0800"
      },
      "message": "Don\u0027t pass diagnostic switches to the regeneration command\n\nThe regeneration command copied every switch of the first gn gen except\na few, so --time, --tracelog and -v applied to every rerun by Ninja:\neach one printed timings or verbose logs, or wrote a trace. They\u0027re\nmeant for the run they were passed to, so skip them.\n\nWhich switches regeneration keeps wasn\u0027t documented, so describe it in\n\"gn help gen\".\n\nAdd base::test::ScopedCommandLine from Chromium for the test, and use\nit in setup_unittest.cc instead of a similar class.\n\nChange-Id: If56a4e02a5095c6f039d4a7f7741822eaeb2ad35\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28640\nReviewed-by: Sylvain Defresne \u003csdefresne@chromium.org\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Sylvain Defresne \u003csdefresne@chromium.org\u003e\n"
    },
    {
      "commit": "c586750ed7467f618b7d5b07bdb1a6e177bd218b",
      "tree": "3396acf90b73310eb9509e08aea8883d60a9a5ac",
      "parents": [
        "ddc6c4ae595393d43b38e62f2e2baa7661af716f"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Nov 11 16:52:09 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Sun Nov 15 19:48:30 2026 -0800"
      },
      "message": "Check headers as well as sources for generated files.\n\nPreviously, gn only required that your dependencies generate any\nrequired generated files used in your sources. Now they also require\nthat your dependencies generate any required header files.\n\nBug: 556959580\nChange-Id: I5181217b94e6eca50a1ffee43d6ca1a56a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28781\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "ddc6c4ae595393d43b38e62f2e2baa7661af716f",
      "tree": "b27b25ca741d754e4759fa74be4ccd6ca275d641",
      "parents": [
        "f4c9d7267e593bd92a3f01a3c55fc260dac0552f"
      ],
      "author": {
        "name": "Roland McGrath",
        "email": "mcgrathr@google.com",
        "time": "Tue Nov 10 15:42:20 2026 -0800"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Fri Nov 13 18:14:21 2026 -0800"
      },
      "message": "rust: Treat config inputs as implicit rebuild deps\n\nNinjaRustBinaryTargetWriter previously placed the result of\nWriteInputsStampOrPhonyAndGetDep() into order-only dependencies (\"||\")\nwhile only adding target_-\u003econfig_values().inputs() to implicit\ndependencies (\"|\") and to the `sources` Ninja variable (\"{{sources}}\").\nAs a result, `inputs` specified on `config()` definitions (via\n`configs`, `public_configs`, `all_dependent_configs`, or sub-configs)\nwere omitted from `sources` and treated only as order-only dependencies,\nso changes to config inputs such as custom `rustc --target` JSON specs\nfailed to trigger incremental rebuilds (see https://fxrev.dev/1967814).\n\nRefactor NinjaBinaryTargetWriter to share input and dependency\ncollection cleanly between NinjaCBinaryTargetWriter and\nNinjaRustBinaryTargetWriter:\n- Extract GetInputs() using UniqueVector\u003cSourceFile\u003e so duplicate\n  SourceFile entries across targets and configs are deduplicated by\n  value rather than element pointer address, and share it with\n  NinjaRustBinaryTargetWriter::WriteSourcesAndInputs().\n- Extract WriteCompilerInputDeps(num_output_uses) combining implicit\n  `inputs`, `public_inputs`, and toolchain `deps` with order-only\n  upstream hard dependencies.\n- Pass num_output_uses \u003d 1 in NinjaRustBinaryTargetWriter::Run() since\n  Rust compiles a crate in a single build statement, avoiding redundant\n  per-target `.inputs` / `.inputdeps` phony or stamp rules.\n- Deduplicate `order_only_deps` with UniqueVector\u003cOutputFile\u003e and drop\n  the duplicate tool_-\u003einputs_phony_or_file() addition already handled\n  by WriteCompilerBuildLine().\n\nChange-Id: I89c123308a0c7f8f2f6844cc50a2dce0a0214cba\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28740\nCommit-Queue: Petr Hosek \u003cphosek@google.com\u003e\nReviewed-by: Petr Hosek \u003cphosek@google.com\u003e\nReviewed-by: Aaron Wood \u003caaronwood@google.com\u003e\n"
    },
    {
      "commit": "f4c9d7267e593bd92a3f01a3c55fc260dac0552f",
      "tree": "e705b512ac0cee4a94f7a1bca89427d0349fd3ab",
      "parents": [
        "311003f8ea3500f8ce87c43ff61aec6f4066dac2"
      ],
      "author": {
        "name": "Henrique Ferreiro",
        "email": "hferreiro@igalia.com",
        "time": "Thu Nov 12 14:34:35 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Fri Nov 13 09:03:01 2026 -0800"
      },
      "message": "Report programs that can\u0027t be started\n\nOn POSIX, ExecProcess() forks and calls execvp() in the child, which\nexits with 127 when that fails. So a program that couldn\u0027t be started\nlooked like one that ran and failed: a missing ninja was reported as\n\"Ninja has quit with exit code 127\", without naming it, and a missing\nexec_script() interpreter as a script that returned a non-zero exit\ncode.\n\nHave the child send the error of execvp(), or of its setup before it,\nthrough a pipe that\u0027s closed when the program starts. Also, return why\nthe program couldn\u0027t be started in std_err, and show it in the errors.\n\nA program killed by a signal also made ExecProcess() return false, which\ncallers reported as a program that couldn\u0027t be executed. Report it as\nexiting with 128 plus the signal instead, like shells do.\n\nWhen exec_script() couldn\u0027t run its command, the error always said it\nwas trying to execute the interpreter. Show the program that was\nactually run, and say whether it was the interpreter or the script.\n\nChange-Id: I878e9afa1e03b340c0623d416c814ae7a30035f5\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28641\nReviewed-by: Andrew Grieve \u003cagrieve@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "311003f8ea3500f8ce87c43ff61aec6f4066dac2",
      "tree": "3f4bf28c433d92b5551a07dfa7c6a91c26a38b7b",
      "parents": [
        "f6f1eef732289d03041898ea3876aa76d7aba2ff"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Nov 11 16:51:41 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 12 15:17:23 2026 -0800"
      },
      "message": "Group missing generated input errors by target and improve error messages.\n\nGenerated-input validation previously grouped errors by generated file,\nwhich is inconsistent with the rest of GN.\n\nGrouping it by target also allows us to output error messages containing\nsuggested fixes.\n\nBug: 556959580\nChange-Id: Ie0625e6b8ac9c2c4926c3c878daf0f9e6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28780\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "f6f1eef732289d03041898ea3876aa76d7aba2ff",
      "tree": "1e03bdf8eb9c4b138ebc080c34ea073929a6026a",
      "parents": [
        "9a90e2eb62953f8bcd930724b26746e83f7ec490"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Tue Nov 10 13:05:44 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 12 12:00:35 2026 -0800"
      },
      "message": "Fix infinite recursion in \"gn refs --tree --all\"\n\nWith --all, no set of seen targets was used, so the recursion never\nterminated when there was a reference cycle. Such cycles are possible\nthrough validations (e.g. A validates B, and B depends on A), which made\nthe command crash with a stack overflow.\n\nTrack the targets that are currently being recursed into, so that cycles\nare elided with \"...\" while all other references are still printed in\nfull.\n\nBug: 579603584\nChange-Id: I794c72d0a4bb734396060734360c1e9074c62e28\nAgent-Generated: true\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28721\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\n"
    },
    {
      "commit": "9a90e2eb62953f8bcd930724b26746e83f7ec490",
      "tree": "256d84d8d233fe09317e2a15b198b982bbb503a5",
      "parents": [
        "2f5f34aced5f9721cda3eef963f4f7d231a0ae99"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Tue Nov 10 13:05:31 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 12 11:49:18 2026 -0800"
      },
      "message": "Factor out helpers for generated_file() variables\n\nNo behavior change. Removes duplicated code in preparation for adding\nmore generated_file() variables:\n- MetadataWalker::ResolveDepLabel() resolves a label found in metadata to\n  a dependency of the target that declares it. It replaces the two\n  copies of the lookup (deps and validations) used for walk_keys.\n- GeneratedFileTargetGenerator::FillKeys() reads a list of strings, and\n  is used by data_keys and walk_keys.\n- TargetDescBuilder::RenderLabels() renders a sorted list of labels, and\n  is used by gen_deps and validations.\n\nBug: 579603584\nChange-Id: I290f73af4abc37d9436c4307f4afa44d5f3e1e99\nAgent-Generated: true\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28720\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "2f5f34aced5f9721cda3eef963f4f7d231a0ae99",
      "tree": "5805ad0dd0fffa6d6e46ae5f97d4924d0840751e",
      "parents": [
        "7015f8e0e533b406919ad5b6edf5ec3605d605f1"
      ],
      "author": {
        "name": "Andrew Grieve",
        "email": "agrieve@google.com",
        "time": "Tue Nov 10 13:05:03 2026 -0500"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 12 02:39:38 2026 -0800"
      },
      "message": "Delay the whole Ninja writer of delayed generated_file() targets\n\ngenerated_file() targets that set collect_validations_metadata must run\ntheir metadata walk after all targets are resolved. This was done by\nhaving NinjaGeneratedFileTargetWriter report through an out-param that\nit skipped writing the file, and then writing only the file from the\npost-resolution callback.\n\nInstead, decide whether a target is delayed in\nItemResolvedAndGeneratedCallback() (which runs on the main thread), and\nrun the regular BackgroundDoWrite() for delayed targets from the\npost-resolution callback. This removes the delayed_generated_file_write\nout-param from NinjaTargetWriter::RunAndWriteFile() and\nNinjaGeneratedFileTargetWriter.\n\nThe set of delayed targets and the generated files are unchanged. This\nis in preparation for letting the Ninja build statement of a\ngenerated_file() depend on the result of its metadata walk.\n\nBug: 579603584\nChange-Id: I5f5f0940dba3c5d2e0a719dfd3d79b2e95fbd7a3\nAgent-Generated: true\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28700\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "7015f8e0e533b406919ad5b6edf5ec3605d605f1",
      "tree": "e3ea5707236b683c6f9d707a768041de2728eae6",
      "parents": [
        "24d41137fac7ea2828590181ebd8284fe7437253"
      ],
      "author": {
        "name": "Ryosuke Miyake",
        "email": "rysk@google.com",
        "time": "Wed Nov 11 17:08:42 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 12 00:01:48 2026 -0800"
      },
      "message": "Add TODO to check transitive deps by default in gn check\n\nFollow-up to https://gn-review.googlesource.com/c/gn/+/27840.\n\nBug: 584730525\nChange-Id: Ic24691b176b659b08be0281a94ba7d4d73ae8c8c\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28800\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Ryosuke Miyake \u003crysk@google.com\u003e\n"
    },
    {
      "commit": "24d41137fac7ea2828590181ebd8284fe7437253",
      "tree": "cc7ffb224615dac420b495b0b56cfb28d5eff30e",
      "parents": [
        "819c1fd4c24ea59c1af6a205a5c82944c6fc96cd"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Nov 12 12:06:19 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Nov 11 20:09:38 2026 -0800"
      },
      "message": "Create a function to calculate relative labels.\n\nThis can be used wherever we need to calculate `gn edit` commands.\n\nChange-Id: If7f23ca125bb46bbd9a3e7aeb623043c6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28820\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "819c1fd4c24ea59c1af6a205a5c82944c6fc96cd",
      "tree": "245024da884dfb185d05fbe1a397185e2c312eee",
      "parents": [
        "74c32399b100531b22184bd6ac38c4b26bc86ca5"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Mon Sep 21 11:34:28 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Nov 11 17:22:18 2026 -0800"
      },
      "message": "Header check: wait for chunked work with std::latch\n\nDoWorkChunked posts a known number of chunks to the worker pool, so a\nstd::latch initialized with the chunk count replaces the AtomicRefCount,\nmutex, and condition variable that tracked completion. This removes the\nextra reference held while posting and the lock held across the\ndecrement, both of which only existed to keep the completion state alive\nuntil the last notification finished.\n\nstd::latch::count_down only touches the latch address after the final\ndecrement, so destroying the latch as soon as wait() returns is safe.\nAll supported toolchains build GN as C++23 with a macOS minimum of 14,\nwhere std::latch is available.\n\nFollows up on a suggestion by msta@ on my earlier CL 26341. gn_unittests\nand the simple integration test pass, no measurable performance impact.\n\nChange-Id: I355fcb0c57716d3a66e79f3268886714c2aeef54\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26640\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "74c32399b100531b22184bd6ac38c4b26bc86ca5",
      "tree": "da883fccca7c6d9a5210ecfee0eadca54cbad898",
      "parents": [
        "98fe95227d9fe45bf8efe3acdb48cf7181e9ba7a"
      ],
      "author": {
        "name": "Ryosuke Miyake",
        "email": "rysk@google.com",
        "time": "Fri Nov 06 04:15:42 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Nov 11 09:01:16 2026 -0800"
      },
      "message": "Add --with-transitive-deps to gn check\n\nChromium wants to run \"gn check --check-generated\" on CQ builders. They\nreuse the out dir and build only the targets affected by a CL, so\ngenerated files of other targets can be stale and fail the check.\n\nWith --with-transitive-deps, \"gn check\" also checks the transitive deps\nof the targets matching the label patterns and applies check_targets,\nno_check_targets and no_check_generated_targets from .gn, so a builder\ncan check exactly what it built. Label patterns without\n--with-transitive-deps behave as before.\n\nBug: 577807023\nChange-Id: I925972477c94a7128a2a57c83f84ccdd4874a29d\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27840\nCommit-Queue: Ryosuke Miyake \u003crysk@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "98fe95227d9fe45bf8efe3acdb48cf7181e9ba7a",
      "tree": "d5b07ad0b2825bc8f3d1a01071201d0615c4c055",
      "parents": [
        "4df39f484f1f49f5c7f6264adc88d27811cb7b00"
      ],
      "author": {
        "name": "Henrique Ferreiro",
        "email": "hferreiro@igalia.com",
        "time": "Tue Nov 10 12:14:50 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 10 19:31:38 2026 -0800"
      },
      "message": "Report .gn errors instead of crashing\n\nSetup::FillOtherConfig() printed three of its errors itself instead of\nreturning them: a missing buildconfig, an invalid\nninja_required_version, and both check_targets and no_check_targets\nbeing set. Its callers then crashed printing the empty error. For\nexample, \"gn gen\" and \"gn edit\" crashed when the .gn file had no\nbuildconfig.\n\nReturn them like its other errors.\n\nAlso add a CreateSourceRoot() helper for the many setup tests that\ncreate a temporary source root with a .gn file and a BUILDCONFIG.gn, and\nuse it in all of them.\n\nFixed: 432721745\nChange-Id: Iec77a848befe45a6d3c75352f00348584215cb95\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28580\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "4df39f484f1f49f5c7f6264adc88d27811cb7b00",
      "tree": "b5848ec19e3142e58df429de27637833af56cebf",
      "parents": [
        "2e3ba82395563cae2b82db1a55df4757a6aeabc2"
      ],
      "author": {
        "name": "Ryosuke Miyake",
        "email": "rysk@google.com",
        "time": "Thu Nov 05 15:45:23 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Nov 05 20:10:34 2026 -0800"
      },
      "message": "Accept multiple label patterns in gn check\n\n\"gn check\" now takes any number of label patterns and checks the targets\nmatching any of them. As before, label patterns bypass check_targets,\nno_check_targets and no_check_generated_targets in .gn.\n\nTarget selection moves to GetTargetsToCheck() so that it can be unit\ntested. RunCheck() still calls Builder::GetAllResolvedTargets() once.\n\nSplit out of https://gn-review.googlesource.com/c/gn/+/27840.\n\nBug: 577807023\nChange-Id: Icd11cbf7fbdc7ffac41520ea3893f1d8da4f81c2\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28520\nCommit-Queue: Ryosuke Miyake \u003crysk@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "2e3ba82395563cae2b82db1a55df4757a6aeabc2",
      "tree": "2d1448c7f9a4503894f1fbfeb1c8a777fba2a0cf",
      "parents": [
        "ed7fee04cb30b96ed40ef188acfad5417349e399"
      ],
      "author": {
        "name": "Henrique Ferreiro",
        "email": "hferreiro@igalia.com",
        "time": "Tue Nov 03 13:04:44 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Nov 03 10:07:02 2026 -0800"
      },
      "message": "Fix how the regeneration command writes gn\u0027s own paths\n\nGetSelfInvocationCommandLine() escapes the switches it copies from the\ncurrent command line, but not the gn executable, --root or --dotfile,\nwhich it writes itself. A space or \"$\" in any of those paths broke\nregeneration, since Ninja expanded \"$\" and the shell split on spaces.\nEscape them like every other switch.\n\nAlso only write the gn executable and --dotfile relative to the build\ndirectory if they\u0027re inside the source root or the build directory,\nsince those are the places where relative paths keep working even if\nthey\u0027re moved.\n\nFor that, FilePath::IsParent() has to match roots written with different\nseparators on Windows: the source root always uses \u0027/\u0027, but the paths\ncompared with it may not, and \"C:/src\" wasn\u0027t considered a parent of\n\"C:\\src\\list.txt\". Port the root comparison that\nhttps://crrev.com/c/8674581 added to AppendRelativePath(), which treats\nroots made of the same number of separators as equal.\n\nThis is a precursor to https://gn-review.googlesource.com/c/gn/+/18220,\nwhich handles --runtime-deps-list-file the same way.\n\nChange-Id: I107aabe2d8a9f1b67c62792bb3ff2ae92973d5a8\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28400\nReviewed-by: Sylvain Defresne \u003csdefresne@chromium.org\u003e\nReviewed-by: Andrew Grieve \u003cagrieve@google.com\u003e\nCommit-Queue: Andrew Grieve \u003cagrieve@google.com\u003e\n"
    },
    {
      "commit": "ed7fee04cb30b96ed40ef188acfad5417349e399",
      "tree": "5227434c6b417003998fd0d6e2aad37e5a5e1bd0",
      "parents": [
        "224f6aa73aeb73aafb05df998073ff2c7cae666f"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Fri Oct 30 10:40:39 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 29 18:54:29 2026 -0700"
      },
      "message": "Do not backslash-escape non-ASCII UTF-8 bytes on POSIX\n\nPreviously, kShellValid marked bytes \u003e\u003d 0x80 as invalid (0), causing\nEscapeStringToString_PosixNinjaFork to insert an ASCII backslash (0x5c)\nbefore each individual byte of multi-byte UTF-8 sequences. This broke\nmulti-byte UTF-8 characters apart and produced invalid UTF-8 in\ngenerated .ninja files.\n\nMark bytes 0x80-0xff as valid in kShellValid since non-ASCII bytes are\nnot special characters in POSIX shells.\n\nBug: 579608206\nChange-Id: I117a6f377b72b6b6646af89bbb4db0d4fd857846\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28280\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "224f6aa73aeb73aafb05df998073ff2c7cae666f",
      "tree": "6734d2baac17117f78aea0d55bcdded1f445c833",
      "parents": [
        "98f6dd2be85d0eba8f31ee3ad1def5402383cff3"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Oct 22 08:51:25 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 29 17:57:59 2026 -0700"
      },
      "message": "Improve performance of escape functions.\n\nThese functions would previously do read and writes character by\ncharacter. Now we follow a different pattern:\n1) Find first character that needs to be escaped\n2) Memcpy all previous characters\n3) Write that character\n4) Repeat until no character needing to be escaped is found\n5) Memcpy all remaining characters\n\nIn the hot path, this basically looks like:\nif not any(needs_escaping(c) for c in source):\n  memcpy(source, dest)\n\nMemcpy is much faster than copying byte-by-byte, so this is much more\nperformant.\n\nThese functions now run more than twice as fast as before. Profiling\nrevealed that we spend about 4% of time in escaping, so this should be\naround a 2% performance boost (which I did measure but due to how small\nit is I couldn\u0027t get statistically significant data).\n\nChange-Id: Idaaa43263a9aec6c38effca464cc49646a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27740\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "98f6dd2be85d0eba8f31ee3ad1def5402383cff3",
      "tree": "c59c9fd18867e0150ea478a8f0be41e273221482",
      "parents": [
        "d3d07d398e3c682afa103b0c6db29b16cd83b098"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Oct 29 11:57:11 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 28 19:11:42 2026 -0700"
      },
      "message": "Improve performance of StringOutputBuffer.\n\nStringOutputBuffer previously used a (start, size, capacity) representation\nfor the current read-write page, updating an offset index on each write.\nThis had two main drawbacks:\n1) Every write required base + offset address recalculations.\n2) Writable::WriteToBuf took a `size_t\u0026 upto` parameter alongside the\n   `char buf[]`, creating a strict-aliasing hazard.\n\nThis change optimizes StringOutputBuffer:\n- Adopts a 3-pointer cursor representation (rw_buf_, cur_, end_). In the\n  hot path, writes only advance cur_, keeping the write pointer directly\n  in CPU registers across chained writes.\n- Updates Writable and WriteToBuf to take and return a char*, eliminating\n  both the aliasing hazard and offset arithmetic.\n- Splits Reserve into an inlined fast-path check (zero function calls on\n  the hot path) and an out-of-line ReserveSlow for page rollover.\n- Removes redundant state (ro_size_ and rw_capacity_), computing total\n  size on demand.\n- Simplifies str(), WriteToFile(), and ContentsEqual() to stream the\n  active page using direct pointer ranges.\n\nChange-Id: I56da598fa9acfe31443b2049bbcd48e66a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28180\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "d3d07d398e3c682afa103b0c6db29b16cd83b098",
      "tree": "907736ba81f1009d00472cef9adb2803603b91fb",
      "parents": [
        "84f10d13f9041068a7da8f9dfc9b991e1049823a"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Oct 21 13:59:21 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 28 16:20:20 2026 -0700"
      },
      "message": "Reimplement EscapeStringToStream with zero-copy.\n\nWe also split it out into several different types so that we can have\nusers refactor to no longer use EscapeStringToStream and instead use\nspecific type escaping. This has two effects:\n1) The API is significantly nicer now\n2) Should be slightly more performant\n\nChange-Id: Ie59ab8e0cd8f6e52027588f00207f1946a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27720\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "84f10d13f9041068a7da8f9dfc9b991e1049823a",
      "tree": "dd53ce1ebf874ac04939e5684fc39e81d87c2008",
      "parents": [
        "fce90bf1c6dedf72ce95516903dc0456fecd7e02"
      ],
      "author": {
        "name": "Roland McGrath",
        "email": "mcgrathr@google.com",
        "time": "Mon Oct 26 14:20:56 2026 -0700"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Oct 27 01:31:22 2026 -0700"
      },
      "message": "Propagate should_generate to sub-configs\n\nPreviously, Builder::ConfigDefined() did not propagate should_generate\nto sub-configs (only calling ScheduleItemLoadIfNecessary()), assuming\nthat the flag was irrelevant for configs since they are not written\ndirectly to Ninja files.\n\nHowever, Builder::CheckForBadItems() only populates bad_records with\nunresolved items that have should_generate() set, and only checks\ndirect unresolved dependencies of bad_records for missing definitions.\nWhen a config chain had an undefined sub-config (or cycle) and an\nintermediate config was defined after the referencing target or parent\nconfig, the intermediate config did not have should_generate() set. It\nwas omitted from bad_records, and CheckForBadItems() fell through to\nthe unhelpful \"I have no idea what went wrong, but these are\nunresolved, possibly due to an internal error:\" message.\n\nUpdate Builder::ConfigDefined() to call RecursiveSetShouldGenerate()\nwhen record-\u003eshould_generate() is true, and update\nBuilder::CheckForCircularDependencies() to check all bad_records rather\nthan only bad_records[0].\n\nProduced with Gemini assistance; reviewed and verified by the author.\n\nTest: gn_unittests\nAi-Assisted: true\nChange-Id: I16e1120d476ddc8b9ba82c7198c90ea1272c56a4\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27880\nCommit-Queue: Roland McGrath \u003cmcgrathr@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "fce90bf1c6dedf72ce95516903dc0456fecd7e02",
      "tree": "11a5d6e6259549810f024b8f97118eae42bc7ab3",
      "parents": [
        "f27c5d7a363b87715bb7837de35683974b4a387b"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Oct 27 15:25:09 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 23:57:16 2026 -0700"
      },
      "message": "[infra] Roll mac_toolchain to latest version\n\nOn macOS 13+, newly extracted Xcode.app occasionally fails during the\ninitial `xcodebuild -license accept` step in `mac_toolchain install` due\nto Gatekeeper / codesign verification killing the process with SIGKILL\n(`failed to accept new license: signal: killed`), e.g.:\nhttps://ci.chromium.org/ui/p/infra-internal/builders/prod/gn-builder-mac/1211/overview\n\nThe previously pinned version of `mac_toolchain` (`1b9e28e1cfc6`) only\nretried installation when the error message contained \"Xcode app is\npossibly corrupted\" or \"failed to pass gatekeeper check\", which was only\nemitted on a 5-minute timeout and not when `acceptLicense` failed early.\n\nRoll `mac_toolchain` to the latest version (`3433dc5aff8c`), which wraps\n`acceptLicense` failures with \"The downloaded Xcode app is possibly\ncorrupted. Accepting license failed.\" so that automatic retry is\ntriggered on transient Gatekeeper / license acceptance failures.\n\nChange-Id: I2d293d2b7c60d8947d33e4bd7d888f36fef87fd2\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/28020\nReviewed-by: Junji Watanabe \u003cjwata@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "f27c5d7a363b87715bb7837de35683974b4a387b",
      "tree": "ca238175ecf37c647adc140cd3743c52fe03e9b2",
      "parents": [
        "f606a061e236158851c2655e99bba9a2e222c2d2"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 27 15:00:00 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 22:20:48 2026 -0700"
      },
      "message": "Stop integration tests from running every ninja invocation.\n\nIt was previously running (in integration_tests/simple) rm -rf out \u0026\u0026 gn gen out.\nThis changed the mtime of the integration_tests/simple directory, triggering a rebuild.\nBy instead doing rm -rf out/*, we prevent the mtime of the integration\ntest source code from changing.\n\nChange-Id: I3cdc6c2822819ea7bb0835b025c38da86a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27980\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f606a061e236158851c2655e99bba9a2e222c2d2",
      "tree": "e5adb6d9ea8ba53e2aad2037f4bfc6daa1f91bc2",
      "parents": [
        "4ee632c4d1dbc914c0401cdeb57bfdc48aeaa71e"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 20 15:42:32 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 19:39:23 2026 -0700"
      },
      "message": "Replace instances of o(string)stream with StringOutputBuffer.\n\nHyperfine said that this had a (statistically insignificant) 2% performance gain.\n\nStringOutputBuffer should be slightly more performant than an ostream\nwrapping a StringOutputBuffer by eliminating virtual function calls.\n\nHowever, the real performance gains come in the future, because we can\nthen rely upon the fact that WriteToBuf guarantees a contiguous block of\nmemory big enough to write your data to, allowing us to do zero-copy\nescaping.\n\nChange-Id: I94b2afbf13edd35143adc15f32a986a86a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27700\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "4ee632c4d1dbc914c0401cdeb57bfdc48aeaa71e",
      "tree": "1862753d1ceb20de18492c71ee411f7d639540b8",
      "parents": [
        "00748cec029890841e9e550281955324eb84a266"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Oct 27 09:41:00 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 19:10:06 2026 -0700"
      },
      "message": "Only disable check_includes_strict optimization for exempted includers\n\nInstead of disabling the hard_deps propagation optimization across the\nentire build whenever `check_includes_strict_exceptions` is non-empty,\nonly disable it for targets that match an exception rule as the\nincluder.\n\nIndex `includer` LabelPatterns in an `unordered_set\u003cLabelPattern\u003e` and\nimplement `HasExceptionFrom()` by probing exact target matches,\ndirectory matches, and ancestor recursive directory matches.\n\nBug: 556959580\nChange-Id: I9f65ed5611355cec26e403e3b910bc65eccdde16\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27860\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "00748cec029890841e9e550281955324eb84a266",
      "tree": "5bad2472c42b41ab12a66237400c0e2ce8636a6d",
      "parents": [
        "dec316b912d4b0fdfee84d353342fc28e1d3f210"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Oct 23 10:17:59 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 16:32:50 2026 -0700"
      },
      "message": "Make build/gen.py use hermetic clang.\n\nbuild/gen.py now does the same thing tools/run_formatter.sh does and\nuses CIPD to download clang and the sysroot.\n\nTested:\nLinux: ci.chromium.org/b/8666922656939373217\nMac: ci.chromium.org/b/8666922648953514369\nWindows: ci.chromium.org/b/8666922641416156785\nChange-Id: Ie79493c587bde8d4cdb488972dcfa18d6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27780\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "dec316b912d4b0fdfee84d353342fc28e1d3f210",
      "tree": "0847c59956292dac307aae3efb59d6918a153517",
      "parents": [
        "938087829fcbcc8fd87835ee301dd522c7637685"
      ],
      "author": {
        "name": "msta",
        "email": "msta@google.com",
        "time": "Wed Aug 05 10:52:26 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 26 15:53:34 2026 -0700"
      },
      "message": "Cherry-pick script that runs your changes to recipes in CI\n\nThis script was submitted to the starlark branch, but is relevant to the\nmain brainch too.\n\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/24821\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nChange-Id: I4d3f2951e7116eb461c82126cbe5a8ae6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27820\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "938087829fcbcc8fd87835ee301dd522c7637685",
      "tree": "3b0f3c7f103417db1d366350d0b23e945c10fa45",
      "parents": [
        "3ef636ac7c21b85571c86628507260ec582bef8e"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 20 15:42:32 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 22 21:24:34 2026 -0700"
      },
      "message": "Improve StringOutputBuffer to act more like an o(string)stream\n\n* buffer \u003c\u003c 1 now works, allowing it to be used as a drop-in replacement\n  for ostream.\n* EXPECT_EQ(\"blah\", buffer) now works, making testing simpler.\n\nChange-Id: Ic47d68fb8786b63614e271b2397c1b146a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27680\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "3ef636ac7c21b85571c86628507260ec582bef8e",
      "tree": "ff655eecc8b6aff7f799d1e41c122926c758ed2a",
      "parents": [
        "d78676b2abbd0d124d1ad97f180ed156ead07a3a"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Mon Oct 19 15:09:47 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 22 15:24:40 2026 -0700"
      },
      "message": "Disable check_includes_strict optimizations when there are exceptions.\n\nThis has caused CI failures such as https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/2968325/overview\n\nBug: 556959580\nChange-Id: I7e99d66d0f573861f7a9c2b5817491536a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27600\nReviewed-by: Junji Watanabe \u003cjwata@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "d78676b2abbd0d124d1ad97f180ed156ead07a3a",
      "tree": "374f46192492faf98ebbf79308373a972579ae02",
      "parents": [
        "d08d22aa1e2bdcfefdae596860dd561138030772"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Mon Oct 19 15:09:47 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Oct 20 16:45:57 2026 -0700"
      },
      "message": "Refactor CheckIncludesStrictExceptions API\n\nThis refactoring prepares for disabling check_includes_strict\noptimizations when exemptions are present:\n- `empty()` allows a fast path when no exceptions are configured, enabling\n  optimizations without checking individual targets.\n- `HasGlobalException()` and `HasLocalException()` allow querying global\n  and target-specific rules independently, which is needed to inspect\n  whether a target or its private dependencies are subject to exemptions.\n- Rename `AddException` to `AddLocalException` to clearly differentiate\n  from `AddGlobalException`.\n- Rename `CanInclude` to `HasException`.\n- Update callers and unittests accordingly.\n\nBug: 556959580\nChange-Id: I62c5ef3ab553e5fdeb88b3395e5c370e6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27620\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "d08d22aa1e2bdcfefdae596860dd561138030772",
      "tree": "22291c1d165df47afbd6913d9e1f5ad631a7205e",
      "parents": [
        "dc390672c2b73f5bd3f72fff33a00bb12f88c1d6"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 20 15:39:48 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 19 22:40:41 2026 -0700"
      },
      "message": "Replace std::endl with \u0027\\n\u0027.\n\nstd::endl forces a flush, so writing \\n is generally preferred for\nperformance reasons.\n\nChange-Id: If700ede40a3fd543743ab6d1c4005f486a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27660\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "dc390672c2b73f5bd3f72fff33a00bb12f88c1d6",
      "tree": "ccea8c5c136089135bda085ed1c57506805aa368",
      "parents": [
        "f90c3d9df882a9da4a66457f47dd3d99b3df3dd5"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 20 12:57:42 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 19 22:34:34 2026 -0700"
      },
      "message": "Refactor string_output_buffer to support \"Reserve\".\n\nOn its own, it is 2% faster, but not statistically significant.\n\nThe main benefit here is that if we support reserve, we can implement\nsomething akin to the following. Then we can, instead of allocating a\nbuffer for the escaped value, generating it, then copying it to the\nbuffer, write it directly.\n\nstruct NinjaEscaped {\n  inner: \u0026str\n}\n\nimpl WriteBuf for NinjaEscaped {\n  fn MaximumSize(\u0026self) -\u003e usize { inner.size() * 3 }\n  fn Write(\u0026self, dst: \u0026mut [char], upto: \u0026mut idx) {\n    for c in self.inner.chars() {\n      if needs_ninja_escape(c) {\n        dst[upto++] \u003d \u0027\\\u0027\n      }\n      dst[upto++] \u003d c\n  }\n}\n\nChange-Id: I82469ade090787853e9c83085c7c1dfa6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27640\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f90c3d9df882a9da4a66457f47dd3d99b3df3dd5",
      "tree": "1202910c4c62881fedf43071cc840512eeec11f1",
      "parents": [
        "ca14a831a82342fe28e372a8d25ee4fe31b920e4"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Oct 09 12:22:49 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 15 21:28:09 2026 -0700"
      },
      "message": "Add check_includes_strict_exceptions configuration to .gn\n\nAllows configuring strict deps include check exemptions via a list of\nscopes in .gn:\n\n  check_includes_strict_exceptions \u003d [\n    {\n      includer \u003d \"//some/dir/*\"\n      included \u003d \"//some/target\"  # optional, omit for global\n    },\n  ]\n\nThis provides fine-grained, target-level exemptions for check_includes_strict\nwithout requiring expensive regex filtering or custom parser formats.\n\nBug: 556959580\nChange-Id: I2306f74835db8299e9e924637ac4bd686a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27340\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "ca14a831a82342fe28e372a8d25ee4fe31b920e4",
      "tree": "4ee171b998ac695e441ec8cd1c975f7d08f22a65",
      "parents": [
        "0817afa577428da457b6482c027d7202cd01fcbf"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Thu Oct 08 18:55:34 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 15 05:03:29 2026 -0700"
      },
      "message": "Stop forwarding private hard_deps on Rust targets\n\nPreviously, Rust targets (e.g. rust_library, rust_proc_macro) forwarded\nhard_deps from both public_deps and private deps to their dependents\nbecause Target::all_headers_public() defaults to true.\n\nHowever, Rust targets do not have C/C++ public headers, and downstream\nRust targets already have direct dependencies on upstream .rlib/.rmeta\nfiles. Private dependencies of a Rust target (such as Cargo build script\nexecution actions or internal rust_bindgen actions) are only needed to\ncompile the Rust target itself, while any generated C++ headers exposed\nto dependents (e.g. cxxbridge or Crubit headers) are placed in\npublic_deps.\n\nThis change introduces ResolvedTargetData::OnlyForwardsPublicHardDeps()\nand applies it to Rust targets in addition to check_includes_strict\ntargets, so that Rust targets only forward hard_deps from public_deps to\ndependents while still including private hard_deps in their own\ncompilation input dependencies.\n\nIn a Chromium Linux build, this eliminates 377 .harddeps phony rules and\n2,587 .harddeps dependency edges (including std.harddeps and 3p Cargo\ncrate build script outputs propagating into downstream C++ targets).\n\nBug: 563098656\nChange-Id: If74076cba64281db575afea5b84f61c25f29bb09\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27321\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "0817afa577428da457b6482c027d7202cd01fcbf",
      "tree": "10bd720e46d0c48d43f1c4cdc711a72c363161a1",
      "parents": [
        "0035961837fbcfe875d855744b3eda4fd2eefb43"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 13 12:42:14 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Oct 12 19:36:56 2026 -0700"
      },
      "message": "Make StringAtom use pointer equality and hashing\n\nStringAtom previously used string equality and hashing. The rationale\nwas that it would ensure consistent ordering with standard containers.\n* This makes perfect sense for ordered containers, as operator\u003c sorting\n  lexicographically both makes sense and is frequently used.\n* This makes zero sense for operator\u003d\u003d, as pointers can be equal iff\n  contents are equal, so whether it uses string or pointer equality is\n  an implementation detail.\n* This also makes no sense for hashing, as the C++ standard states that\n  hashes are not required to be deterministic, and thus may be seeded\n  upon binary start (though in practice this is not usually the case).\n\nChange-Id: I58eeba92bba7723f8a9792d78b5ab5de6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27480\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "0035961837fbcfe875d855744b3eda4fd2eefb43",
      "tree": "9a75c1ee97aee1c1c704aacc41a142d314fc179a",
      "parents": [
        "f82afe92417ee9d1699a428f0787edcdcc528ca8"
      ],
      "author": {
        "name": "Ryosuke Miyake",
        "email": "rysk@google.com",
        "time": "Thu Oct 08 06:37:10 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 08 16:18:01 2026 -0700"
      },
      "message": "Fix \"Ouput\" typos\n\nRename HeaderChecker::IsFileInOuputDir to IsFileInOutputDir, and the\nTargetTest.RuntimeOuputs and TargetTest.RustRuntimeOuputs tests to\n*RuntimeOutputs. No behavior change.\n\nChange-Id: I13ea5fe4a3ecc8e322ba9132855b9b616405bab1\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27320\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f82afe92417ee9d1699a428f0787edcdcc528ca8",
      "tree": "aab1ab57ebc4c5629eb9a019bd964e068b076c84",
      "parents": [
        "b58dfa80d45fe79ad6e7fb6f1034d9b0dfbadbaa"
      ],
      "author": {
        "name": "Ryosuke Miyake",
        "email": "rysk@google.com",
        "time": "Thu Oct 08 05:38:55 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 07 23:01:36 2026 -0700"
      },
      "message": "Add no_check_generated_targets .gn variable\n\nA \"gn check --check-generated\" failure in a generated source can only be\nsuppressed with no_check_targets or check_includes \u003d false, both of\nwhich also skip the target\u0027s handwritten files.\n\nno_check_generated_targets is a list of label patterns in .gn, in the\nsame format as no_check_targets. With --check-generated, gn check skips\nthe generated files (files in the output directory) of matching targets\nand still checks their other files. Like check_targets and\nno_check_targets, the list is not used when a label pattern is given on\nthe command line. gn check results are unchanged if the list is unset.\n\nBug: 559888973\nChange-Id: I500cb396ca271daa69a407ea333e56438a28d6f4\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27220\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Ryosuke Miyake \u003crysk@google.com\u003e\n"
    },
    {
      "commit": "b58dfa80d45fe79ad6e7fb6f1034d9b0dfbadbaa",
      "tree": "9ee38431af4eb6a7d5fe41c3f4a5623ab99c6b9c",
      "parents": [
        "f21094fa9bf64ba5472d70b8b1bda42791beb7b8"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Oct 08 15:48:07 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 07 22:42:18 2026 -0700"
      },
      "message": "Improve the suggestion heuristic for depending on targets.\n\nPreviously, if you had a target //skia:headers, which is part of the\ngroup //skia:skia, which is in turn part of the group //:gn_all, and\nyou tried to include it from //foo:bar, it would see that // is a\nprefix of //foo, and thus assume //:gn_all was a local alias.\n\nChange-Id: Ib3fe2edce0d15d5228eb53f97964e2c66a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27300\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f21094fa9bf64ba5472d70b8b1bda42791beb7b8",
      "tree": "52e4a714c09930106105e3629f0abb2618f3f5ae",
      "parents": [
        "526295467bd18f5f8d9cb11f03a1c56cb40b7b28"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 23 12:35:00 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 07 21:54:10 2026 -0700"
      },
      "message": "Do not generate last_commit_position.h in debug builds.\n\nWhenever a commit is created or squashed in git/jj, the commit hash of\nHEAD changes, which previously updated last_commit_position.h during\ngen.py and forced a rebuild of gn_main.cc and relinking of gn.\n\nIn debug mode, generate a dummy last_commit_position.h instead so that\nsquashes do not invalidate the build cache. Real commit positions\ncontinue to be generated for release builds.\n\nChange-Id: Ib9e2fac8c1ec74f04fb66f382629e1dc6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27280\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "526295467bd18f5f8d9cb11f03a1c56cb40b7b28",
      "tree": "8007fa81413ded54e644476bd36d20c12b17c010",
      "parents": [
        "f9eca75ae5549af4a6d4a2e2a912c652590de9da"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 06 14:10:35 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Oct 07 19:46:55 2026 -0700"
      },
      "message": "Enable check_includes_strict by default.\n\nNote that this change is backwards-incompatible and will require\ndownstream projects to explicitly disable check_includes_strict in their\nBUILDCONFIG.gn.\n\nBug: 555455099\nChange-Id: Ie05cd7f182053355cba533a3c18ea0d06a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27240\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f9eca75ae5549af4a6d4a2e2a912c652590de9da",
      "tree": "84a980134c20267f6de3750112fcff282f7fa586",
      "parents": [
        "3fef1f00031be0d3505e5338ca671ea3752e6fd8"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Oct 06 14:44:24 2026 +1100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Oct 06 19:29:13 2026 -0700"
      },
      "message": "Disable rust formatter on main branch.\n\nI\u0027m getting errors locally because the code isn\u0027t formatted correctly\nbecause we don\u0027t lock a cargo version.\n\nChange-Id: I22d73f433e5d2bc949fd0b8cbf17b6b56a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27241\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "3fef1f00031be0d3505e5338ca671ea3752e6fd8",
      "tree": "3ad75eae840548cd8a958760e1d0b8ff6c8bcfee",
      "parents": [
        "c4019b9a52da77a9920237f73845d7bc1239def0"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Fri Oct 02 19:24:39 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Fri Oct 02 05:45:37 2026 -0700"
      },
      "message": "Add include sorting configuration to .clang-format and reformat\n\nConfigure include sorting options in .clang-format based on\nChromium\u0027s settings to adhere to Google C++ Style Guide:\n- IncludeBlocks: Regroup\n- IncludeCategories (with special priorities for Windows headers)\n- IncludeIsMainRegex (for recognizing main headers in tests and platform files)\n\nThis ensures that tools/run_formatter.sh automatically sorts headers\nand groups them appropriately (e.g. separating main headers, C system headers,\nand C++ standard library headers with blank lines).\n\nAlso reformat existing files with tools/run_formatter.sh.\n\nChange-Id: I1a82e23a7e1ac117a5f13d43a611a13c475fe2d1\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27200\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "c4019b9a52da77a9920237f73845d7bc1239def0",
      "tree": "fb495c96e69a1e688d26687e29e688886ffe56b1",
      "parents": [
        "9fe99e262126467c4cb2f44cf941767d29fb33d8"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Wed Sep 30 16:06:08 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Fri Oct 02 05:19:50 2026 -0700"
      },
      "message": "Delayed generated_file() writes if they collect validations metadata\n\nWhen a generated_file() target is written to the Ninja build\nplan, delay its output file write if `collect_validations_metadata`\nis true. Instead, the writes will be performed after all targets\nhave been resolved to ensure there are no runtime crashes when\nperforming the metadata walk.\n\nNote that the flag can be set directly in the target\ndefinition, or inherited from the .gn default value set\nthrough experimental_collect_validations_metadata.\n\n- builder_record.h: Add a comment explaining why metadata\n  walks that include validations must be delayed.\n\n- ninja_generated_file_target_writer.cc: If a target\n  has collect_validations_metadata enabled, do not write\n  its output file yet, instead set a boolean flag\n  to indicate the delay.\n\n- ninja_target_writer.cc: Take an optional pointer to\n  a boolean flag to receive notification of delayed\n  writes for generated_file() targets. Pass the pointer\n  to NinjaGeneratedFileWriter properly.\n\n- setup.cc: Add SetPostResolutionCallback() to register\n  a callback to invoke after all items have been resolved\n  in the graph (i.e. after the first scheduler.Run() call).\n\n- setup_unittest.cc: Add new unit-test that verify that\n  metadata walks with validations do not crash and return\n  the correct values (or errors in case of missing deps).\n\n- command_gen.cc: Record delayed generated_file() target\n  pointers during graph resolution, then use a post-resolution\n  callback to write all delayed generated_file() outputs\n  in parallel.\n\nBenchmarking shows that:\n\n- For a medium Fuchsia project (which currently relies on\n  validations metadata walks), using\n  `gn gen --experimental-collect-validations-metadata` is\n  about 15% slower with this patch applied (18.55s to\n  20.3s)\n\n- For a default Android/arm64 Chromium build,\n  `gn gen --experimental-collect-validations-metadata`\n  there is no statical difference (around 3s each).\n\nBug: 566346002\nChange-Id: I58ad0c3bcec71ceec80cf5a617ef00e86415734d\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27086\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "9fe99e262126467c4cb2f44cf941767d29fb33d8",
      "tree": "91a6e727af27ce5a56c7f645d1c04c86b3b8fab6",
      "parents": [
        "0e7d98e041b01eb5fed29a9a80482ed8ca9efe5b"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Fri Oct 02 12:20:35 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 23:32:50 2026 -0700"
      },
      "message": "Stop forwarding private hard_deps on check_includes_strict targets\n\nPreviously, ResolvedTargetData::ComputeHardDeps() and\nNinjaTargetWriter::WriteHardDepsStampOrPhony() forwarded hard_deps from\nboth public_deps and private deps of a target T (unless T was a binary\ntarget with public \u003d []), because standard \u0027gn check\u0027 allows T\u0027s\npublic headers to #include headers from T\u0027s private deps.\n\nHowever, when T sets check_includes_strict \u003d true, \u0027gn check\u0027 enforces\nthat T\u0027s public headers cannot #include headers from T\u0027s private deps.\nTherefore, targets depending on T cannot transitively reach generated\nheaders from T\u0027s private dependencies.\n\nThis change restricts ComputeHardDeps() and WriteHardDepsStampOrPhony()\nto only traverse public_deps when check_includes_strict \u003d true (for\nnon-hard targets), while still including hard_deps of private_deps in\nT\u0027s own input dependencies in WriteInputDepsStampOrPhonyAndGetDep().\n\nSuggested in:\nhttps://chromium-review.googlesource.com/c/chromium/src/+/8497030/comment/9c2d1aca_83609b40/\n\nBug: 563098656\nChange-Id: If9d5ef1e18475f0bcae1a65553256ff84543d871\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27100\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "0e7d98e041b01eb5fed29a9a80482ed8ca9efe5b",
      "tree": "5c2c582b7eee2236826334c3928f7afcf7afc088",
      "parents": [
        "0c19d708dfdfb49ddd0d7136ab16718bc8447f20"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Mon Sep 28 13:27:54 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 06:16:15 2026 -0700"
      },
      "message": "Add `collect_validations_metadata` boolean flag to generated_file() targets.\n\nThe default is false, unless the .gn flag\nexperimental_collect_validations_metadata is set to true.\n\nWhen this flag is true, metadata walks will visit validation\ndependencies. This may result in runtime crashes due to the\ndata race described in the associated bug.\n\nA future CL will ensure that walks that include validations\nare always performed after all targets have been resolved\nto fix the issue.\n\nBug: 566346002\nChange-Id: I12a8d913aa3895de8ec991b3a491c45e41b0cbfa\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27085\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "0c19d708dfdfb49ddd0d7136ab16718bc8447f20",
      "tree": "fd2531c4c82a56d76312ac3c434cdfb5f11adf98",
      "parents": [
        "31dd2c2b8e495944a9c6d6c3a69dc2de6e491f4e"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Mon Sep 28 13:07:27 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 05:44:27 2026 -0700"
      },
      "message": "Add new experimental_collect_validations_metadata .gn variable\n\nAnd associated --experimental-collect-validations-metadata\nswitch.\n\nThis is not connected to anything right now.\n\nBug: 566346002\nChange-Id: Id374c42d29cca4d6cd62367596dc81f14fa5198e\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27084\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "31dd2c2b8e495944a9c6d6c3a69dc2de6e491f4e",
      "tree": "436bdb546fbaba8e796ec5e5dd8361b65edaed51",
      "parents": [
        "b309775a6faf15cdea201c4f9f7a2171fbab31c6"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Wed Sep 30 13:47:31 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 05:41:05 2026 -0700"
      },
      "message": "Move generated_file() writes to dedicated function.\n\nThis simply moves NinjaGeneratedFileTargetWriter::GenerateFile()\nto its own helper function in a new source file. The new\nimplementation simply returns false on error instead of\ncalling g_scheduler-\u003eFailWithError().\n\nThis is a preparation CL for a fix for the associated bug\nthat will delay the writing of generate_file() targets that\nhave `collect_validations_metadata \u003d true`.\n\nBug: 566346002\nChange-Id: I588a3cce0ba6252c65e650a04cb813d885f7295a\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27083\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "b309775a6faf15cdea201c4f9f7a2171fbab31c6",
      "tree": "7eaa3e8bbff767b0efd44afb07899447b83e63c3",
      "parents": [
        "d54a840fa128695811e94463481444f8ccc44edc"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Wed Sep 30 12:44:58 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 05:31:15 2026 -0700"
      },
      "message": "Avoid canonicalization + string comparisons during metadata collection.\n\nAvoid dynamic string allocations + comparisons when comparing\nlabels during metadata collection.\n\nReplace the GetUserVisibleValue(true) calls and associated\nstring comparisons with calls to a new Label::Matches() method\nwhich can do the same comparison more quickly by performing\nfour pointer comparisons.\n\nChange-Id: I51e1f81c49cc9d0a79f3f1310a0ba3113f52d406\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27082\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "d54a840fa128695811e94463481444f8ccc44edc",
      "tree": "f4246fd8562dc6958cb9ed5339da06f669469277",
      "parents": [
        "841e072bef419ae1116477dc75e8c5a662c0212c"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Wed Sep 30 11:02:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 05:29:27 2026 -0700"
      },
      "message": "Use internal state struct for Target::GetMetadata().\n\nDefine a struct holding the common state during recursive\nmetadata collection. The new MetadataWalker::Walk() method\nmakes recursive calls easier to see and use less parameters.\n\nThis doesn\u0027t change the logic, just moves the\nimplementation and perform a few renames:\n\n+ Rename GetMetadata() first two parameters to data_keys\n  and walk_keys to match their GN argument names.\n\n+ Rename next_walk_keys to next_walk_labels because\n  this list contains list of labels, not walk/data key\n  names.\n\nBug: 566346002\nChange-Id: I33ea582da566d14d91ea6123c8541cf0906bb5a5\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27081\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "841e072bef419ae1116477dc75e8c5a662c0212c",
      "tree": "ee9c1b82192acdea138016d2ba4ffb8348551bd5",
      "parents": [
        "054c9865a0fe4074122022bfd4458fc08305a1d5"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Tue Sep 29 17:49:07 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Oct 01 01:30:18 2026 -0700"
      },
      "message": "Fix minor Scheduler data races.\n\nEnsure that Scheduler::{is_failed_,has_been_shutdown_}\nare properly guarded by a lock since they are accessed\nfrom multiple threads concurrently.\n\nIn Scheduler::FailWithError(), ensure the PostTask()\ncall happens under the lock.\n\nIn particular, this can happen when several background worker\nthreads are posting tasks to the queue, and one of them calls\nScheduler::FailWithError() which will implicitly call PostQuit().\n\nChange-Id: Ie0b70be0838b9fdcf4f41c3ae53bc5bd8e6d71d3\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27080\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "054c9865a0fe4074122022bfd4458fc08305a1d5",
      "tree": "6d355600bd8476b66da2a8752ea878d0abfea915",
      "parents": [
        "dc685a2b72b24234ba5cbc821375c3d2ac4f0409"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Wed Sep 30 08:28:53 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 30 00:20:18 2026 -0700"
      },
      "message": "rust: Don\u0027t make rlibs depend on non-Rust link inputs\n\nrustc does not invoke a linker when building an rlib, so non-Rust native\ndependencies (object files of source_sets, static libraries and shared\nlibraries) are not used when compiling it. Since RUST_LIBRARY is not\nfinal, these dependencies are already propagated as inherited libraries\nto the final target that links the rlib.\n\nHowever, NinjaRustBinaryTargetWriter added them to the rlib\u0027s rustc\ncommand line (as -Clink-arg\u003d...) and to its implicit ninja dependencies.\nThis made compiling an rlib wait for C/C++ code to be compiled, archived\nand linked. For example, in a Chromium component build, compiling an\nrlib depending on a C++ component waited for its shared library (and\nthose of its dependencies) to be linked, which put rlib compilation\nafter long chains of shared library links on the critical path.\n\nStop adding non-Rust link inputs to rlibs. Final targets still get them\nthrough inherited libraries, as tested in NonRustDeps.\n\nBug: 563098656\nChange-Id: Id5a80c39a44a4e347e8ad64505efe1e686171517\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/27000\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "dc685a2b72b24234ba5cbc821375c3d2ac4f0409",
      "tree": "942f90141d8ecd5323211d09ae8e9a4b8199ffff",
      "parents": [
        "510ec7992c30f172205792f190e96111a896ba8f"
      ],
      "author": {
        "name": "Claudio DeSouza",
        "email": "cdesouza@chromium.org",
        "time": "Fri Sep 18 11:56:38 2026 +0100"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 28 17:38:47 2026 -0700"
      },
      "message": "gn edit: keep build files alive for warnings\n\nUsing `gn edit` with something like `remove testonly` results in a\nnon-fatal warning if the target does not have such attribute, and that\nwarning is collected in the `EditState` that `RunEditImpl` returns. This\nrun in UaF as every warning is an `Err` whose `Location` points into the\n`InputFile` owned by the `BuildFile` it came from, however with the\nthat list being scoped to `RunEditImpl`, we end up with `RunEdit`\nformatting those warnings using freed memory.\n\nThis CL fixes that by hoisting `build_files_` as a sibling field to\n`edit_state_`.\n\nChange-Id: I12acd0c02f3196c5f122642fadf6be2184769256\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26700\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "510ec7992c30f172205792f190e96111a896ba8f",
      "tree": "ccf097aaadb3398c511e4cfe848102ffcdddb62c",
      "parents": [
        "2dfb8cbd3b749242ee4492a7f15eba6889d52c7f"
      ],
      "author": {
        "name": "msta",
        "email": "msta@google.com",
        "time": "Mon Aug 03 14:10:09 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Sun Sep 27 21:53:26 2026 -0700"
      },
      "message": "Add instructions for agent to build GN and run code / tests\n\nChange-Id: If582245cef421ec88150ac1c6d2c0fd96a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/24720\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "2dfb8cbd3b749242ee4492a7f15eba6889d52c7f",
      "tree": "80b561b5acd7a6eaab93774e1f48e5db33900d61",
      "parents": [
        "56c22442ee369ddc6f44c2ff5e0664d47a3c6b0e"
      ],
      "author": {
        "name": "Nico Weber",
        "email": "thakis@chromium.org",
        "time": "Wed Sep 23 23:16:38 2026 -0700"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Sep 24 09:08:32 2026 -0700"
      },
      "message": "Write phony rules for harddeps\n\nWrite a rule for each target with at least two hard deps,\nsimilar to what WritePublicInputsStampOrPhony() does for public_inputs:\n\n    build phony/foo/bar.harddeps: $\n        phony phony/foo/action phony/foo/dep.harddeps\n\nIt lists the target\u0027s direct hard deps. This mirrors\nResolvedTargetData::ComputeHardDeps(), so it depends on the same set\nof hard deps, but its size is proportional to the number of direct deps.\nA target\u0027s input deps then just refer to its own .harddeps rule.\n\nResults for a Chromium build (mac, arm64, is_debug\u003dfalse):\n\n                                      before         after\n  size of all loaded .ninja files     1025 MB        427 MB\n  gn gen (hyperfine, 6 runs)          2.065s ± .048  1.947s ± .050\n    user / sys                        12.0s / 4.3s   10.1s / 4.5s\n\nChromium no-op builds of base_unittests (target already built, hyperfine, M-series Mac):\n\n                                               before           after\n  siso v1.6.0 (autoninja), -offline            735.5 ms ± 13.7  648.3 ms ± 22.8\n    user / sys                                 3.7s / 1.9s      2.3s / 2.2s\n  depot_tools ninja (1.12.1)                   4.37s ± .02      2.25s ± .02\n  ninja v1.13.2                                2.755s ± .009    1.532s ± .007\n  ninja with some local changes to tweak perf  535.8 ms ± 2.7   408.4 ms ± 8.1\n  (`siso -n` and `ninja -n` are within 2% of the no-op times.)\n\nNo intended behavior change.\n\nBug: chromium:40278737\nChange-Id: I163e6bea334c2e626bf7c96cd8d942848a6766bf\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26741\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Nico Weber \u003cthakis@google.com\u003e\nCommit-Queue: Nico Weber \u003cthakis@chromium.org\u003e\n"
    },
    {
      "commit": "56c22442ee369ddc6f44c2ff5e0664d47a3c6b0e",
      "tree": "082a97a813b06e80bf774dfdf38d47f488506046",
      "parents": [
        "8707f1b5c5f6b66bbcb57b9873e9ee4157be80ab"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Sep 17 12:13:32 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 23 23:17:40 2026 -0700"
      },
      "message": "Support conditional sources for gn check.\n\nSuppose you have foo_linux.cc including bar.h, and:\n```\nsource_set(\"foo\") {\n  sources \u003d [ \"foo.cc\" ]\n  if (is_linux) {\n    sources +\u003d [ \"foo_linux.cc\" ]\n  }\n}\n```\n\nPreviously, we would suggest `gn edit \"add deps //:bar\"` //:foo`.\nNow, we no longer output the gn edit suggestion, and instead suggest\ndoing so inside an is_linux conditional.\n\nChange-Id: Iac7fb49959fb6437b5ffd2595614bf526a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26680\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "8707f1b5c5f6b66bbcb57b9873e9ee4157be80ab",
      "tree": "735c7e2ecc3e552d2bd2f1ec40c675f61039f681",
      "parents": [
        "127dd2a6d582528d6d61c4d838dc17385ef31abd"
      ],
      "author": {
        "name": "Nico Weber",
        "email": "thakis@chromium.org",
        "time": "Wed Sep 23 22:47:16 2026 -0700"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 23 23:15:21 2026 -0700"
      },
      "message": "Don\u0027t write order-only deps reachable through direct deps\n\nThe size of the generated ninja files is quadratic: NinjaCBinaryTargetWriter writes an order-only dep for every non-linkable\ndep of a target. `source_set(\"a\")` depending on `source_set(\"b\")`\ndepending on `source_set(\"c\")` produced:\n\nbuild phony/c.linkdeps: phony c.o\nbuild phony/b.linkdeps: phony b.o || phony/c.linkdeps\nbuild phony/a.linkdeps: phony a.o || phony/b.linkdeps phony/c.linkdeps\n\na.linkdeps listing c.linkdeps is not needed.\n\nInstead, only write order-only deps for:\n\n1. Direct deps (looking through groups, which have no build statement).\n2. Libraries inherited through direct deps whose build statement doesn\u0027t\n   list them (e.g. Rust libraries, or final targets that forward shared\n   libraries).\n3. Frameworks (create_bundle targets). ClassifyDependency() doesn\u0027t\n   treat them as non-linkable deps of non-final targets.\n\nhttps://issues.chromium.org/issues/40278737#comment7 compares ninja\nfiles before and after this patch and checks that they are equivalent.\n\nResults for a Chromium build (mac, arm64, is_debug\u003dfalse):\n\n                                      before         after\n  size of all loaded .ninja files     2634 MB        1009 MB\n    .linkdeps phony edges             1442 MB          15 MB\n    `||` on alink edges                181 MB           5 MB\n    `||` on link edges                  21 MB         0.3 MB\n  gn gen (hyperfine, 6 runs)          2.917s ± .047  2.160s ± .052\n    user / sys                        18.5s / 7.2s   12.3s / 4.7s\n\nChromium no-op builds of base_unittests (target already built, hyperfine,\nM-series Mac), for siso and various ninja versions:\n\n                                               before          after\n  siso v1.6.0 (autoninja), -offline            1.058s ± .031   735.5 ms ± 13.7\n    user / sys                                 7.0s / 2.0s     3.7s / 1.9s\n  depot_tools ninja (1.12.1)                   10.09s ± .10    4.37s ± .02\n  ninja v1.13.2                                6.388s ± .049   2.755s ± .009\n  ninja with some local changes to tweak perf  950.9 ms ± 5.1  535.8 ms ± 2.7\n\n(`siso -n` and `ninja -n` are within 2% of the no-op times.)\n\nNo intended behavior change.\n\nBug: chromium:40278737\nChange-Id: I517db1c641001e404d3e02ab0e653c1133076d7f\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26740\nCommit-Queue: Nico Weber \u003cthakis@chromium.org\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Nico Weber \u003cthakis@google.com\u003e\n"
    },
    {
      "commit": "127dd2a6d582528d6d61c4d838dc17385ef31abd",
      "tree": "5c78ba8465335b0e68f9a031eb2482b8b6a500db",
      "parents": [
        "59107452bf84ce0d35bed08eecc1209e247b246b"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Sep 17 10:57:10 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Sep 17 19:37:59 2026 -0700"
      },
      "message": "When suggestions have a known includer target, don\u0027t complain that they\ndon\u0027t resolve to a single target.\n\nThis made a lot of sense when you had :foo1 and :foo2 both contain foo.cc in their sources,\nand you ran `gn suggest foo.cc\u003dbar.h`, but makes less sense when gn\ncheck complains that foo1 doesn\u0027t depend on bar and foo2 also doesn\u0027t\ndepend on bar.\n\nChange-Id: I1111e7c1b623015047721cf35e23420d6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26660\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "59107452bf84ce0d35bed08eecc1209e247b246b",
      "tree": "e3c1aa9b6eb18e01ca3a738bbd01ab703a84c3ac",
      "parents": [
        "3c5809c35bdb9b24c4f3dbe7df7d7af385824c1e"
      ],
      "author": {
        "name": "Marc Jin",
        "email": "jmarc@google.com",
        "time": "Wed Sep 16 07:23:51 2026 +0000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 06:37:26 2026 -0700"
      },
      "message": "rust_project_writer: Support aliased_deps in rust-project.json\n\nWhen generating rust-project.json via `gn gen --export-rust-project`,\nRustProjectWriter previously emitted only\n`dep-\u003erust_values().crate_name()` for crate dependencies in `\"deps\"`,\nignoring `target-\u003erust_values().aliased_deps()`.\n\nBy contrast, NinjaRustBinaryTargetWriter checks `aliased_deps()` when\npassing `--extern \u003calias\u003e\u003d\u003crlib\u003e` flags to `rustc`. When a target uses\n`aliased_deps` (such as renamed third-party Cargo crates),\n`rust-analyzer` and Kythe indexers consuming `rust-project.json` could\nnot resolve imports using the aliased name.\n\nThis change updates `AddTarget` in `rust_project_writer.cc` to check\n`target-\u003erust_values().aliased_deps()` and emit the aliased dependency\nname alongside `crate_name()`.\n\nBug:513301934\nCONV\u003d1d75e1e8-412c-4982-8ca8-e70282d906f4\nChange-Id: I9f90915d1c252aab24c3dcdc7552b115b6ef9779\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26620\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Marc Jin \u003cjmarc@google.com\u003e\n"
    },
    {
      "commit": "3c5809c35bdb9b24c4f3dbe7df7d7af385824c1e",
      "tree": "780471d4f685d319010e93a9837e578117aeaa6f",
      "parents": [
        "3968ba76ca4aadd1bc6089a0c0695faf12f4262e"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Tue Sep 08 23:58:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 05:20:39 2026 -0700"
      },
      "message": "Header check: validate includes before building diagnostics\n\nA header can belong to several targets. Diagnosing each candidate\nduring the search can build unrestricted reachability tables and\nerrors that are discarded when a later candidate permits the include.\n\nSeparate acceptance checks from diagnostics. First search for a target\nthat permits the include, checking visibility, permitted dependency\nchains, include exceptions and strict checking rules. Only enter the\ndiagnostic pass if the include is rejected.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):    2.70 s -\u003e 2.62 s\n  GCE c4d-384:     4.22 s -\u003e 4.08 s\n  Intel 13900KS:   2.55 s -\u003e 2.33 s\n\nCPU time (c4d-standard-384):\n  User:  31.6 s -\u003e 28.6 s (-9%)\n  Sys:   33.9 s -\u003e 34.0 s (0%)\n\nHeap stats:\n  Allocs (count):  53.78 M -\u003e 53.51 M (-1%)\n  Heap (total):    19.78 GB -\u003e 18.10 GB (-8%)\n  Heap (peak):      3.22 GB -\u003e  2.30 GB (-29%)\n\nChange-Id: I8c0118801072da1d37b7da291e5c047f9abfcd29\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26343\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "3968ba76ca4aadd1bc6089a0c0695faf12f4262e",
      "tree": "2336e7302db2d9c7f4a4bfffaf6ed02de4d1cc55",
      "parents": [
        "9adad59686716319ac6a229d174d9149e21f8e8e"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Tue Sep 08 23:58:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 05:12:36 2026 -0700"
      },
      "message": "Header check: defer unrestricted dependency walks\n\nPrecompute only the dependency reachability needed to permit includes.\nLeave the unrestricted walk, which also follows private dependencies\ntransitively, to the existing lazy lookup when no permitted path is\nfound. This avoids building large diagnostic tables for every checked\ntarget.\n\nUse a shared lock for reachability cache hits, taking the exclusive\nlock only on a miss.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):     3.13 s -\u003e 2.70 s\n  GCE c4d-384:      5.15 s -\u003e 4.22 s\n  Intel 13900KS:    3.30 s -\u003e 2.55 s\n\nCPU time (c4d-standard-384):\n  User:  38.5 s -\u003e 31.6 s (-18%)\n  Sys:   50.2 s -\u003e 33.9 s (-32%)\n\nHeap stats:\n  Allocs (count):  54.24 M -\u003e 53.78 M (-1%)\n  Heap (total):    24.92 GB -\u003e 19.78 GB (-21%)\n  Heap (peak):      5.46 GB -\u003e  3.22 GB (-41%)\n\nChange-Id: Idbd45609b60d465f78b240db93a33695af34c131\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26342\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "9adad59686716319ac6a229d174d9149e21f8e8e",
      "tree": "505252aa94b8d6d25d9e80c91ff87d4de014f1ed",
      "parents": [
        "81bf84fbeb4af082a64de04d17a09e65eb082013"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Tue Sep 08 23:58:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 05:12:11 2026 -0700"
      },
      "message": "Header check: batch reachability and file checking tasks\n\nPost reachability precomputation in groups of 32 targets and file\nchecking in groups of 64 files. This reduces queue operations and\ncompletion counter updates. Collect violations within each group and\nmerge them under one lock.\n\nShare the task posting and completion wait between both phases.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):    3.07 s -\u003e 3.13 s (within noise)\n  GCE c4d-384:     5.80 s -\u003e 5.15 s\n  Intel 13900KS:   3.24 s -\u003e 3.30 s (within noise)\n\nCPU time (c4d-standard-384):\n  User:  39.6 s -\u003e 38.5 s (-3%)\n  Sys:   45.4 s -\u003e 50.2 s (+11%)\n\nHeap stats:\n  Allocs (count):  54.24 M -\u003e 54.24 M (0%)\n  Heap (total):    24.93 GB -\u003e 24.92 GB (0%)\n  Heap (peak):      5.47 GB -\u003e  5.46 GB (0%)\n\nChange-Id: I8b884c5dd5c1bd58a40aaf151073ce9058326501\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26341\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\n"
    },
    {
      "commit": "81bf84fbeb4af082a64de04d17a09e65eb082013",
      "tree": "c844defa542048fdc8c0920da5cbb4b61c941ed0",
      "parents": [
        "1b0f22ec57d7b2ee354e7c59e0b6b3ba97680188"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Tue Sep 08 23:58:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 05:11:47 2026 -0700"
      },
      "message": "Header check: select files from the existing file map\n\nBuild the list of files to check by filtering the complete file map.\nThis avoids rebuilding a second map and repeating the work to merge\neach target\u0027s source, public and generated file metadata.\n\nDerive the targets for reachability precomputation from the selected\nfiles, so targets without eligible files do not get caches. Add a test\nfor this selection.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):    3.16 s -\u003e 3.07 s\n  GCE c4d-384:     5.96 s -\u003e 5.80 s\n  Intel 13900KS:   3.42 s -\u003e 3.24 s\n\nCPU time (c4d-standard-384):\n  User:  40.0 s -\u003e 39.6 s (-1%)\n  Sys:   53.0 s -\u003e 45.4 s (-14%)\n\nHeap stats:\n  Allocs (count):  55.16 M -\u003e 54.24 M (-2%)\n  Heap (total):    25.58 GB -\u003e 24.93 GB (-3%)\n  Heap (peak):      5.74 GB -\u003e  5.47 GB (-5%)\n\nChange-Id: Iaa4971421bf860d9453dc4ebfa5fd65452a1980c\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26340\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "1b0f22ec57d7b2ee354e7c59e0b6b3ba97680188",
      "tree": "ce4aa318ae4e4f8281cf018a0bec1c03b3679e52",
      "parents": [
        "5649e56e9e325ab8def3304906870ed4c5b397ca"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Apr 17 18:01:45 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 16 00:02:21 2026 -0700"
      },
      "message": "Add an allowlist for allow_circular_includes_from.\n\nBug: 556482973\n\nChange-Id: I6dffad2dfe0844be442cd554dbe12e2c6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/21942\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "5649e56e9e325ab8def3304906870ed4c5b397ca",
      "tree": "fdbedbec7455b7501d2d5fb5da817f1f9662d519",
      "parents": [
        "2ab81981a83bb790d40305773284476e8d7bef4c"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Sep 15 16:12:58 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 15 17:08:31 2026 -0700"
      },
      "message": "[gn] Use std::unordered_map for waiting_map_\n\nPreviously, BuilderRecord::waiting_map_ was a base::flat_map. For\nheavily depended-upon targets (such as core libraries like //base:base\nand popular configs) that have thousands of dependents, inserting a new\ndependent in waiting_map_ caused a binary search followed by an O(N)\nmemmove of all subsequent elements to keep the flat_map sorted.\n\nOnce StringAtomSet global lock contention is eliminated, worker threads\nparse and submit targets to the Builder at a much higher rate, making\nthese O(N) memmove insertions a major bottleneck on the main thread.\n\nHowever, waiting_map_ only requires point lookup by pointer and full\ntraversals to notify dependents of state changes; it never requires\nsorted order (and functions like GetSortedUnresolvedDeps already sort\ntheir output explicitly).\n\nSwitching to std::unordered_map eliminates the array shifts on insertion.\n\nBenchmark results (`gn gen out/Default` on Chromium, 5 runs with hyperfine,\nofficial release build configuration with Fuchsia Clang + libc++ +\nstatic libjemalloc.a + LTO):\n- Stacked on StringAtomSet sharding (CL 26540):\n  2.258s ± 0.035s -\u003e 2.060s ± 0.064s (-198ms / -8.8%, min 2.011s)\n- Compared to origin/main:\n  2.755s ± 0.029s -\u003e 2.060s ± 0.064s (-695ms / 1.34x faster)\n\nOutput ninja files remain bit-for-bit identical across all 14,639 files.\n\nTAG\u003dagy\nCONV\u003d4cb5d931-60a8-4f44-8632-3e8d9fb10a8d\n\nChange-Id: I3174ee798a5f6d0c58736fc05ad4ed2684b1d37c\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26560\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "2ab81981a83bb790d40305773284476e8d7bef4c",
      "tree": "1d8027fa8cd980e9a6fa179ac811d9042537ad99",
      "parents": [
        "4c122caddf1bdb454a2e2c06d850ba58fd508b90"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Sep 15 16:12:48 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 15 16:55:16 2026 -0700"
      },
      "message": "[gn] Shard StringAtomSet to avoid lock contention\n\nPreviously, StringAtomSet used a single global std::mutex to protect the\nglobal KeySet and Slab storage. On high-core-count machines, worker\nthreads frequently miss their thread-local cache for new strings across\nthousands of files, causing intense lock contention on this single\nmutex.\n\nProfiling Chromium\u0027s //out/Default build generation with official GN\nrelease build settings (Fuchsia Clang + libc++ + static libjemalloc.a +\nLTO) showed that kernel futex waits on StringAtomSet::find() accounted\nfor over 70% of the total System CPU time.\n\nThis change shards StringAtomSet into 256 independent, cache-aligned\n(alignas(64)) partitions indexed by the string hash\u0027s upper bits. In\naddition, both StringAtomSet and ThreadLocalCache pre-insert\nkEmptyString in their constructors so that empty strings hit directly\nwithout slab allocation or extra branches in the lookup hot path.\n\nBenchmark results (`gn gen out/Default` on Chromium, 5 runs with\nhyperfine, official release build configuration):\n- Wall-clock time: 2.755s ± 0.029s -\u003e 2.262s ± 0.038s (-493ms / 1.22x faster)\n- System CPU time: 14.079s -\u003e 4.030s (-10.05s / -71.4% reduction!)\n- User CPU time:   23.740s -\u003e 22.889s (-0.85s)\n\nOutput ninja files remain bit-for-bit identical across all 14,639 files.\n\nTAG\u003dagy\nCONV\u003d4cb5d931-60a8-4f44-8632-3e8d9fb10a8d\nChange-Id: I2d09d9f25c6c86482ef420282a41606308b8d8d4\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26540\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "4c122caddf1bdb454a2e2c06d850ba58fd508b90",
      "tree": "124541b5f4d9bf4e1520b3fc74ab88399554cb43",
      "parents": [
        "b98227b7c386f0c0434758588ae577a7dbdf838a"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Tue Sep 15 11:48:55 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 14 20:30:02 2026 -0700"
      },
      "message": "[gn] Use DCHECK in Target::info()\n\nFollow-up to https://gn-review.googlesource.com/c/gn/+/26480.\n\nAs pointed out by Matt Stark (msta@), having a lazy\n\u0027info_.emplace(this)\u0027 fallback inside Target::info() could theoretically\nallow concurrent mutation if info() were ever called on an unresolved\ntarget in a multi-threaded context.\n\nIn production, Target::OnResolvedWithoutChecks() is always called before\nany multi-threaded queries occur. Across the entire unit test suite (845\ntests), only a single test (NinjaCBinaryTargetWriterTest.\nDupeObjFileError) invoked NinjaCBinaryTargetWriter without calling\nOnResolved() first.\n\nBy adding \u0027ASSERT_TRUE(target.OnResolved(\u0026err))\u0027 to DupeObjFileError, we\ncan replace the lazy initialization in Target::info() with\n\u0027DCHECK(info_.has_value())\u0027, making info() strictly read-only and\nbranchless in release builds.\n\nNote: \u0027info_\u0027 itself remains \u0027mutable\u0027 because ResolvedTargetData\nqueries receive \u0027const Target*\u0027 and lazily compute/populate the cache\nfields inside TargetInfo (e.g., lib_dirs, inherited_libs). Keeping\n\u0027mutable\u0027 on \u0027info_\u0027 as a whole avoids scattering \u0027mutable\u0027 across ~20\nindividual fields inside TargetInfo and modifying all helper signatures.\n\nTAG\u003dagy\nCONV\u003d4cb5d931-60a8-4f44-8632-3e8d9fb10a8d\nChange-Id: I6a697e0172473d38b80ca04ea0985c6dab8e3d44\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26500\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "b98227b7c386f0c0434758588ae577a7dbdf838a",
      "tree": "e8cca3a179ff7bc8e8dc0bc4b42859e26a316d62",
      "parents": [
        "018bad7658017c397b47964f6cde71cab37ed6b1"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Mon Sep 14 21:15:21 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 14 19:39:22 2026 -0700"
      },
      "message": "[gn] Make ResolvedTargetData stateless\n\nProfiling \u0027gn gen\u0027 on Chromium \u0027out/Default\u0027 (36k targets, 64 cores)\nrevealed that ResolvedTargetData::GetTargetInfo was a major bottleneck:\n- std::__Cr::__shared_mutex_base::lock_shared() consumed 9.01% cycles.\n- Hash computation (CityHash/hash_memory) consumed 14.35% cycles.\nTogether, about 23% of total CPU cycles were spent on every query\nacquiring shared_locks and probing shard hash maps, even though targets\nare queried repeatedly and their pointers are immutable after\nresolution.\n\nAs suggested by Matt Stark (msta@), we can simplify this significantly:\n\n1. Move TargetInfo directly into Target as \u0027std::optional\u003cTargetInfo\u003e\u0027.\n2. Initialize \u0027info_\u0027 when Target::OnResolvedWithoutChecks() is called\n   (with a fallback lazy initialization in info() for unit tests that\n   skip OnResolved).\n3. Make ResolvedTargetData completely stateless. GetTargetInfo() simply\n   returns \u0027\u0026target-\u003einfo()\u0027 inline with zero locks, zero hashing, and\n   zero dynamic heap allocations for TargetInfo map entries.\n4. Because Target owns its TargetInfo directly, the lifetime of\n   TargetInfo perfectly matches Target, eliminating any possibility of\n   use-after-free or address-reuse (ABA) bugs when Targets or\n   ResolvedTargetData instances are destroyed in unit tests.\n\nPerformance impact on Chromium \u0027out/Default\u0027 (vs origin/main):\n- Wall-clock time: 3.281s -\u003e 3.173s (-108ms, -3.3%)\n- User CPU time:   30.87s -\u003e 27.32s (-3.55s, -11.5%)\n- CPU cycles:     102.91G -\u003e 89.86G (-13.05G cycles, -12.7%)\n- Instructions:   110.14G -\u003e 102.72G (-7.42G instrs, -6.7%)\n\nAll 845 unit tests passed. Output ninja files are bit-for-bit identical.\n\nTAG\u003dagy\nCONV\u003d4cb5d931-60a8-4f44-8632-3e8d9fb10a8d\nChange-Id: Ib23f999522044d5b4b46128491d54ef9061ef4b5\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26480\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "018bad7658017c397b47964f6cde71cab37ed6b1",
      "tree": "77a95e087af535c0cb9e8c161fbb69821e8f10ca",
      "parents": [
        "cfcd774b98f3433e18b722f9a7ff06119825b8eb"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Mon Sep 14 16:53:50 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 14 01:09:34 2026 -0700"
      },
      "message": "[recipe] Enable THP for jemalloc build in GN recipe\n\nConfigure jemalloc with --with-malloc-conf\u003dthp:always to enable\nTransparent Huge Pages (THP) by default on Linux.\n\nWhen running large GN generation tasks (such as Chromium\u0027s gn gen),\njemalloc allocates extensive virtual memory ranges. Without THP enabled\nby default, allocations rely heavily on 4KB pages, leading to\nsignificant kernel overhead in page fault handling and page table walks\n(minor page faults: ~467k).\n\nBy enabling thp:always, jemalloc proactively uses 2MB huge pages via\nmadvise(MADV_HUGEPAGE), reducing minor page faults by 54% and improving\nwall clock time by ~218ms (~6.7%).\n\nBenchmark (`hyperfine --warmup 2 --runs 10` on Chromium `gn gen`):\n- jemalloc (default):       3.236 s ± 0.028 s\n- jemalloc (thp:always):    3.018 s ± 0.052 s  (-218 ms, 1.07x faster)\n\nperf stat comparison:\n- Minor faults:  467,490 -\u003e 215,229 (-54.0%)\n- CPU cycles:    104.9G  -\u003e 98.2G   (-6.7B cycles)\n- User CPU time: 26.54s  -\u003e 23.92s  (-2.62s)\n- Sys CPU time:  17.51s  -\u003e 15.62s  (-1.89s)\n\nTAG\u003dagy\nCONV\u003d4cb5d931-60a8-4f44-8632-3e8d9fb10a8d\nChange-Id: I134509479c0cf74c397cea8c8227d911e2734963\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26460\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "cfcd774b98f3433e18b722f9a7ff06119825b8eb",
      "tree": "138d4ae881be77eb7b03750776fb20e988928804",
      "parents": [
        "0625da07ece7b1a374ec0719b6f40ebe3d0950c1"
      ],
      "author": {
        "name": "Philipp Wollermann",
        "email": "philwo@google.com",
        "time": "Tue Sep 08 23:58:09 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Fri Sep 11 03:30:22 2026 -0700"
      },
      "message": "Header check: avoid interning paths during include lookup\n\nResolving each include against each include directory constructs a\nSourceFile, which interns the candidate path even when lookup fails.\nThis adds allocations and contention on the shared interning lock.\n\nUse a hash map keyed by path string views. Normalize candidate paths\nin a reusable buffer, look them up directly, and return the SourceFile\nstored in the matching entry.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):    3.91 s -\u003e 3.16 s\n  GCE c4d-384:     7.71 s -\u003e 5.96 s\n  Intel 13900KS:   4.11 s -\u003e 3.42 s\n\nCPU time (c4d-standard-384):\n  User:  43.8 s -\u003e 40.0 s (-9%)\n  Sys:  121.1 s -\u003e 53.0 s (-56%)\n\nHeap stats:\n  Allocs (count):  64.84 M -\u003e 55.16 M (-15%)\n  Heap (total):    26.27 GB -\u003e 25.58 GB (-3%)\n  Heap (peak):      5.95 GB -\u003e  5.74 GB (-4%)\n\nChange-Id: Iefb962d72efcba69361bccce430e41d10a63c2a9\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26320\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\n"
    },
    {
      "commit": "0625da07ece7b1a374ec0719b6f40ebe3d0950c1",
      "tree": "2213edbbe654ebfb3796fbf927b225d946cf1aba",
      "parents": [
        "f99972118649814cd21b180eab5ae84df3c5fac7"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Sep 10 10:59:44 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Sep 10 00:47:00 2026 -0700"
      },
      "message": "Improve heuristic to disambiguate recommended dependency to add.\n\nIf it still is ambiguous after applying visibility rules, we\ndisambiguate by label.\n\nChange-Id: I1a36609a24091cc4780e166532f211f26a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26420\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "f99972118649814cd21b180eab5ae84df3c5fac7",
      "tree": "e89384355bb9f15f33411b9e0ca879408a4e8463",
      "parents": [
        "e095a1af96872a6afa80ece00fdcd7f151cbdc79"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 09 14:29:15 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 09 01:46:55 2026 -0700"
      },
      "message": "No longer automatically add files to public.\n\nIt is more preferred to split into a source set if you have public\ndepending on a private header.\n\nConveniently, this also means that `gn check --fix` will never succeed\nand then break if you run it immediately after (which it would\npreviously do because the header that was made public may require\nsomething to be moved from deps to public_deps)\n\nChange-Id: I762a529c279232c6d7edb94bf99eecbc6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26400\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "e095a1af96872a6afa80ece00fdcd7f151cbdc79",
      "tree": "f939e9e2190baaafd48d0de8fb6ee3fa6dcba3e4",
      "parents": [
        "c0e4aae6d809a08cd402432a7d23494fc3b2a776"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 09 13:52:33 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 09 01:12:05 2026 -0700"
      },
      "message": "Deduplicate deps/public_deps and sources/public in gn edit\n\nWhen running `gn check --fix`, if you added a #include to both the .cc\nand the .h file, you will get the following suggestions:\n* \"add deps //dep\"\n* \"add public_deps //dep\"\n\nThis ensures that it will only get added to public_deps.\n\nAdditionally, change gn suggest to recommend adding to public_deps\ninstead of moving from deps to public_deps.\n\nChange-Id: I59074724bb5ed61a3499f1a81d2f3b356a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26380\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "c0e4aae6d809a08cd402432a7d23494fc3b2a776",
      "tree": "c9ed055e6075bf57123d2f7cf74a14cb7cbd9593",
      "parents": [
        "5df47e556efde72cc576d8a3af23b58b614345bd"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 09 12:37:46 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 08 20:13:30 2026 -0700"
      },
      "message": "Preserve toolchain when generating suggestions in gn check\n\nRecord the source target on HeaderChecker::Violation so that CheckPublicHeaders\npasses the actual toolchain of the violating target to OutputSuggestions,\npreventing incorrect cross-toolchain suggestions.\n\nChange-Id: I7625f30ced367c2f8680e673fc5a5d0b6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26360\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "5df47e556efde72cc576d8a3af23b58b614345bd",
      "tree": "a8dc087ba3d4cd350ba7af0002b8ddfb87d1179e",
      "parents": [
        "28fc44708c4fe418a3c243931067e99e6497e3f8"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Mon Sep 07 13:29:10 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 07 23:04:29 2026 -0700"
      },
      "message": "Use ReachabilityCache to improve performance of loop detection\n\nTogether with the previous optimizations, this changes the time\ncomplexity of suggestions be no longer proportional to the number of targets in the build graph.\n\nTo benchmark this, I changed the allowlist for `check_includes_strict`\nto //*, then ran `gn check`.\n\nBefore: Outputs a few errors per second. Left it running for a few\nminutes and I had no way to tell how long it was going to take, but\nprobably hours.\nAfter: Outputs 295,000 errors in 22 seconds.\n\nChange-Id: I4658aa7f612400eec44870c7dc962f176a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26242\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "28fc44708c4fe418a3c243931067e99e6497e3f8",
      "tree": "3761fe788ea6a2f462f5bd0d8557060dac7a9e83",
      "parents": [
        "3163718ce782913d01d204fd4199fd0195feaa6e"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Sep 08 15:24:57 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 07 22:51:48 2026 -0700"
      },
      "message": "Support `target(target_type, name)` in `gn edit`\n\nChange-Id: Ic0b136bb5ddebb969411bc9ff56161bd6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26300\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "3163718ce782913d01d204fd4199fd0195feaa6e",
      "tree": "8ded4d1f95dec0fd7c886c0deb05091956f8662a",
      "parents": [
        "8288110acdeed00caec4b22b6427f0c0262f6888"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Mon Sep 07 12:53:05 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 07 17:38:02 2026 -0700"
      },
      "message": "Cache reverse dependencies for dependency exposure.\n\nThis is part of a larger process to improve the performance of\nsuggestions, but does not have change the time complexity until gn-review.googlesource.com/c/gn/+/26242 is submitted (benchmarks in that commit)\n\nChange-Id: Ic0bd366f7b2639f16a9e633dde527cec6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26281\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "8288110acdeed00caec4b22b6427f0c0262f6888",
      "tree": "5106cc05812a502d7de2295c73e8d479bd0c0b11",
      "parents": [
        "5b0f88306254204d364088e0231f35c0d9202929"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Mon Sep 07 12:29:42 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 07 17:27:53 2026 -0700"
      },
      "message": "Skip attempting to resolve known files as module names.\n\nThis is part of a larger process to improve the performance of\nsuggestions, but does not have change the time complexity until gn-review.googlesource.com/c/gn/+/26242 is submitted (benchmarks in that commit)\n\nChange-Id: I6e0067ca86f1e1afc6c8a828004011fd6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26260\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "5b0f88306254204d364088e0231f35c0d9202929",
      "tree": "c37ddc67ce5c1a64cac0686463b38501d1c09946",
      "parents": [
        "4f6a76b64b8279e98004f541f8e136307efe5e01"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Sep 04 17:05:59 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Sep 07 17:26:15 2026 -0700"
      },
      "message": "Cache file path -\u003e target lookup in `gn suggest`.\n\nThis is part of a larger process to improve the performance of\nsuggestions, but does not have change the time complexity until gn-review.googlesource.com/c/gn/+/26242 is submitted (benchmarks in that commit)\n\nChange-Id: Ia47be0e501d26be321ad2fdc8681750b6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26240\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "4f6a76b64b8279e98004f541f8e136307efe5e01",
      "tree": "fe26053b0042bcf793cdb4e29f0c95158cff6baa",
      "parents": [
        "356ee8a865882bb3615422539ef262e32b102030"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Fri Sep 04 12:01:52 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Thu Sep 03 19:59:16 2026 -0700"
      },
      "message": "Make `gn edit move` idempotent.\n\n`gn check --fix` currently outputs errors when it tries to apply the\nsame move twice. This fixes move to be a no-op when it\u0027s already\napplied, similar to other commands.\n\nChange-Id: Id0b8182d3fc8e9f9d6d308951f387f766a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26220\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "356ee8a865882bb3615422539ef262e32b102030",
      "tree": "58d6ce8801e2a4de04894528fe302de0765a3ad7",
      "parents": [
        "7e0a9f67f1ebe9db9459a651d20728467fc8aa7f"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Sep 03 10:14:08 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 02 20:22:59 2026 -0700"
      },
      "message": "When re-running build/gen.py from ninja, preserve environment variables.\n\nThis ensures that when you run:\n```\nCXX\u003dPATH_TO_CXX build/gen.py ...\nninja -C out\n```\n\nPATH_TO_CXX is actually used when building\n\nChange-Id: Ie9b7fb149bd37181e7e1ba76024a9a806a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26180\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "7e0a9f67f1ebe9db9459a651d20728467fc8aa7f",
      "tree": "79994b5b05b1d459900d858818b3fce510225f22",
      "parents": [
        "16d3d2e28c3f2162c78f86e6295da17e0a847a97"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 02 15:23:47 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 02 20:09:30 2026 -0700"
      },
      "message": "Implement pretty for several more types\n\nChange-Id: I47ca96f5d8183de90cbd26e1386001536a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26201\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "16d3d2e28c3f2162c78f86e6295da17e0a847a97",
      "tree": "18a81772b906861e81e27e4a87c84175eee7c1db",
      "parents": [
        "7826279d0e70c08cd639db7c845b9eef56a76bdf"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 02 11:57:05 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Wed Sep 02 16:37:03 2026 -0700"
      },
      "message": "Ensure `gn edit` follows the style guide for variable ordering.\n\nInstead of just inserting new variables at the end, we now find the\nappropriate place to insert them.\n\nChange-Id: I612079782ac5861e46f80c87baefb37b6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26160\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "7826279d0e70c08cd639db7c845b9eef56a76bdf",
      "tree": "3c951c379a9ab12c75f50e9802107c1095d4341e",
      "parents": [
        "1c73f62240db1517dfd60ff193f53f2e4a52f3a5"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Wed Sep 02 10:06:16 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 01 23:58:56 2026 -0700"
      },
      "message": "Simplify code produced by gn edit.\n\nWhen you remove entries from a list, this cleans up the list afterwards.\n\nChange-Id: I719ba89eba3cf3a25087bd48164a1cea6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26100\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "1c73f62240db1517dfd60ff193f53f2e4a52f3a5",
      "tree": "2506190c9d8f206c583b0830580e640008c68d91",
      "parents": [
        "f73e445a29d44030f1904770f37f0af6d6e0fe6d"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Sep 01 12:47:03 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 01 23:32:17 2026 -0700"
      },
      "message": "Support setting expressions in `gn edit`\n\nPreviously the expressions would be converted to a string, but now they\ncan be evaluated as an expression\n\nChange-Id: Id583c8071b6e5c4b46a68a7806b3c3a56a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26060\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "f73e445a29d44030f1904770f37f0af6d6e0fe6d",
      "tree": "4adddb82b25f26faf9680713c4e3a169e18cd100",
      "parents": [
        "8e99cccde6c2b7e4e9a2076baf68b45d40f15613"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Sep 01 21:00:12 2026 -0700"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 01 21:09:40 2026 -0700"
      },
      "message": "Revert \"Write to ninja files via a standard API\"\n\nThis reverts commit 8e99cccde6c2b7e4e9a2076baf68b45d40f15613.\n\nReason for revert: Speculative rollback\n\nFailure Link: https://ci.chromium.org/ui/p/chromium/builders/try/ios-simulator/2976370/overview\n\nOriginal change\u0027s description:\n\u003e Write to ninja files via a standard API\n\u003e\n\u003e This paves the way to have multiple targets in a single ninja file,\n\u003e which in turn should allow us to shard targets without degrading build\n\u003e performance.\n\u003e\n\u003e Benchmarking reveals a statistically insignificant impact on\n\u003e performance, and `siso dump` (crrev.com/c/8275910) reveals that the build graph\n\u003e is identical to before.\n\u003e\n\u003e Change-Id: I188fd8b075bb2f5cec9ff253c9220ae26a6a6964\n\u003e Reviewed-on: https://gn-review.googlesource.com/c/gn/+/25740\n\u003e Reviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n\u003e Commit-Queue: Matt Stark \u003cmsta@google.com\u003e\n\nTBR\u003dtikuta@google.com,gn-scoped@luci-project-accounts.iam.gserviceaccount.com,msta@google.com\n\nNo-Presubmit: true\nNo-Tree-Checks: true\nNo-Try: true\nChange-Id: Ia10bceec638142f3c2be2f2e7c613d84da5f8d35\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26121\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "8e99cccde6c2b7e4e9a2076baf68b45d40f15613",
      "tree": "41c656883841ed652e03b3b5418dddefcb3c8a5f",
      "parents": [
        "02564b488c094a278eabe630ec53a22ff5a98feb"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Thu Aug 20 15:09:21 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Tue Sep 01 18:47:34 2026 -0700"
      },
      "message": "Write to ninja files via a standard API\n\nThis paves the way to have multiple targets in a single ninja file,\nwhich in turn should allow us to shard targets without degrading build\nperformance.\n\nBenchmarking reveals a statistically insignificant impact on\nperformance, and `siso dump` (crrev.com/c/8275910) reveals that the build graph\nis identical to before.\n\nChange-Id: I188fd8b075bb2f5cec9ff253c9220ae26a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/25740\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "02564b488c094a278eabe630ec53a22ff5a98feb",
      "tree": "4adddb82b25f26faf9680713c4e3a169e18cd100",
      "parents": [
        "a99d46a9d04c770d6bb87387058e1d7b151758ce"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Sep 01 15:58:33 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Aug 31 23:44:41 2026 -0700"
      },
      "message": "Use move instead of add where suitable when suggesting fixes.\n\nIf something is in deps but should be in public_deps, we now output a\nsuggestion to move it from deps to public_deps instead of just\nsuggesting we add it.\n\nChange-Id: I09c5f35f1317ec7b39cea49ec3ef9ca56a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26080\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Junji Watanabe \u003cjwata@google.com\u003e\n"
    },
    {
      "commit": "a99d46a9d04c770d6bb87387058e1d7b151758ce",
      "tree": "17f5c66e716a5a6657e0a1220479b3b981981607",
      "parents": [
        "a6f2c97a38c6263c64a32ce7c83a45fdbe61d4e3"
      ],
      "author": {
        "name": "Matt Stark",
        "email": "msta@google.com",
        "time": "Tue Sep 01 12:24:37 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Aug 31 20:02:52 2026 -0700"
      },
      "message": "Fix EditCommandTest.ShardSubcommand\n\nThis is failing because:\n* CQ+1 passed when appplying a change to the formatter\n* I added the ShardSubcommand test which would have been affected by it\n* When I CQ+2\u0027d it, it didn\u0027t rerun the tests.\n\nChange-Id: I31990b23c450ab4c529187fbdbfb25a76a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26040\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\n"
    },
    {
      "commit": "a6f2c97a38c6263c64a32ce7c83a45fdbe61d4e3",
      "tree": "3e49f6754a7cdf5d9162dc71870f5f219266f7d3",
      "parents": [
        "4cf50b377b8eb25042ce517d51ceee17d678e3ab"
      ],
      "author": {
        "name": "Takuto Ikuta",
        "email": "tikuta@google.com",
        "time": "Mon Aug 31 16:57:33 2026 +0900"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Aug 31 01:10:52 2026 -0700"
      },
      "message": "Support public_inputs in gn desc\n\nThis change adds support for public_inputs in `gn desc` and\n`DescBuilder`.\n\nTargets declaring `public_inputs` (such as `action` and `group`) will\nnow include their `public_inputs` in descriptions, supporting both\nindividual queries (`gn desc \u003cout\u003e \u003ctarget\u003e public_inputs`) and JSON\nexport (`--format\u003djson` / `--ide\u003djson`).\n\nChange-Id: I2fa1925e2896c63101345f87cefd42727582ee32\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/25940\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\nReviewed-by: David Turner \u003cdigit@google.com\u003e\n"
    },
    {
      "commit": "4cf50b377b8eb25042ce517d51ceee17d678e3ab",
      "tree": "870f561e5852df9ced4f72a447d87514ef6e649c",
      "parents": [
        "150a9d6ba0aa7f407aa4feeabc5f03ce9aa7e04b"
      ],
      "author": {
        "name": "msta",
        "email": "msta@google.com",
        "time": "Thu Aug 20 13:17:41 2026 +1000"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Aug 31 00:24:45 2026 -0700"
      },
      "message": "Update `gn format` to always insert newlines before targets.\n\nChange-Id: Ie1d0e3be4ee053d4a742bb3dfd2266b96a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/25621\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n"
    },
    {
      "commit": "150a9d6ba0aa7f407aa4feeabc5f03ce9aa7e04b",
      "tree": "f13e212eb8712e2ac210adaef5803320993fdd14",
      "parents": [
        "d71c4a70bd2ece461a09cbd6321970b9247fdab2"
      ],
      "author": {
        "name": "David \u0027Digit\u0027 Turner",
        "email": "digit@google.com",
        "time": "Fri Aug 28 15:01:20 2026 +0200"
      },
      "committer": {
        "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
        "time": "Mon Aug 31 00:01:01 2026 -0700"
      },
      "message": "run_formatter.sh: Warn if `rustfmt` is not installed.\n\nMy workstation didn\u0027t have `rustfmt` installed, which resulted\nin weird cargo errors when running the script. This changes\nit to check for `cargo fmt --version` first before trying\nto run it, and print a warning otherwise.\n\n+ Fix a series of issues reported by shellcheck, by using\n  better quoting an array variables to manage lists.\n\nChange-Id: I7920900d33a3cdca83297d8edda78f4f3b2b3693\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/25820\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n"
    }
  ],
  "next": "d71c4a70bd2ece461a09cbd6321970b9247fdab2"
}
