-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
44 lines (36 loc) · 1.58 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
workspace(name = "go_internship")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_googletest",
urls = ["https://github.com/google/googletest/archive/16f637fbf4ffc3f7a01fa4eceb7906634565242f.zip"],
strip_prefix = "googletest-16f637fbf4ffc3f7a01fa4eceb7906634565242f",
sha256 = "002d540f947e5981f54ddaab476d87b113d2a14822f21a34dca30f24c9492a24",
)
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",
)
http_archive(
name = "com_github_grpc_grpc",
urls = ["https://github.com/grpc/grpc/archive/44c40ac23023b7b3dd82744372c06817cc203898.tar.gz",],
strip_prefix = "grpc-44c40ac23023b7b3dd82744372c06817cc203898",
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
load('@bazel_tools//tools/build_defs/repo:git.bzl', 'git_repository')
git_repository(
name = "comm_github_mysql_cpp_connector",
remote = "https://github.com/tiany7/mysql_dependencies.git",
commit = "32094895286f499f997bef4324d68f61ea90a41f",
)
git_repository(
name = "http_lib",
remote = "https://github.com/yhirose/cpp-httplib.git",
commit = "27cd4e6ffeca2c9978ec1df7de3d22b9303a71b4",
)