Update bazel : liblibsrpc -> libsrpc

This commit is contained in:
holmes1412 2023-09-18 18:16:50 +08:00
parent 2125015c00
commit 1e7251e2f2
2 changed files with 20 additions and 20 deletions

38
BUILD
View File

@ -45,7 +45,7 @@ cc_library(
)
cc_library(
name = "libsrpc",
name = "srpc",
srcs = glob(["src/**/*.cc"]),
hdrs = glob([
"src/**/*.h",
@ -87,7 +87,7 @@ cc_library(
includes = ["src/generator"],
visibility = ["//visibility:public"],
deps = [
":libsrpc",
":srpc",
],
)
@ -96,7 +96,7 @@ cc_binary(
srcs = ["src/generator/compiler.cc"],
visibility = ["//visibility:public"],
deps = [
":libsrpc",
":srpc",
":srpc_generator_lib",
],
)
@ -130,7 +130,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -145,7 +145,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -166,7 +166,7 @@ cc_binary(
],
deps = [
":echo_thrift_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -181,7 +181,7 @@ cc_binary(
],
deps = [
":echo_thrift_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -196,7 +196,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -211,7 +211,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -226,7 +226,7 @@ cc_binary(
],
deps = [
":echo_thrift_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -241,7 +241,7 @@ cc_binary(
],
deps = [
":echo_thrift_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -256,7 +256,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -271,7 +271,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -305,7 +305,7 @@ cc_binary(
],
deps = [
":helloworld_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -320,7 +320,7 @@ cc_binary(
],
deps = [
":helloworld_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -335,7 +335,7 @@ cc_binary(
],
deps = [
":helloworld_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -350,7 +350,7 @@ cc_binary(
],
deps = [
":helloworld_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -365,7 +365,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)
@ -380,7 +380,7 @@ cc_binary(
],
deps = [
":echo_pb_srpc",
":libsrpc",
":srpc",
":srpc_hdrs",
],
)

View File

@ -55,7 +55,7 @@ def srpc_cc_library(
message = "Generating srpc files for %s:" % (name),
)
runtime_deps = deps + [":libsrpc"]
runtime_deps = deps + [":srpc"]
print(runtime_deps)
cc_library(