Extensions > API reference > runfiles


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.


depset runfiles.empty_filenames

Returns names of empty files to create.


depset runfiles.files

Returns the set of runfiles as files.


runfiles runfiles.merge(other)

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


Parameter Description
other ; required
The runfiles object to merge into this.

depset runfiles.root_symlinks

Returns the set of root symlinks.

depset runfiles.symlinks

Returns the set of symlinks.