blob: 20862228ef8722dd0ca70cdba24cba1387b41234 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3package(default_visibility = ["//visibility:public"])
4
5go_library(
6 name = "go_default_library",
7 srcs = [
8 "context.go",
9 "convert.go",
10 "doc.go",
11 "errors.go",
12 "fieldmask.go",
13 "handler.go",
14 "marshal_httpbodyproto.go",
15 "marshal_json.go",
16 "marshal_jsonpb.go",
17 "marshal_proto.go",
18 "marshaler.go",
19 "marshaler_registry.go",
20 "mux.go",
21 "pattern.go",
22 "proto2_convert.go",
23 "proto_errors.go",
24 "query.go",
25 ],
26 importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime",
27 deps = [
28 "//internal:go_default_library",
29 "//utilities:go_default_library",
30 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
31 "@com_github_golang_protobuf//proto:go_default_library",
32 "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen",
33 "@go_googleapis//google/api:httpbody_go_proto",
34 "@io_bazel_rules_go//proto/wkt:any_go_proto",
35 "@io_bazel_rules_go//proto/wkt:duration_go_proto",
36 "@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
37 "@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
38 "@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
39 "@org_golang_google_grpc//codes:go_default_library",
40 "@org_golang_google_grpc//grpclog:go_default_library",
41 "@org_golang_google_grpc//metadata:go_default_library",
42 "@org_golang_google_grpc//status:go_default_library",
43 ],
44)
45
46go_test(
47 name = "go_default_test",
48 size = "small",
49 srcs = [
50 "context_test.go",
51 "errors_test.go",
52 "fieldmask_test.go",
53 "handler_test.go",
54 "marshal_httpbodyproto_test.go",
55 "marshal_json_test.go",
56 "marshal_jsonpb_test.go",
57 "marshal_proto_test.go",
58 "marshaler_registry_test.go",
59 "mux_test.go",
60 "pattern_test.go",
61 "query_test.go",
62 ],
63 embed = [":go_default_library"],
64 deps = [
65 "//examples/proto/examplepb:go_default_library",
66 "//internal:go_default_library",
67 "//utilities:go_default_library",
68 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
69 "@com_github_golang_protobuf//proto:go_default_library",
70 "@com_github_golang_protobuf//ptypes:go_default_library_gen",
71 "@go_googleapis//google/api:httpbody_go_proto",
72 "@go_googleapis//google/rpc:errdetails_go_proto",
73 "@io_bazel_rules_go//proto/wkt:duration_go_proto",
74 "@io_bazel_rules_go//proto/wkt:empty_go_proto",
75 "@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
76 "@io_bazel_rules_go//proto/wkt:struct_go_proto",
77 "@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
78 "@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
79 "@org_golang_google_grpc//:go_default_library",
80 "@org_golang_google_grpc//codes:go_default_library",
81 "@org_golang_google_grpc//metadata:go_default_library",
82 "@org_golang_google_grpc//status:go_default_library",
83 ],
84)