Creates a Fuchsia package from a directory.
This enables Bazel assembly to consume packages distributed in the form of directories.
NOTE: Packages are defined by their manifests, and it is possible for multiple packages to share the same directory.
Usages example:
fuchsia_package_directory(
name = "foo",
package_manifest = "packages/foo/package_manifest.json",
root = "path/to/root",
)
fuchsia_package_directory(
name = "bar",
package_manifest = "packages/bar/package_manifest.json",
root = "path/to/root",
)
PARAMETERS
Name | Description | Default |
---|---|---|
name | Name of this target. | - |
root | Path to directory root. | - |
package_manifest | Path to package manifest, relative to root. | - |
kwargs | - | - |