summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>2021-08-04 21:41:42 +0400
committerMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>2021-08-04 21:41:42 +0400
commit343f8a73df9211fb6ceb9646e220c20e60964950 (patch)
treeddc3e2e9f354c03390f9b14cac573e29ae7afd8a
parent23901c78501139bb9fc9256f3a408f3473969c03 (diff)
add protobuf dependcy
-rw-r--r--WORKSPACE13
1 files changed, 13 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index a6cdab2..edb1c3a 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -35,6 +35,19 @@ http_archive(
url = "https://github.com/google/cargo-raze/archive/v0.11.0.tar.gz",
)
+http_archive(
+ name = "com_google_protobuf",
+ sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
+ strip_prefix = "protobuf-3.14.0",
+ urls = [
+ "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
+ "https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
+ ],
+)
+
+load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
+protobuf_deps()
+
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_register_toolchains(version = "1.16.5")