Reference .proto source files using their exec path instead of their root-relative path so as to be a bit more consistent.
RELNOTES: None.
@@ -319,7 +319,7 @@ public class ProtoCompileActionBuilder {
}
for (Artifact src : protoInfo.getDirectProtoSources()) {
- result.addPath(src.getRootRelativePath());
+ result.addPath(src.getExecPath());
}
if (!hasServices) {
