Fix failing CPP test

pull/20097/head
Richard Belleville 5 years ago
parent 1b69538d58
commit 6dfa96524d
  1. 11
      bazel/grpc_build_system.bzl

@ -262,13 +262,22 @@ def grpc_sh_binary(name, srcs, data = []):
data = data,
)
def grpc_py_binary(name, srcs, data = [], deps = [], external_deps = [], testonly = False):
def grpc_py_binary(name,
srcs,
data = [],
deps = [],
external_deps = [],
testonly = False,
python_version = "PY2",
**kwargs):
native.py_binary(
name = name,
srcs = srcs,
testonly = testonly,
data = data,
deps = deps + _get_external_deps(external_deps),
python_version = python_version,
**kwargs,
)
def grpc_package(name, visibility = "private", features = []):

Loading…
Cancel
Save