DefaultInfo instance has the following fields:
files*files_to_run*data_runfiles*default_runfiles
Members
DefaultInfo
DefaultInfo constructor.
Parameters
data_runfiles
data dependency attribute. Under most circumstances, use the default_runfiles parameter instead. See “runfiles features to avoid” for details.
May return None.
default_runfiles
run command or as a tool dependency).
May return None.
files
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
FilesToRunProvider object containing information about the executable and runfiles of the target.
May return None.
to_json
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a JSON string from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs, a list of these types or a dictionary with string keys and values of these types. Quotes and new lines in strings are escaped. Examples:
to_proto
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a text message from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs or dicts or lists of these types. Quotes and new lines in strings are escaped. Struct keys are iterated in the sorted order. Examples: