aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazel/grpc_build_system.bzl
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-03-15 08:06:21 -0700
committerGravatar Mark D. Roth <roth@google.com>2017-03-15 08:06:21 -0700
commit3a91707acefc5e099f37ee24c19abfd16fabef8b (patch)
treea4a7837b399ca19105a0e807ea93a12d7814bc8e /bazel/grpc_build_system.bzl
parent02612c163e949ed70a399cf9dd311457bb29c902 (diff)
parent3cafec2f55f66e3df61569579c8259b2e5b5ee00 (diff)
Merge remote-tracking branch 'upstream/master' into retry_throttle
Diffstat (limited to 'bazel/grpc_build_system.bzl')
-rw-r--r--bazel/grpc_build_system.bzl5
1 files changed, 4 insertions, 1 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
index daf8b78527..8b524bd0e5 100644
--- a/bazel/grpc_build_system.bzl
+++ b/bazel/grpc_build_system.bzl
@@ -58,11 +58,14 @@ def grpc_proto_plugin(name, srcs = [], deps = []):
load("//:bazel/cc_grpc_library.bzl", "cc_grpc_library")
-def grpc_proto_library(name, srcs = [], deps = [], well_known_deps = [], has_services = True):
+def grpc_proto_library(name, srcs = [], deps = [], well_known_protos = None,
+ has_services = True, use_external = False):
cc_grpc_library(
name = name,
srcs = srcs,
deps = deps,
+ well_known_protos = well_known_protos,
proto_only = not has_services,
+ use_external = use_external,
)