mirror of https://github.com/bazelbuild/platforms
Add filegroup targets for .bzl files in the `host` package (#90)
This allows users of e.g. `//host:constraints.bzl` to use Stardoc.
This commit is contained in:
parent
2af915c086
commit
5074be0702
|
@ -16,3 +16,19 @@ platform(
|
||||||
constraint_values = HOST_CONSTRAINTS,
|
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",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue