aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-04-28 16:20:55 +0200
committerGravatar GitHub <noreply@github.com>2017-04-28 16:20:55 +0200
commitffa7473602fe3bd863d13a8317a349cb9de46845 (patch)
tree09214dcb3e75e3fe917c3080f59529f7796aaf31 /test
parentb40a86fee53d55fa02b733a2e567e4cb4b2d3278 (diff)
parent38279ea2e0d6c1704365a1507b9e8d487e5d7837 (diff)
Merge pull request #9376 from ivucica/ivucica_grpc_cli
Bazel build rule for //test/cpp/util:grpc_cli
Diffstat (limited to 'test')
-rw-r--r--test/cpp/util/BUILD30
1 files changed, 27 insertions, 3 deletions
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD
index c83f89eb90..9dde22b4d1 100644
--- a/test/cpp/util/BUILD
+++ b/test/cpp/util/BUILD
@@ -34,8 +34,8 @@ licenses(["notice"]) # 3-clause BSD
cc_binary(
name = "testso.so",
srcs = [],
- deps = ["//:grpc++_unsecure"],
linkshared = 1,
+ deps = ["//:grpc++_unsecure"],
)
cc_library(
@@ -104,5 +104,29 @@ cc_test(
],
)
-
-
+cc_binary(
+ name = "grpc_cli",
+ srcs = [
+ "cli_call.cc",
+ "cli_call.h",
+ "cli_credentials.cc",
+ "cli_credentials.h",
+ "config_grpc_cli.h",
+ "grpc_cli.cc",
+ "grpc_tool.cc",
+ "grpc_tool.h",
+ "proto_file_parser.cc",
+ "proto_file_parser.h",
+ "proto_reflection_descriptor_database.cc",
+ "proto_reflection_descriptor_database.h",
+ "service_describer.cc",
+ "service_describer.h",
+ "test_config.h",
+ "test_config_cc.cc",
+ ],
+ deps = [
+ "//:grpc++",
+ "//external:gflags",
+ "//src/proto/grpc/reflection/v1alpha:reflection_proto",
+ ],
+)