summaryrefslogtreecommitdiffhomepage
path: root/tools/bazeldefs/BUILD
blob: a4a6053460857e1d75ab29d640ba53b814bc4762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
load("//tools:defs.bzl", "bzl_library")

package(licenses = ["notice"])

bzl_library(
    name = "platforms_bzl",
    srcs = ["platforms.bzl"],
    visibility = ["//visibility:private"],
)

bzl_library(
    name = "tags_bzl",
    srcs = ["tags.bzl"],
    visibility = ["//visibility:private"],
)

bzl_library(
    name = "defs_bzl",
    srcs = ["defs.bzl"],
    visibility = ["//visibility:private"],
)

config_setting(
    name = "linux_arm64_cross",
    values = {
        "cpu": "aarch64",
        "host_cpu": "k8",
    },
    visibility = ["//visibility:private"],
)

config_setting(
    name = "linux_amd64_cross",
    values = {
        "cpu": "k8",
        "host_cpu": "aarch64",
    },
    visibility = ["//visibility:private"],
)