Skip to main content
A provider that gives general information about a target’s direct and transitive files. Every rule type has this provider, even if it is not returned explicitly by the rule’s implementation function. See the rules page for extensive guides on how to use this provider.

Members

DefaultInfo

The DefaultInfo constructor.

Parameters

data_runfiles

runfiles descriptor describing the files that this target needs when run in the condition that it is a data dependency attribute. Under most circumstances, use the default_runfiles parameter instead. See “runfiles features to avoid” for details. May return None.

default_runfiles

runfiles descriptor describing the files that this target needs when run (via the run command or as a tool dependency). May return None.

files

A depset of File objects representing the default outputs to build when this target is specified on the bazel command line. By default it is all predeclared outputs. May return None.

files_to_run

A FilesToRunProvider object containing information about the executable and runfiles of the target. May return None.