This change replaces the simple `basename` logic with a more general "remove prefix" logic. This allows py_proto_library to work even when the input proto_library's sources are contained in strict subdirectories of their package. (This situation is not uncommon when using remote, non-Bazel repositories that only get a single BUILD file.) |
||
|---|---|---|
| .. | ||
| hello_dep.proto | ||