...

Text file src/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb/BUILD.bazel

Documentation: github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb

     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 = "examplepb_proto",
     9    srcs = [
    10        "example.proto",
    11    ],
    12    deps = [
    13        "@com_google_protobuf//:empty_proto",
    14        "@com_google_protobuf//:timestamp_proto",
    15    ],
    16)
    17
    18go_proto_library(
    19    name = "examplepb_go_proto",
    20    importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb",
    21    proto = ":examplepb_proto",
    22)
    23
    24go_library(
    25    name = "go_default_library",
    26    embed = [":examplepb_go_proto"],
    27    importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb",
    28)

View as plain text