Split grpc_cli target into two targets

Let's have a util target that contains everything except for the CLI
front end. This way, users can depend on the util classes without
any risk of CLI flag collisions.
pull/16787/head
Spencer Fang 6 years ago
parent 23b5b1a5a9
commit e6b1edf42a
  1. 20
      test/cpp/util/BUILD

@ -117,11 +117,10 @@ grpc_cc_library(
)
grpc_cc_library(
name = "grpc_cli_libs",
name = "grpc_cli_utils",
srcs = [
"cli_call.cc",
"cli_credentials.cc",
"grpc_tool.cc",
"proto_file_parser.cc",
"service_describer.cc",
],
@ -129,7 +128,6 @@ grpc_cc_library(
"cli_call.h",
"cli_credentials.h",
"config_grpc_cli.h",
"grpc_tool.h",
"proto_file_parser.h",
"service_describer.h",
],
@ -145,6 +143,22 @@ grpc_cc_library(
],
)
grpc_cc_library(
name = "grpc_cli_libs",
srcs = [
"grpc_tool.cc",
],
hdrs = [
"grpc_tool.h",
],
external_deps = [
"gflags",
],
deps = [
":grpc_cli_utils",
],
)
grpc_cc_library(
name = "metrics_server_lib",
srcs = [

Loading…
Cancel
Save