diff options
author | vishalpowar <vishalpowar@google.com> | 2018-12-11 16:43:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-11 16:43:08 -0800 |
commit | 311ee1eda13a340f1f33638920965f9f753b9d26 (patch) | |
tree | d7fe5960bf8ea6fa698bb25f08a54901d3b75a03 /bazel | |
parent | e829a8111801f5d9269d346c7188e3bd2e0a52a7 (diff) | |
parent | 62027b7e14624283f758a7785a0a1347eda0a147 (diff) |
Merge pull request #17364 from vishalpowar/generate_build
Changes add a script for generating C code and build rule for protobuf
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/grpc_build_system.bzl | 1 | ||||
-rw-r--r-- | bazel/grpc_deps.bzl | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl index 65fe5a10aa..06b05f7952 100644 --- a/bazel/grpc_build_system.bzl +++ b/bazel/grpc_build_system.bzl @@ -99,6 +99,7 @@ def grpc_cc_library( linkopts = if_not_windows(["-pthread"]), includes = [ "include", + "src/core/ext/upb-generated", ], alwayslink = alwayslink, data = data, diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 3eacd2b047..2738e39abf 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -12,7 +12,7 @@ def grpc_deps(): ) native.bind( - name = "upblib", + name = "upb_lib", actual = "@upb//:upb", ) @@ -195,8 +195,8 @@ def grpc_deps(): if "upb" not in native.existing_rules(): http_archive( name = "upb", - strip_prefix = "upb-9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3", - url = "https://github.com/google/upb/archive/9ce4a77f61c134bbed28bfd5be5cd7dc0e80f5e3.tar.gz", + strip_prefix = "upb-fb6f7e96895c3a9a8ae2e66516160937e7ac1779", + url = "https://github.com/google/upb/archive/fb6f7e96895c3a9a8ae2e66516160937e7ac1779.tar.gz", ) |