| 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", |
| "proto_errors.go", |
| "query.go", |
| ], |
| importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime", |
| deps = [ |
| "//internal:go_default_library", |
| "//utilities:go_default_library", |
| "@com_github_golang_protobuf//descriptor:go_default_library_gen", |
| "@com_github_golang_protobuf//jsonpb:go_default_library_gen", |
| "@com_github_golang_protobuf//proto:go_default_library", |
| "@go_googleapis//google/api:httpbody_go_proto", |
| "@io_bazel_rules_go//proto/wkt:any_go_proto", |
| "@io_bazel_rules_go//proto/wkt:descriptor_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", |
| "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 = [ |
| "//internal:go_default_library", |
| "//runtime/internal/examplepb:go_default_library", |
| "//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", |
| "@go_googleapis//google/api:httpbody_go_proto", |
| "@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//codes:go_default_library", |
| "@org_golang_google_grpc//metadata:go_default_library", |
| "@org_golang_google_grpc//status:go_default_library", |
| ], |
| ) |