STT-tensorflow/third_party/systemlibs/grpc.BUILD
TensorFlower Gardener bf581d89b6 Merge pull request from perfinion:r2.4-syslibs
PiperOrigin-RevId: 339899776
Change-Id: Iff5a37227f189607727f3e24d75b41ee8b906af9
2020-10-30 10:59:32 -07:00

77 lines
1.4 KiB
Plaintext

licenses(["notice"]) # Apache v2
filegroup(
name = "LICENSE",
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc",
linkopts = [
"-lgrpc",
"-lgpr",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc++",
linkopts = [
"-lgrpc++",
"-lgpr",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc++_public_hdrs",
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc++_codegen_proto",
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc_unsecure",
linkopts = [
"-lgrpc_unsecure",
"-lgpr",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "grpc++_unsecure",
linkopts = [
"-lgrpc++_unsecure",
"-lgpr",
],
visibility = ["//visibility:public"],
)
genrule(
name = "ln_grpc_cpp_plugin",
outs = ["grpc_cpp_plugin.bin"],
cmd = "ln -s $$(which grpc_cpp_plugin) $@",
)
sh_binary(
name = "grpc_cpp_plugin",
srcs = ["grpc_cpp_plugin.bin"],
visibility = ["//visibility:public"],
)
genrule(
name = "ln_grpc_python_plugin",
outs = ["grpc_python_plugin.bin"],
cmd = "ln -s $$(which grpc_python_plugin) $@",
)
sh_binary(
name = "grpc_python_plugin",
srcs = ["grpc_python_plugin.bin"],
visibility = ["//visibility:public"],
)