Files
David 'Digit' Turner 0e7d98e041 Add collect_validations_metadata boolean flag to generated_file() targets.
The default is false, unless the .gn flag
experimental_collect_validations_metadata is set to true.

When this flag is true, metadata walks will visit validation
dependencies. This may result in runtime crashes due to the
data race described in the associated bug.

A future CL will ensure that walks that include validations
are always performed after all targets have been resolved
to fix the issue.

Bug: 566346002
Change-Id: I12a8d913aa3895de8ec991b3a491c45e41b0cbfa
Reviewed-on: https://gn-review.googlesource.com/c/gn/+/27085
Reviewed-by: Takuto Ikuta <tikuta@google.com>
Commit-Queue: David Turner <digit@google.com>
2026-10-01 06:16:15 -07:00
..
2021-02-08 16:49:19 +00:00