mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-29 12:33:51 +00:00
d85b575a40
* Removed foreign_cc_platform_utils * Removed rules_foreign_cc_bazel_version * Update workspace_definitions.bzl Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
21 lines
528 B
Python
21 lines
528 B
Python
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",
|
|
"//for_workspace:bzl_srcs",
|
|
"//tools/build_defs:bzl_srcs",
|
|
],
|
|
)
|