-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathBUILD
More file actions
38 lines (32 loc) · 811 Bytes
/
BUILD
File metadata and controls
38 lines (32 loc) · 811 Bytes
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
load("@bazel_gazelle//:def.bzl", "gazelle")
package(
default_visibility = [":__subpackages__"],
)
licenses(["notice"])
exports_files(["LICENSE"])
sh_binary(
name = "patch_wrapped_clang",
srcs = ["patch_wrapped_clang.sh"],
visibility = ["//visibility:public"],
)
genrule(
name = "patch_local_config_apple_cc",
tools = ["//:patch_wrapped_clang"],
outs = ["patch_local_config_apple_cc.stamp"],
cmd = "$(execpath //:patch_wrapped_clang) && touch $@",
tags = [
"local",
"no-cache",
"no-remote",
"no-sandbox",
],
target_compatible_with = ["@platforms//os:osx"],
)
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=deps.bzl%go_dependencies",
],
command = "update-repos",
)