diff options
author | Juanli Shen <juanlishen@google.com> | 2018-12-13 15:55:20 -0800 |
---|---|---|
committer | Juanli Shen <juanlishen@google.com> | 2018-12-19 10:40:13 -0800 |
commit | 33a4b502c450fa05814992147679d0e77a23d4a5 (patch) | |
tree | ba604dc1617cec629942cccd3a5c788f59ffaaf5 /examples/BUILD | |
parent | 01afcb4feeae09e6db22bcc54112a1e10d61c8ac (diff) |
Add LB example
Diffstat (limited to 'examples/BUILD')
-rw-r--r-- | examples/BUILD | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/BUILD b/examples/BUILD index 0f18cfa9ba..525e6989ee 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -51,3 +51,17 @@ cc_binary( defines = ["BAZEL_BUILD"], deps = [":helloworld", "//:grpc++"], ) + +cc_binary( + name = "lb_client", + srcs = ["cpp/load_balancing/greeter_client.cc"], + defines = ["BAZEL_BUILD"], + deps = [":helloworld", "//:grpc++"], +) + +cc_binary( + name = "lb_server", + srcs = ["cpp/load_balancing/greeter_server.cc"], + defines = ["BAZEL_BUILD"], + deps = [":helloworld", "//:grpc++"], +) |