def _invoke_codegen_rule_name(plugin, target_name, thrift_src):
    """Returns the name of the rule that invokes the plugin codegen binary."""
    return "{}-cpp2-{}-{}".format(target_name, plugin.name, thrift_src)