2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-25 17:31:25 +00:00
rules_foreign_cc/BUILD
UebelAndre 689c96aaa7
Fetch prebuilt cmake and ninja binaries as registered default toolchains (#508)
* Added tooling for generating repositories for pre-built cmake and ninja binaries

* Generated toolchains

* Picked up fix

* Removed toolchains from http_archives and updated generator script

* Regenerated toolchains

* Updated cmake version

* Added additional constraints

* Added option for registering preinstalled toolchains

* MacOS uses universal binaries

* Fixed typo

* More constraints
2021-02-16 15:41:58 +00:00

22 lines
561 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",
"//toolchains:bzl_srcs",
"//tools/build_defs:bzl_srcs",
],
)