Members
attr
attrs dict provided to the rule function. See example of use.
exec_groups
executable
struct containing executable files defined in label type attributes marked as executable=True. The struct fields correspond to the attribute names. Each value in the struct is either a File or None. If an optional attribute is not specified in the rule then the corresponding struct value is None. If a label type is not marked as executable=True, no corresponding struct field is generated. See example of use.
file
struct containing files defined in label type attributes marked as allow_single_file. The struct fields correspond to the attribute names. The struct value is always a File or None. If an optional attribute is not specified in the rule then the corresponding struct value is None. If a label type is not marked as allow_single_file, no corresponding struct field is generated. It is a shortcut for:
file to access the (singular) default output of a dependency. See example of use.
files
struct containing files defined in label or label list type attributes. The struct fields correspond to the attribute names. The struct values are list of File s. It is a shortcut for:
files to access the default outputs of a dependency. See example of use.