github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/plugin/gogo/protobuf/BUILD.bazel (about)

     1  load("@build_stack_rules_proto//rules:proto_plugin.bzl", "proto_plugin")
     2  load(
     3      "@io_bazel_rules_go//proto/wkt:well_known_types.bzl",
     4      "GOGO_WELL_KNOWN_TYPE_REMAPS",
     5  )
     6  load(":variants.bzl", "GOGO_VARIANTS")
     7  
     8  [proto_plugin(
     9      name = "protoc-gen-" + variant,
    10      options = GOGO_WELL_KNOWN_TYPE_REMAPS,
    11      tool = "@com_github_gogo_protobuf//protoc-gen-" + variant,
    12      visibility = ["//visibility:public"],
    13  ) for variant in GOGO_VARIANTS]
    14  
    15  filegroup(
    16      name = "all_files",
    17      testonly = True,
    18      srcs = [
    19          "BUILD.bazel",
    20          "variants.bzl",
    21      ],
    22      visibility = ["//plugin:__pkg__"],
    23  )