From fe7222fc921c683eb3a261796c060f454e1171c8 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 13 Nov 2026 05:44:19 +0000 Subject: [PATCH] gn: upgrade to latest revision Group missing generated input errors by target and improve error messages. Fix infinite recursion in "gn refs --tree --all" Factor out helpers for generated_file() variables Delay the whole Ninja writer of delayed generated_file() targets Add TODO to check transitive deps by default in gn check Create a function to calculate relative labels. Header check: wait for chunked work with std::latch Add --with-transitive-deps to gn check Report .gn errors instead of crashing Accept multiple label patterns in gn check Fix how the regeneration command writes gn's own paths Do not backslash-escape non-ASCII UTF-8 bytes on POSIX Improve performance of escape functions. Improve performance of StringOutputBuffer. Reimplement EscapeStringToStream with zero-copy. Propagate should_generate to sub-configs [infra] Roll mac_toolchain to latest version Stop integration tests from running every ninja invocation. Replace instances of o(string)stream with StringOutputBuffer. Only disable check_includes_strict optimization for exempted includers Make build/gen.py use hermetic clang. Cherry-pick script that runs your changes to recipes in CI Improve StringOutputBuffer to act more like an o(string)stream Disable check_includes_strict optimizations when there are exceptions. Refactor CheckIncludesStrictExceptions API Replace std::endl with '\n'. Refactor string_output_buffer to support "Reserve". Add check_includes_strict_exceptions configuration to .gn Stop forwarding private hard_deps on Rust targets Make StringAtom use pointer equality and hashing Fix "Ouput" typos Add no_check_generated_targets .gn variable Improve the suggestion heuristic for depending on targets. Do not generate last_commit_position.h in debug builds. Enable check_includes_strict by default. Disable rust formatter on main branch. Add include sorting configuration to .clang-format and reformat Delayed generated_file() writes if they collect validations metadata Stop forwarding private hard_deps on check_includes_strict targets Add `collect_validations_metadata` boolean flag to generated_file() targets. Add new experimental_collect_validations_metadata .gn variable Move generated_file() writes to dedicated function. Avoid canonicalization + string comparisons during metadata collection. Use internal state struct for Target::GetMetadata(). Fix minor Scheduler data races. rust: Don't make rlibs depend on non-Rust link inputs gn edit: keep build files alive for warnings Add instructions for agent to build GN and run code / tests Write phony rules for harddeps Support conditional sources for gn check. Don't write order-only deps reachable through direct deps When suggestions have a known includer target, don't complain that they don't resolve to a single target. rust_project_writer: Support aliased_deps in rust-project.json Header check: validate includes before building diagnostics Header check: defer unrestricted dependency walks Header check: batch reachability and file checking tasks Header check: select files from the existing file map Add an allowlist for allow_circular_includes_from. [gn] Use std::unordered_map for waiting_map_ [gn] Shard StringAtomSet to avoid lock contention [gn] Use DCHECK in Target::info() [gn] Make ResolvedTargetData stateless [recipe] Enable THP for jemalloc build in GN recipe --- meta/recipes-devtools/gn/gn_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gn/gn_git.bb b/meta/recipes-devtools/gn/gn_git.bb index 6e8626dc32..ea4b0648ec 100644 --- a/meta/recipes-devtools/gn/gn_git.bb +++ b/meta/recipes-devtools/gn/gn_git.bb @@ -8,7 +8,7 @@ UPSTREAM_CHECK_COMMITS = "1" SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \ " -SRCREV = "cfcd774b98f3433e18b722f9a7ff06119825b8eb" +SRCREV = "311003f8ea3500f8ce87c43ff61aec6f4066dac2" PV = "0+git" BB_GIT_SHALLOW = "" -- 2.47.1