List of labels; optional
Files needed by this rule at runtime. May list file or rule targets. Generally allows any target.
The default outputs and runfiles of targets in the data
attribute
should 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. 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.