Declares a resource to be included in a Fuchsia package.

`src` can be a static file or something generated by another rule. Compiled
binaries and libraries cannot be packaged as resources; use
`fx_packaged_binary()` instead.

`dest` must be a path relative to /. Installing directly into `bin/` is
disallowed unless `allow_binary_output_dir = True` (intended only for non-ELF
files like shell scripts).

This rule can be added as a dependency of a fuchsia_package and it
will be added to the final package contents.

## **ATTRIBUTES**

| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | [Name](https://bazel.build/concepts/labels#target-names) | required | - |
| src | The resource to include in the package. | [Label](https://bazel.build/rules/lib/toplevel/attr#label) | required | - |
| dest | The path where this will be installed in the package. Cannot start with `bin/` unless `allow_binary_output_dir` is True. | [String](https://bazel.build/rules/lib/toplevel/attr#string) | required | - |
| allow_binary_output_dir | Whether to allow installing non-ELF files (such as shell scripts) into `bin/`. | [Boolean](https://bazel.build/rules/lib/toplevel/attr#bool) | optional | `False` |