rules_proto icon indicating copy to clipboard operation
rules_proto copied to clipboard

Cycle Dependency in `proto_cc_library` when per-file `proto_library` is disabled

Open auzhva opened this issue 3 years ago • 0 comments

Gazelle extension generates cyclic dependencies in the following conditions:

Folder structure:

file1.proto
file2.proto
BUILD.bazel

file1.proto and file2.proto belongs to a same package, and one imports another one.

In generated rules proto_cc_library will try to import itself.

auzhva avatar Mar 16 '22 14:03 auzhva