mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-25 13:32:22 +00:00
24 lines
702 B
Python
Executable File
24 lines
702 B
Python
Executable File
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",
|
|
)
|