← Back to team overview

bazel-team team mailing list archive

Using bazel-rules-proto.

 

Dear Olek,

I'm currently working on packaging the cuttlefish Debian package into
Debian.
This project is Google's project so it uses bazel by default.

I reference tensorflow in Debian's experimental. And I saw it has a
mock_repos subdirectory in debian/. And inside the directory, it has
rules_cc stuff so that cc_binary and cc_library can work.
Since I don't have any java rules so I didn't copy rules_java.

This works great at the beginning. However, in Cuttlefish I'm working on,
it has proto_library in BUILD.bazel. And it seems tensorflow doesn't have
this proto_library stuff. And I saw you are also packaging bazel-rules-cc,
bazel-rules-java and bazel-rules-proto. How to properly use these packages?

I tried to use --override_repository=rules_cc=/usr/share/bazel/rules/cc and
this is not very successful. If you have any instructions or documents that
I can read would be great.

Yours Sincerely,
Paul