khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -0500 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") |
| 3 | |
| 4 | package(default_visibility = ["//visibility:public"]) |
| 5 | |
| 6 | proto_library( |
| 7 | name = "internal_proto", |
| 8 | srcs = ["stream_chunk.proto"], |
| 9 | deps = ["@com_google_protobuf//:any_proto"], |
| 10 | ) |
| 11 | |
| 12 | go_proto_library( |
| 13 | name = "internal_go_proto", |
| 14 | importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", |
| 15 | proto = ":internal_proto", |
| 16 | ) |
| 17 | |
| 18 | go_library( |
| 19 | name = "go_default_library", |
| 20 | embed = [":internal_go_proto"], |
| 21 | importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", |
| 22 | ) |