List of labels; default is []

Files needed by this rule at runtime. May list file or rule targets. Generally allows any target.

The runfiles of targets in the data attribute appear in the *.runfiles area of any executable which is output by or has a runtime dependency on this target. This may include data files or binaries used when this target's srcs are executed. Typically, this includes the targets' default outputs and their transitive runfiles, but this depends on the implementation of the rules for those targets; most rules include their default outputs in their runfiles. See the data dependencies section for more information about how to depend on and use data files.

New rules should define a data attribute if they process inputs which might use other inputs at runtime. Rules' implementation functions must also populate the target's runfiles from the outputs and runfiles of any data attribute, as well as runfiles from any dependency attribute which provides either source code or runtime dependencies.