Questions tagged [bazel-protobuf]
3 questions
2
votes
2 answers
How to reference bazel c++ protobuf output headers in a different workspace/package
I just started using Bazel a couple days ago in hopes of something better than CMake. I have a small library that contains only protobuf definitions in its own repository. I've gotten bazel building the proto types and see them in the…

weagle08
- 1,763
- 1
- 18
- 27
1
vote
1 answer
Why dependent workspace doesn't automatically include/execute the WORKSPACE file it has a dependency on in Bazel
I have two repositories with Bazel builds. The one uses the Bazel imports for building protobuf types. When I make this repo/workspace a dependency of my other repo/workspace I have to re-add all of the protobuf imports for rules_proto and rules_cc…

weagle08
- 1,763
- 1
- 18
- 27
0
votes
0 answers
Bazel python proto rules overriding "google" module
I encountered an issue with the proto rules provided by rules_python. I believe adding protos that utilizes py_proto_library will overshadow the "google" module, making relevant PIP dependencies unable to be found.
I created a repo with a simple…

Chuan Ye
- 1
- 1