diff options
Diffstat (limited to 'examples/BUILD')
-rw-r--r-- | examples/BUILD | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/examples/BUILD b/examples/BUILD index 382713e5e4..c954d03c50 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -29,38 +29,16 @@ package(default_visibility = ["//visibility:public"]) -load("//bazel:grpc_build_system.bzl", "grpc_proto_library") - -grpc_proto_library( - name = "auth_sample", - srcs = ["protos/auth_sample.proto"], -) - -grpc_proto_library( - name = "hellostreamingworld", - srcs = ["protos/hellostreamingworld.proto"], -) - -grpc_proto_library( - name = "helloworld", - srcs = ["protos/helloworld.proto"], -) - -grpc_proto_library( - name = "route_guide", - srcs = ["protos/route_guide.proto"], -) - cc_binary( name = "greeter_client", - srcs = ["cpp/helloworld/greeter_client.cc"], - deps = ["helloworld"], + srcs = ["greeter_client.cc"], defines = ["BAZEL_BUILD"], + deps = ["//examples/protos:helloworld"], ) cc_binary( name = "greeter_server", - srcs = ["cpp/helloworld/greeter_server.cc"], - deps = ["helloworld"], + srcs = ["greeter_server.cc"], defines = ["BAZEL_BUILD"], + deps = ["//examples/protos:helloworld"], ) |