aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazel
diff options
context:
space:
mode:
authorGravatar Bill Feng <41599993+billfeng327@users.noreply.github.com>2018-11-28 18:54:21 -0800
committerGravatar GitHub <noreply@github.com>2018-11-28 18:54:21 -0800
commit8b7323df1c36bb855b749985ca301c5531d2e263 (patch)
treef4348584659fe2cbeebb6ab1e173469621f566c8 /bazel
parent6697496a1dca9012375c8a00ac6acedaa42449d9 (diff)
parent527ddd99821cd0e0970fdd5b5b4988394f0ea078 (diff)
Merge pull request #17110 from billfeng327/multipool-config
Bazel multipool config update, removed sentinel file
Diffstat (limited to 'bazel')
-rw-r--r--bazel/grpc_build_system.bzl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
index 159ebd5d1f..65fe5a10aa 100644
--- a/bazel/grpc_build_system.bzl
+++ b/bazel/grpc_build_system.bzl
@@ -131,7 +131,7 @@ def grpc_proto_library(
generate_mocks = generate_mocks,
)
-def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium", timeout = "moderate", tags = []):
+def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium", timeout = "moderate", tags = [], exec_compatible_with = []):
copts = []
if language.upper() == "C":
copts = if_not_windows(["-std=c99"])
@@ -145,6 +145,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data
"linkopts": if_not_windows(["-pthread"]),
"size": size,
"timeout": timeout,
+ "exec_compatible_with": exec_compatible_with,
}
if uses_polling:
native.cc_test(testonly = True, tags = ["manual"], **args)
@@ -162,6 +163,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data
"$(location %s)" % name,
] + args["args"],
tags = tags,
+ exec_compatible_with = exec_compatible_with,
)
else:
native.cc_test(**args)