blob: 76cafe6ec7f7cedd47619cffbf1a2e1abfcd156e [file] [log] [blame]
khenaidoo59ce9dd2019-11-11 13:05:32 -05001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
3
4package(default_visibility = ["//visibility:public"])
5
6proto_library(
7 name = "internal_proto",
8 srcs = ["stream_chunk.proto"],
9 deps = ["@com_google_protobuf//:any_proto"],
10)
11
12go_proto_library(
13 name = "internal_go_proto",
14 importpath = "github.com/grpc-ecosystem/grpc-gateway/internal",
15 proto = ":internal_proto",
16)
17
18go_library(
19 name = "go_default_library",
20 embed = [":internal_go_proto"],
21 importpath = "github.com/grpc-ecosystem/grpc-gateway/internal",
22)