Added `bzl_srcs` targets which only contain `.bzl` files for use in stardoc

This commit is contained in:
UebelAndre 2021-08-12 07:14:14 -07:00
parent daf6ace7cf
commit 0913abc3be
4 changed files with 27 additions and 1 deletions

View File

@ -45,6 +45,17 @@ filegroup(
visibility = ["//visibility:public"],
)
filegroup(
name = "bzl_srcs",
srcs = glob([
"**/*.bzl",
]) + [
"//cc/private/rules_impl:bzl_srcs",
"//cc/private/toolchain:bzl_srcs",
],
visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob([

View File

@ -2,6 +2,13 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
filegroup(
name = "bzl_srcs",
srcs = glob([
"**/*.bzl",
]),
)
filegroup(
name = "srcs",
srcs = glob([

View File

@ -65,6 +65,11 @@ filegroup(
srcs = [],
)
filegroup(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
)
filegroup(
name = "srcs",
srcs = glob(["**"]),

View File

@ -132,7 +132,10 @@ filegroup(
],
)
exports_files(["ctoolchain_compare.bzl"])
exports_files([
"cc_toolchain_config_comparator.bzl",
"ctoolchain_compare.bzl",
])
bzl_library(
name = "ctoolchain_compare_bzl",