xref: /aosp_15_r20/external/grpc-grpc/third_party/toolchains/rbe_ubuntu2004/config/BUILD (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1# Copyright 2020 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
15# This file is auto-generated by github.com/bazelbuild/bazel-toolchains/pkg/rbeconfigsgen
16# and should not be modified directly.
17
18package(default_visibility = ["//visibility:public"])
19
20
21toolchain(
22    name = "cc-toolchain",
23    exec_compatible_with = [
24        "@platforms//os:linux",
25        "@platforms//cpu:x86_64",
26        "@bazel_tools//tools/cpp:clang",
27    ],
28    target_compatible_with = [
29        "@platforms//os:linux",
30        "@platforms//cpu:x86_64",
31    ],
32    toolchain = "//third_party/toolchains/rbe_ubuntu2004/cc:cc-compiler-k8",
33    toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
34)
35
36platform(
37    name = "platform",
38    parents = ["@local_config_platform//:host"],
39    constraint_values = [
40        "@platforms//os:linux",
41        "@platforms//cpu:x86_64",
42        "@bazel_tools//tools/cpp:clang",
43    ],
44    exec_properties = {
45        "container-image": "docker://us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_ubuntu2004@sha256:d3951aeadf43e3bee6adc5b86d26cdaf0b9d1b5baf790d7b2530d1c197adc9f8",
46        "OSFamily": "Linux",
47    },
48)
49