Declares a group of resources to be included in a Fuchsia package.
Compiled binaries and libraries cannot be packaged as resources; use
fx_packaged_binary() instead.
Installing directly into bin/ is disallowed unless
allow_binary_output_dir = True (intended only for non-ELF files like shell
scripts).
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | - |
| srcs | The resource to include in the package. | Label List | required | - |
| dest | The path where this will be installed in the package. Cannot start with bin/ unless allow_binary_output_dir is True. |
String | required | - |
| strip_prefix | A path to remove from the srcs | String | optional | "" |
| basename_only | The dir will be removed from srcs attribute, and installed in dest + basename | Boolean | optional | False |
| allow_binary_output_dir | Whether to allow installing non-ELF files (such as shell scripts) into bin/. |
Boolean | optional | False |