...

Text file src/github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/pathenum/BUILD.bazel

Documentation: github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/pathenum

     1load("@rules_proto//proto:defs.bzl", "proto_library")
     2load("@io_bazel_rules_go//go:def.bzl", "go_library")
     3load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
     4
     5package(default_visibility = ["//visibility:public"])
     6
     7proto_library(
     8    name = "pathenum_proto",
     9    srcs = ["path_enum.proto"],
    10)
    11
    12go_proto_library(
    13    name = "pathenum_go_proto",
    14    compilers = ["//:go_apiv2"],
    15    importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/pathenum",
    16    proto = ":pathenum_proto",
    17)
    18
    19go_library(
    20    name = "pathenum",
    21    embed = [":pathenum_go_proto"],
    22    importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/pathenum",
    23)
    24
    25alias(
    26    name = "go_default_library",
    27    actual = ":pathenum",
    28    visibility = ["//examples:__subpackages__"],
    29)

View as plain text