-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps.bzl
39 lines (33 loc) · 1.14 KB
/
deps.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
DEPS = {
# Protobuf required for multiple reasons, including the cc_binary
# 'protoc' and the cc_library 'protobuf_clib'
# Building grpc requires it to be called thusly.
"com_google_protobuf": {
"rule": "http_archive",
"url": "https://github.com/google/protobuf/archive/v3.6.0.zip",
"strip_prefix": "protobuf-3.6.0",
"sha256": "e514c2e613dc47c062ea8df480efeec368ffbef98af0437ac00cdaadcb0d80d2",
},
# This binds the cc_binary "protoc" into
# //external:protoc. Required by grpc++.
"protoc": {
"rule": "bind",
"actual": "@com_google_protobuf//:protoc",
},
# Bind the protobuf proto_lib into //external. Required for
# compiling the protoc_gen_grpc plugin
"protocol_compiler": {
"rule": "bind",
"actual": "@com_google_protobuf//:protoc",
},
# grpc++ expects "//external:protobuf"
"protobuf": {
"rule": "bind",
"actual": "@com_google_protobuf//:protobuf",
},
# grpc++ expects "//external:protobuf_clib"
"protobuf_clib": {
"rule": "bind",
"actual": "@com_google_protobuf//:protoc_lib",
},
}