86 lines
3.4 KiB
Python
86 lines
3.4 KiB
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"context.go",
|
||
|
"convert.go",
|
||
|
"doc.go",
|
||
|
"errors.go",
|
||
|
"fieldmask.go",
|
||
|
"handler.go",
|
||
|
"marshal_httpbodyproto.go",
|
||
|
"marshal_json.go",
|
||
|
"marshal_jsonpb.go",
|
||
|
"marshal_proto.go",
|
||
|
"marshaler.go",
|
||
|
"marshaler_registry.go",
|
||
|
"mux.go",
|
||
|
"pattern.go",
|
||
|
"proto2_convert.go",
|
||
|
"query.go",
|
||
|
],
|
||
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/runtime",
|
||
|
deps = [
|
||
|
"//internal/httprule:go_default_library",
|
||
|
"//utilities:go_default_library",
|
||
|
"@go_googleapis//google/api:httpbody_go_proto",
|
||
|
"@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
|
||
|
"@org_golang_google_grpc//codes:go_default_library",
|
||
|
"@org_golang_google_grpc//grpclog:go_default_library",
|
||
|
"@org_golang_google_grpc//metadata:go_default_library",
|
||
|
"@org_golang_google_grpc//status:go_default_library",
|
||
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
||
|
"@org_golang_google_protobuf//proto:go_default_library",
|
||
|
"@org_golang_google_protobuf//reflect/protoreflect:go_default_library",
|
||
|
"@org_golang_google_protobuf//reflect/protoregistry:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/durationpb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
size = "small",
|
||
|
srcs = [
|
||
|
"context_test.go",
|
||
|
"convert_test.go",
|
||
|
"errors_test.go",
|
||
|
"fieldmask_test.go",
|
||
|
"handler_test.go",
|
||
|
"marshal_httpbodyproto_test.go",
|
||
|
"marshal_json_test.go",
|
||
|
"marshal_jsonpb_test.go",
|
||
|
"marshal_proto_test.go",
|
||
|
"marshaler_registry_test.go",
|
||
|
"mux_test.go",
|
||
|
"pattern_test.go",
|
||
|
"query_test.go",
|
||
|
],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//runtime/internal/examplepb:go_default_library",
|
||
|
"//utilities:go_default_library",
|
||
|
"@com_github_google_go_cmp//cmp:go_default_library",
|
||
|
"@com_github_google_go_cmp//cmp/cmpopts:go_default_library",
|
||
|
"@go_googleapis//google/api:httpbody_go_proto",
|
||
|
"@go_googleapis//google/rpc:errdetails_go_proto",
|
||
|
"@go_googleapis//google/rpc:status_go_proto",
|
||
|
"@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
|
||
|
"@org_golang_google_grpc//codes:go_default_library",
|
||
|
"@org_golang_google_grpc//metadata:go_default_library",
|
||
|
"@org_golang_google_grpc//status:go_default_library",
|
||
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
||
|
"@org_golang_google_protobuf//proto:go_default_library",
|
||
|
"@org_golang_google_protobuf//testing/protocmp:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/durationpb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/structpb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
||
|
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
|
||
|
],
|
||
|
)
|