diff options
author | Alok Kumar <kumaralok@google.com> | 2017-09-13 11:49:18 -0700 |
---|---|---|
committer | Alok Kumar <kumaralok@google.com> | 2017-09-13 13:34:45 -0700 |
commit | 6b84005651517c9136a32cec49db8333a5b40ee9 (patch) | |
tree | 2854f1ad4bc7aacc0cf6e8c12bb35b05f54019db /test/cpp/microbenchmarks/BUILD | |
parent | 3bf7b714a5458aadfc1e2761ede1213f69ef7959 (diff) |
Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h
Diffstat (limited to 'test/cpp/microbenchmarks/BUILD')
-rw-r--r-- | test/cpp/microbenchmarks/BUILD | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD index 985a335f1b..0b69e9ba9a 100644 --- a/test/cpp/microbenchmarks/BUILD +++ b/test/cpp/microbenchmarks/BUILD @@ -73,12 +73,29 @@ grpc_cc_binary( deps = [":helpers"], ) +grpc_cc_library( + name = "fullstack_streaming_ping_pong_h", + testonly = 1, + hdrs = [ + "fullstack_streaming_ping_pong.h", + ], + deps = [":helpers"], +) + grpc_cc_binary( name = "bm_fullstack_streaming_ping_pong", testonly = 1, srcs = [ "bm_fullstack_streaming_ping_pong.cc", - "fullstack_streaming_ping_pong.h", + ], + deps = [":fullstack_streaming_ping_pong_h"], +) + +grpc_cc_library( + name = "fullstack_streaming_pump_h", + testonly = 1, + hdrs = [ + "fullstack_streaming_pump.h", ], deps = [":helpers"], ) @@ -88,9 +105,8 @@ grpc_cc_binary( testonly = 1, srcs = [ "bm_fullstack_streaming_pump.cc", - "fullstack_streaming_pump.h", ], - deps = [":helpers"], + deps = [":fullstack_streaming_pump_h"], ) grpc_cc_binary( @@ -103,14 +119,22 @@ grpc_cc_binary( ], ) +grpc_cc_library( + name = "fullstack_unary_ping_pong_h", + testonly = 1, + hdrs = [ + "fullstack_unary_ping_pong.h", + ], + deps = [":helpers"], +) + grpc_cc_binary( name = "bm_fullstack_unary_ping_pong", testonly = 1, srcs = [ "bm_fullstack_unary_ping_pong.cc", - "fullstack_unary_ping_pong.h", ], - deps = [":helpers"], + deps = [":fullstack_unary_ping_pong_h"], ) grpc_cc_binary( |