mirror of
https://github.com/aphrody-labs/gn.git
synced 2026-10-13 21:06:29 +00:00
A "gn check --check-generated" failure in a generated source can only be suppressed with no_check_targets or check_includes = false, both of which also skip the target's handwritten files. no_check_generated_targets is a list of label patterns in .gn, in the same format as no_check_targets. With --check-generated, gn check skips the generated files (files in the output directory) of matching targets and still checks their other files. Like check_targets and no_check_targets, the list is not used when a label pattern is given on the command line. gn check results are unchanged if the list is unset. Bug: 559888973 Change-Id: I500cb396ca271daa69a407ea333e56438a28d6f4 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/27220 Reviewed-by: Takuto Ikuta <tikuta@google.com> Reviewed-by: Matt Stark <msta@google.com> Commit-Queue: Ryosuke Miyake <rysk@google.com>