blob: 5242751fb2d5af705f5d1ed91819d81e39dd300f [file] [log] [blame]
khenaidood948f772021-08-11 17:49:24 -04001load("@rules_proto//proto:defs.bzl", "proto_library")
khenaidooab1f7bd2019-11-14 14:00:27 -05002load("@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 = "internal_proto",
khenaidood948f772021-08-11 17:49:24 -04009 srcs = ["errors.proto"],
khenaidooab1f7bd2019-11-14 14:00:27 -050010 deps = ["@com_google_protobuf//:any_proto"],
11)
12
13go_proto_library(
14 name = "internal_go_proto",
15 importpath = "github.com/grpc-ecosystem/grpc-gateway/internal",
16 proto = ":internal_proto",
17)
18
19go_library(
20 name = "go_default_library",
21 embed = [":internal_go_proto"],
22 importpath = "github.com/grpc-ecosystem/grpc-gateway/internal",
23)