• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2017 The Abseil Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17load(
18    ":compiler_config_setting.bzl",
19    "create_llvm_config",
20)
21
22package(default_visibility = ["//visibility:public"])
23
24licenses(["notice"])  # Apache 2.0
25
26create_llvm_config(
27    name = "llvm_compiler",
28    visibility = [":__subpackages__"],
29)
30
31config_setting(
32    name = "osx",
33    constraint_values = [
34        "@bazel_tools//platforms:osx",
35    ],
36)
37
38config_setting(
39    name = "ios",
40    constraint_values = [
41        "@bazel_tools//platforms:ios",
42    ],
43)
44
45config_setting(
46    name = "windows",
47    values = {
48        "cpu": "x64_windows",
49    },
50    visibility = [":__subpackages__"],
51)
52
53config_setting(
54    name = "ppc",
55    values = {
56        "cpu": "ppc",
57    },
58    visibility = [":__subpackages__"],
59)
60