-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
39 lines (32 loc) · 1.35 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
workspace(name="renci_demo")
# Tool needed to do the below
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Fairly new version of gtest
http_archive(
name = "com_google_googletest",
urls = ["https://github.com/google/googletest/archive/16f637fbf4ffc3f7a01fa4eceb7906634565242f.zip"],
strip_prefix = "googletest-16f637fbf4ffc3f7a01fa4eceb7906634565242f",
sha256 = "002d540f947e5981f54ddaab476d87b113d2a14822f21a34dca30f24c9492a24",
)
# Fairly new version of Protocol Buffers
http_archive(
name = "com_google_protobuf",
sha256 = "3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz"],
strip_prefix = "protobuf-3.19.4",
)
# Fairly new version of gRPC
http_archive(
name = "com_github_grpc_grpc",
sha256 = "9647220c699cea4dafa92ec0917c25c7812be51a18143af047e20f3fb05adddc",
urls = ["https://github.com/grpc/grpc/archive/v1.43.0.tar.gz"],
strip_prefix = "grpc-1.43.0",
)
# Additional Protocol Buffer setup
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
# Additional gRPC setup
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()