There are some references to a target named proto_library() in the docs, and a definition for objc_proto_library() but no actual entry in the BUILD encyclopedia at http://bazel.io/docs/build-encyclopedia.html. I did some grepping around in the source and didn’t see it included.
I see ‘genproto’ defined in tools/build_rules/genproto.bzl withe comment:
# This is a quick and dirty rule to make Bazel compile itself. It
# only supports Java.
Is that the recommended course for using protobufs or is something more forthcoming (I didn’t see it on the roadmap)?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To post to this group, send email to bazel-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAOy0ARc8Ax%2BYYhc2s2g%2BPE_%3DYFqiY0MRz2NY-%2Bm4xhnwBdNiAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAOu%2B0LXoEtYc1Zzdh1RimfM-aHOC%3DSwdsgV7wwbULoTZHnU06A%40mail.gmail.com.
Thanks for the response.Something that we dedicated quite a bit of effort to in Pants was getting protobufs to build properly when they import from .protos defined in Jars from Maven.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To post to this group, send email to bazel-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAOu%2B0LVGx-N5TwO4jY601gqn1pYv3Ujb%2B%2BUTpYkJ0yFVt_c%2B9w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/46f8ad20-86a2-4d08-9863-b1ad82668368%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/ee969c64-332d-44e8-9e36-4d663b7b1d44%40googlegroups.com.