mirror of
https://github.com/nanopb/nanopb.git
synced 2026-05-07 20:12:45 +00:00
4380dd9e94
By default, nanopb generates files such as `my_proto.pb.h` and `my_proto.pb.c`. Unfortunately, `cc_proto_library` also generates files with the name `my_proto.pb.h`, which can lead to confusing errors as `gcc` looks for the right include path for `nanopb` files. This PR adds a feature to bazel builds to allow an user to choose an alternate extension (`.nanopb`) so avoid this conflict.