|
|
|
@ -108,7 +108,7 @@ def grpc_proto_library(name, srcs = [], deps = [], well_known_protos = False, |
|
|
|
|
generate_mocks = generate_mocks, |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++"): |
|
|
|
|
def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium"): |
|
|
|
|
copts = [] |
|
|
|
|
if language.upper() == "C": |
|
|
|
|
copts = if_not_windows(["-std=c99"]) |
|
|
|
@ -120,6 +120,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data |
|
|
|
|
'deps': deps + _get_external_deps(external_deps), |
|
|
|
|
'copts': copts, |
|
|
|
|
'linkopts': if_not_windows(["-pthread"]), |
|
|
|
|
'size': size, |
|
|
|
|
} |
|
|
|
|
if uses_polling: |
|
|
|
|
native.cc_test(testonly=True, tags=['manual'], **args) |
|
|
|
|