A container of information regarding a set of files required at runtime execution. This object should be passed via DefaultInfo in order to tell the build system about the runfiles needed by the outputs produced by the rule.
See runfiles guide for details.
Members
empty_filenames
depset runfiles.empty_filenames
files
depset runfiles.files
merge
runfiles runfiles.merge(other)
Note: When you have many runfiles objects to merge, use merge_all()
rather than calling merge
in a loop. This avoids constructing deep depset structures which can cause build failures.
Parameters
Parameter | Description |
---|---|
other
|
required The runfiles object to merge into this. |
merge_all
runfiles runfiles.merge_all(other)
Parameters
Parameter | Description |
---|---|
other
|
sequence of runfiless;
required The sequence of runfiles objects to merge into this. |
root_symlinks
depset runfiles.root_symlinks
symlinks
depset runfiles.symlinks