diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2018-03-29 13:56:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 13:56:33 -0700 |
commit | 1995816b6b5fc9e03a886af65bd28bc8a5c2161c (patch) | |
tree | be78994f7b7d9a6d20184eb1047ea2e9dd494252 /bazel/grpc_deps.bzl | |
parent | ff5e380e3dcc67fafda4481b8e970a593483a6a6 (diff) | |
parent | e6dfa9cd74fe7fa187072b362719d2a1ba386e3e (diff) |
Merge pull request #14625 from isturdy/generate-cc
Fix C++ codegen with bazel in subrepositories
Diffstat (limited to 'bazel/grpc_deps.bzl')
-rw-r--r-- | bazel/grpc_deps.bzl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index a441c3ff3d..6b3a55379e 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -57,6 +57,16 @@ def grpc_deps(): actual = "@com_github_gflags_gflags//:gflags", ) + native.bind( + name = "grpc_cpp_plugin", + actual = "@com_github_grpc_grpc//:grpc_cpp_plugin" + ) + + native.bind( + name = "grpc++_codegen_proto", + actual = "@com_github_grpc_grpc//:grpc++_codegen_proto" + ) + if "boringssl" not in native.existing_rules(): native.http_archive( name = "boringssl", |