Skip to main content
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

Returns names of empty files to create.

files

Returns the set of runfiles as files.

merge

Returns a new runfiles object that includes all the contents of this one and the argument. 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

ParameterDescription
otherrunfiles; required The runfiles object to merge into this.

merge_all

Returns a new runfiles object that includes all the contents of this one and of the runfiles objects in the argument.

Parameters

ParameterDescription
othersequence of runfiless; required The sequence of runfiles objects to merge into this.
Returns the set of root symlinks.
Returns the set of symlinks.