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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
load("//tools:defs.bzl", "bzl_library", "go_proto_library")
package(
default_visibility = ["//:sandbox"],
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"],
)
genrule(
name = "version",
outs = ["version.txt"],
cmd = "cat bazel-out/stable-status.txt | grep STABLE_VERSION | cut -d' ' -f2- | sed 's/^[^[:digit:]]*//g' >$@",
stamp = True,
visibility = ["//:sandbox"],
)
go_proto_library(
name = "worker_protocol_go_proto",
importpath = "gvisor.dev/bazel/worker_protocol_go_proto",
proto = "@bazel_tools//src/main/protobuf:worker_protocol_proto",
)
|