-
Notifications
You must be signed in to change notification settings - Fork 157
/
deps.bzl
43 lines (34 loc) · 1.09 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
40
41
42
43
DEPS = {
"com_google_protobuf": {
"rule": "http_archive",
"url": "https://github.com/google/protobuf/archive/v3.5.1.zip",
"strip_prefix": "protobuf-3.5.1",
"sha256": "1f8b9b202e9a4e467ff0b0f25facb1642727cdf5e69092038f15b37c75b99e45",
},
# 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",
},
"protobuf_headers": {
"rule": "bind",
"actual": "@com_google_protobuf//:protobuf_headers",
},
}