Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1 | load("@rules_proto//proto:defs.bzl", "proto_library") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 3 | load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") |
| 4 | |
| 5 | package(default_visibility = ["//visibility:public"]) |
| 6 | |
| 7 | proto_library( |
| 8 | name = "internal_proto", |
| 9 | srcs = ["stream_chunk.proto"], |
| 10 | deps = ["@com_google_protobuf//:any_proto"], |
| 11 | ) |
| 12 | |
| 13 | go_proto_library( |
| 14 | name = "internal_go_proto", |
| 15 | importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", |
| 16 | proto = ":internal_proto", |
| 17 | ) |
| 18 | |
| 19 | go_library( |
| 20 | name = "go_default_library", |
| 21 | embed = [":internal_go_proto"], |
| 22 | importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", |
| 23 | ) |