Skip to content
Snippets Groups Projects
Commit d2ac59f1 authored by Nicolas "Pixel" Noble's avatar Nicolas "Pixel" Noble
Browse files

Merge failure: mangled the examples BUILD file.

parent ba54a1c9
No related branches found
No related tags found
No related merge requests found
...@@ -29,16 +29,38 @@ ...@@ -29,16 +29,38 @@
package(default_visibility = ["//visibility:public"]) 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( cc_binary(
name = "greeter_client", name = "greeter_client",
srcs = ["greeter_client.cc"], srcs = ["cpp/helloworld/greeter_client.cc"],
defines = ["BAZEL_BUILD"], defines = ["BAZEL_BUILD"],
deps = ["//examples/protos:helloworld"], deps = [":helloworld"],
) )
cc_binary( cc_binary(
name = "greeter_server", name = "greeter_server",
srcs = ["greeter_server.cc"], srcs = ["cpp/helloworld/greeter_server.cc"],
defines = ["BAZEL_BUILD"], defines = ["BAZEL_BUILD"],
deps = ["//examples/protos:helloworld"], deps = [":helloworld"],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment