aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazel
diff options
context:
space:
mode:
authorGravatar Vishal Powar <vishal.powar@gmail.com>2018-11-27 22:39:00 -0800
committerGravatar Vishal Powar <vishal.powar@gmail.com>2018-11-28 10:09:03 -0800
commitf614fa5947e2b1c123e94f67b51acaefb9d1915c (patch)
tree9f2da5415e57f773b5663581d2009625845c09ba /bazel
parent4036ebbe3d5bb24b3156e943b48f2eb2ad88d6d7 (diff)
Adding upb as submodule
upb will be used for codegen of xDS protos.
Diffstat (limited to 'bazel')
-rw-r--r--bazel/grpc_deps.bzl12
1 files changed, 12 insertions, 0 deletions
diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl
index 8626817855..e091e5abc0 100644
--- a/bazel/grpc_deps.bzl
+++ b/bazel/grpc_deps.bzl
@@ -9,6 +9,11 @@ def grpc_deps():
)
native.bind(
+ name = "upblib",
+ actual = "@upb//:upb",
+ )
+
+ native.bind(
name = "absl-base",
actual = "@com_google_absl//absl/base",
)
@@ -184,6 +189,13 @@ def grpc_deps():
url = "https://github.com/census-instrumentation/opencensus-cpp/archive/fdf0f308b1631bb4a942e32ba5d22536a6170274.tar.gz",
)
+ if "upb" not in native.existing_rules():
+ native.http_archive(
+ name = "upb",
+ strip_prefix = "upb-9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3",
+ url = "https://github.com/google/upb/archive/9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3.tar.gz",
+ )
+
# TODO: move some dependencies from "grpc_deps" here?
def grpc_test_only_deps():