• Florian Weikert's avatar
    Declare all inputs of protoc action · c2b3e70e
    Florian Weikert authored
    ctx.executable.plugin must be in the inputs of protoc's action when using a plugin, otherwise the action will fail.
    
    This bug has been hidden by a bug in Bazel: for every ctx.action, Bazel used to automatically add the runfiles of all executable inputs of the RULE instead of using the inputs of the specific ACTION. Consequently, we could get away with underspecifying the inputs of the action.
    c2b3e70e
protobuf.bzl 11 KB