-
Notifications
You must be signed in to change notification settings - Fork 35
/
WORKSPACE
128 lines (91 loc) · 2.65 KB
/
WORKSPACE
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
workspace(name = "com_lieluobo_radish")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
load("//:bazel/repository.bzl", "radish_repositories")
radish_repositories()
bind(
name = "nanopb",
actual = "@com_github_nanopb_nanopb//:nanopb",
)
http_archive(
name = "boost",
build_file = "//third_party:boost.BUILD",
patch_tool = "patch",
patches = ["//third_party:boost1.68.patch"],
sha256 = "7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7",
strip_prefix = "boost_1_68_0/",
type = "tar.bz2",
urls = [
"https://sourceforge.net/projects/boost/files/boost/1.68.0/boost_1_68_0.tar.bz2",
],
)
bind(
name = "protocol_compiler",
actual = "@com_google_protobuf//:protoc",
)
bind(
name = "protobuf_headers",
actual = "@com_google_protobuf//:protobuf_headers",
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
# Needed by gRPC
bind(
name = "protobuf",
actual = "@com_google_protobuf//:protobuf",
)
# gRPC expects //external:protobuf_clib and //external:protobuf_compiler
# to point to Protobuf's compiler library.
bind(
name = "protobuf_clib",
actual = "@com_google_protobuf//:protoc_lib",
)
# Needed by gRPC
bind(
name = "protobuf_headers",
actual = "@com_google_protobuf//:protobuf_headers",
)
# ===== gRPC dependencies =====
bind(
name = "libssl",
actual = "@boringssl//:ssl",
)
bind(
name = "zlib",
actual = "@zlib_archive//:zlib",
)
bind(
name = "madler_zlib",
actual = "@zlib_archive//:zlib",
)
# gRPC wants the existence of a cares dependence but its contents are not
# actually important since we have set GRPC_ARES=0 in tools/bazel.rc
bind(
name = "cares",
actual = "@com_github_grpc_grpc//third_party/nanopb:nanopb",
)
bind(
name = "grpc_cpp_plugin",
actual = "@com_github_grpc_grpc//:grpc_cpp_plugin",
)
bind(
name = "grpc_lib",
actual = "@com_github_grpc_grpc//:grpc++",
)
bind(
name = "grpc_lib_unsecure",
actual = "@com_github_grpc_grpc//:grpc++_unsecure",
)
load("@com_github_lieluoboai_leveldb//:bazel/repositories.bzl", "repositories")
repositories()
load("@com_github_lieluoboai_snappy//:bazel/repositories.bzl", "repositories")
repositories()
load("@com_github_lieluoboai_crc32c//:bazel/repositories.bzl", "repositories")
repositories()
bind(
name="absl_string",
actual="@com_google_absl//absl/strings",
)