A rule that provides file(s) specific via DefaultInfo from a given target's DefaultInfo or OutputGroupInfo
output_files
output_files(<a href="#output_files-name">name</a>, <a href="#output_files-output_group">output_group</a>, <a href="#output_files-paths">paths</a>, <a href="#output_files-target">target</a>)
A rule that provides file(s) specific via DefaultInfo from a given target's DefaultInfo or OutputGroupInfo
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|
| name | A unique name for this target. | Name | required | |
| output_group | if set, we look in the specified output group for paths instead of DefaultInfo | String | optional | "" |
| paths | the paths of the file(s), relative to their roots, to provide via DefaultInfo from the given target's DefaultInfo or OutputGroupInfo | List of strings | required | |
| target | the target to look in for requested paths in its' DefaultInfo or OutputGroupInfo | Label | required | |
make_output_files
make_output_files(<a href="#make_output_files-name">name</a>, <a href="#make_output_files-target">target</a>, <a href="#make_output_files-paths">paths</a>, <a href="#make_output_files-kwargs">kwargs</a>)
Helper function to generate a output_files target and return its label.
PARAMETERS
| Name | Description | Default Value |
|---|
| name | unique name for the generated output_files target | none |
| target | target attribute passed to generated output_files target | none |
| paths | paths attribute passed to generated output_files target | none |
| kwargs | parameters to pass to generated output_files target | none |
RETURNS
The label name