mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 20:06:19 -04:00
24 lines
702 B
Python
24 lines
702 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||
|
|
||
|
package(default_visibility = ["//runtime:__subpackages__"])
|
||
|
|
||
|
proto_library(
|
||
|
name = "internal_proto",
|
||
|
srcs = ["stream_chunk.proto"],
|
||
|
deps = ["@com_google_protobuf//:any_proto"],
|
||
|
)
|
||
|
|
||
|
go_proto_library(
|
||
|
name = "internal_go_proto",
|
||
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime/internal",
|
||
|
proto = ":internal_proto",
|
||
|
deps = ["@com_github_golang_protobuf//ptypes/any:go_default_library"],
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
embed = [":internal_go_proto"],
|
||
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime/internal",
|
||
|
)
|