diff options
author | Ivan Vučica <ivucica@google.com> | 2017-01-18 00:04:16 +0000 |
---|---|---|
committer | Ivan Vučica <ivan@vucica.net> | 2017-04-27 13:32:42 +0100 |
commit | 38279ea2e0d6c1704365a1507b9e8d487e5d7837 (patch) | |
tree | ba1b5124be257e32ef59ac77f22242497093960f /test | |
parent | 8e7653736b82deb984c3fb6cd22293ee3d2863fc (diff) |
Bazel rule for building grpc_cli.
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/util/BUILD | 30 |
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", + ], +) |