      attrs = {
          "srcs": attr.label_list(
              mandatory = True,
-@@ -160,13 +143,12 @@ _generate_cc = rule(
+@@ -161,13 +145,12 @@ _generate_cc = rule(
              mandatory = False,
              allow_empty = True,
          ),

             executable = True,
             cfg = "host",
         ),
@@ -175,12 +157,3 @@ _generate_cc = rule(
     output_to_genfiles = True,
     implementation = generate_cc_impl,
 )

     "get_include_directory",
     "get_plugin_args",
     "get_proto_root",
@@ -118,34 +118,18 @@ def generate_cc_impl(ctx):
     arguments += ["--proto_path={0}{1}".format(dir_out, proto_root)]
     arguments += [_get_srcs_file_path(proto) for proto in protos]
 
