blob: 5f73042d6f6be9669562f64db79dc950ea6436ee [file] [log] [blame]
Arjun E K57a7fcb2020-01-30 06:44:45 +00001load("@rules_proto//proto:defs.bzl", "proto_library")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002load("@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",
9 srcs = ["stream_chunk.proto"],
10 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)