• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
17bzl_library(
18    name = "toolchain_rules",
19    srcs = glob(["*.bzl"]),
20    visibility = ["//visibility:public"],
21    deps = [
22        "//cc:action_names_bzl",
23        "//cc:cc_toolchain_config_lib_bzl",
24        "//cc:find_cc_toolchain_bzl",
25        "//cc/private/rules_impl:cc_flags_supplier_lib_bzl",
26        "//cc/private/rules_impl:native_bzl",
27        "//cc/toolchains/impl:toolchain_impl_rules",
28        "@bazel_skylib//rules/directory:glob",
29    ],
30)
31
32filegroup(
33    name = "srcs",
34    srcs = glob([
35        "**/*.bzl",
36        "**/BUILD",
37    ]),
38    visibility = ["//visibility:public"],
39)
40