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

     1  load("@build_stack_rules_proto//rules:proto_plugin.bzl", "proto_plugin")
     2  
     3  proto_plugin(
     4      name = "protoc-gen-grpc-web",
     5      tool = select({
     6          "@bazel_tools//src/conditions:darwin_x86_64": "@github_com_grpc_grpc_web_releases_download_1_5_0_protoc_gen_grpc_web_1_5_0_darwin_x86_64//file",
     7          "@bazel_tools//src/conditions:darwin_arm64": "@github_com_grpc_grpc_web_releases_download_1_5_0_protoc_gen_grpc_web_1_5_0_darwin_aarch64//file",
     8          "@bazel_tools//src/conditions:linux_x86_64": "@github_com_grpc_grpc_web_releases_download_1_5_0_protoc_gen_grpc_web_1_5_0_linux_x86_64//file",
     9          "@bazel_tools//src/conditions:linux_aarch64": "@github_com_grpc_grpc_web_releases_download_1_5_0_protoc_gen_grpc_web_1_5_0_linux_aarch64//file",
    10          "@bazel_tools//src/conditions:windows": "@github_com_grpc_grpc_web_releases_download_1_5_0_protoc_gen_grpc_web_1_5_0_windows_x86_64_exe//file",
    11      }),
    12      visibility = ["//visibility:public"],
    13  )
    14  
    15  filegroup(
    16      name = "all_files",
    17      testonly = True,
    18      srcs = ["BUILD.bazel"],
    19      visibility = ["//plugin:__pkg__"],
    20  )