forked from bazelbuild/reclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.bzl
25 lines (21 loc) · 888 Bytes
/
settings.bzl
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
ScannerProvider = provider(fields = ["scanner"])
scanners = ["clangscandeps", "goma"]
def _impl(ctx):
scanner = ctx.build_setting_value
if scanner not in scanners:
fail(str(ctx.label) + " include scanner can only be {" +
", ".join(scanners) + "} but was set to " +
scanner)
return ScannerProvider(scanner = scanner)
include_scanner_rule = rule(
implementation = _impl,
build_setting = config.string(flag = True),
)
# Refer to go/rbe/dev/x/playbook/upgrading_clang_scan_deps
# to update clang-scan-deps version.
LLVM_COMMIT = "82e851a407c52d65ce65e7aa58453127e67d42a0"
LLVM_SHA256 = "c45d3e776d8f54362e05d4d5da8b559878077241d84c81f69ed40f11c0cdca8f"
SDK_COMMIT = "20c1af50b823b99a93f5ca6e756e187c4114a1be"
PROTOC_GEN_BQ_SCHEMA_VERSION = "v0.0.0-20190119112626-026f9fcdf705"
GO_GRPC_VERSION = "v1.56.2"
GO_PROTO_VERSION = "v1.25.0"