The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
892 B

# Adapted with modifications from tensorflow/third_party/py/
package(default_visibility=["//visibility:public"])
config_setting(
name="windows",
values={"cpu": "x64_windows"},
visibility=["//visibility:public"],
)
config_setting(
name="python2",
flag_values = {"@rules_python//python:python_version": "PY2"}
)
config_setting(
name="python3",
flag_values = {"@rules_python//python:python_version": "PY3"}
)
cc_library(
name = "python_lib",
deps = select({
":python2": ["//_python2:_python2_lib"],
":python3": ["//_python3:_python3_lib"],
"//conditions:default": ["not-existing.lib"],
})
)
cc_library(
name = "python_headers",
deps = select({
":python2": ["//_python2:_python2_headers"],
":python3": ["//_python3:_python3_headers"],
"//conditions:default": ["not-existing.headers"],
})
)