diff options
author | Spencer Fang <spencerfang@google.com> | 2018-10-04 12:00:28 -0700 |
---|---|---|
committer | Spencer Fang <spencerfang@google.com> | 2018-10-04 12:00:28 -0700 |
commit | e6b1edf42ab8f8f142352406899deeb178bb90ee (patch) | |
tree | 0c7c6b5c085e20f60888e7792563b6519a2b9b6d /test/cpp | |
parent | 23b5b1a5a9c7084c5b64d4998ee15af0f77bd589 (diff) |
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.
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/util/BUILD | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD index 477862a0ee..c8d4333ef0 100644 --- a/test/cpp/util/BUILD +++ b/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", ], @@ -146,6 +144,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 = [ "metrics_server.cc", |