github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/plugin/grpc-ecosystem/grpc-gateway/BUILD.bazel (about)

     1  load("@build_stack_rules_proto//rules:proto_plugin.bzl", "proto_plugin")
     2  
     3  proto_plugin(
     4      name = "protoc-gen-grpc-gateway",
     5      options = ["paths=source_relative"],
     6      tool = "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-grpc-gateway",
     7      visibility = ["//visibility:public"],
     8  )
     9  
    10  proto_plugin(
    11      name = "protoc-gen-swagger",
    12      tool = "@com_github_grpc_ecosystem_grpc_gateway//protoc-gen-swagger",
    13      visibility = ["//visibility:public"],
    14  )
    15  
    16  filegroup(
    17      name = "all_files",
    18      testonly = True,
    19      srcs = ["BUILD.bazel"],
    20      visibility = ["//plugin:__pkg__"],
    21  )