xref: /aosp_15_r20/external/skia/bazel/rbe/gce_linux/config/BUILD (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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        "@bazel_tools//tools/cpp:clang",
25        "@platforms//cpu:x86_64",
26        "@platforms//os:linux",
27    ],
28    target_compatible_with = [
29        "@platforms//cpu:x86_64",
30        "@platforms//os:linux",
31    ],
32    toolchain = "//bazel/rbe/gce_linux/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        "@bazel_tools//tools/cpp:clang",
41        "@platforms//cpu:x86_64",
42        "@platforms//os:linux",
43    ],
44    exec_properties = {
45        "container-image": "docker://gcr.io/skia-public/rbe_linux@sha256:82e8a4c7d06c8f47bbc08ee899c4c03069af0f7f4d8c0d958a50a23d814405e6",
46        "OSFamily": "Linux",
47    },
48)
49