Add filegroup targets for .bzl files in the `host` package (#90)
This allows users of e.g. `//host:constraints.bzl` to use Stardoc.
diff --git a/host/BUILD.bazel b/host/BUILD.bazel
index 1989bba..48531bc 100644
--- a/host/BUILD.bazel
+++ b/host/BUILD.bazel
@@ -16,3 +16,19 @@
constraint_values = HOST_CONSTRAINTS,
)
+# The following filegroup targets are essentially bzl_library targets.
+# We don't directly use bzl_library to avoid a dependency on bazel-skylib.
+filegroup(
+ name = "constraints_lib",
+ srcs = [
+ "constraints.bzl",
+ "@host_platform//:constraints.bzl",
+ ],
+)
+
+filegroup(
+ name = "extension_lib",
+ srcs = [
+ "extension.bzl",
+ ],
+)