I've updated rules_protobuf <https://github.com/pubref/rules_protobuf> to include support for cpp <https://github.com/pubref/rules_protobuf/tree/master/bzl/cpp> with grpc. This is cool because it uses the grpc BUILD <https://github.com/grpc/grpc/blob/dfbdefedd381b57dd33631aea3a79659ac019bc9/BUILD> file, pulls in all the necessary tooling to build grpc++ with boringssl without the user having to install anything other than bazel. Try it out and report issues!
*$ git clone https://github.com/pubref/rules_protobuf* *$ bazel run examples/helloworld/cpp/server* Paul On Sunday, July 31, 2016 at 7:26:19 PM UTC-6, Paul Johnston wrote: > > I've been struggling to find a clean way to generate protobufs for java > with gRPC support with bazel, so I just released rules_protobuf at > https://github.com/pubref/rules_protobuf/tree/0.1.1. > > If you are new to http://bazel.io, this might be a good way to try it > out. As it will automatically install the protoc and protoc-gen-grpc-java > binaries into your workspace, it requires no configuration and may be one > of the easier ways to get started with gRPC. > > Looking forward to native protobuf support in bazel, but until then > hopefully it fills a need for others with this requirement. PRs definitely > welcome for improvements or support for additional language output. > > Cheers, > Paul > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b0c9ab5b-4289-473e-9e7d-23f435447f0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
