2019-01-15 06:32:05 -08:00
|
|
|
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",
|
2019-08-14 02:00:39 -07:00
|
|
|
"marshal_httpbodyproto.go",
|
2019-01-15 06:32:05 -08:00
|
|
|
"marshal_json.go",
|
|
|
|
"marshal_jsonpb.go",
|
|
|
|
"marshal_proto.go",
|
|
|
|
"marshaler.go",
|
|
|
|
"marshaler_registry.go",
|
|
|
|
"mux.go",
|
|
|
|
"pattern.go",
|
|
|
|
"proto2_convert.go",
|
|
|
|
"proto_errors.go",
|
|
|
|
"query.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime",
|
|
|
|
deps = [
|
2019-04-04 02:55:32 -07:00
|
|
|
"//internal:go_default_library",
|
2019-01-15 06:32:05 -08:00
|
|
|
"//utilities:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//jsonpb:go_default_library_gen",
|
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen",
|
2019-08-14 02:00:39 -07:00
|
|
|
"@go_googleapis//google/api:httpbody_go_proto",
|
2019-01-15 06:32:05 -08:00
|
|
|
"@io_bazel_rules_go//proto/wkt:any_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:wrappers_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",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"context_test.go",
|
|
|
|
"errors_test.go",
|
|
|
|
"fieldmask_test.go",
|
|
|
|
"handler_test.go",
|
2019-08-14 02:00:39 -07:00
|
|
|
"marshal_httpbodyproto_test.go",
|
2019-01-15 06:32:05 -08:00
|
|
|
"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 = [
|
|
|
|
"//examples/proto/examplepb:go_default_library",
|
2019-04-04 02:55:32 -07:00
|
|
|
"//internal:go_default_library",
|
2019-01-15 06:32:05 -08:00
|
|
|
"//utilities:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//jsonpb:go_default_library_gen",
|
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
|
2019-08-14 02:00:39 -07:00
|
|
|
"@go_googleapis//google/api:httpbody_go_proto",
|
2019-01-15 06:32:05 -08:00
|
|
|
"@go_googleapis//google/rpc:errdetails_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
|
|
],
|
|
|
|
)
|