2021-01-22 14:25:49 +00:00
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
|
|
|
# "@bazel_tools//tools:bzl_srcs" is a filegroup. Convert define a `bzl_library` for it
|
|
|
|
bzl_library(
|
|
|
|
name = "bazel_tools_bzl_srcs",
|
|
|
|
srcs = ["@bazel_tools//tools:bzl_srcs"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "bzl_srcs",
|
|
|
|
srcs = glob(["**/*.bzl"]) + [
|
|
|
|
"@bazel_tools//tools:bzl_srcs",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
":bazel_tools_bzl_srcs",
|
2021-03-11 16:52:36 +00:00
|
|
|
"//foreign_cc:bzl_srcs",
|
2021-02-16 15:41:58 +00:00
|
|
|
"//toolchains:bzl_srcs",
|
2021-01-22 14:25:49 +00:00
|
|
|
],
|
|
|
|
)
|