blob: 819c45a7657fa83f984f35861ff66c14484de8f6 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001load("@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//descriptor:go_default_library_gen",
31 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
32 "@com_github_golang_protobuf//proto:go_default_library",
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:descriptor_go_proto",
36 "@io_bazel_rules_go//proto/wkt:duration_go_proto",
37 "@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
38 "@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
39 "@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
40 "@org_golang_google_grpc//codes:go_default_library",
41 "@org_golang_google_grpc//grpclog:go_default_library",
42 "@org_golang_google_grpc//metadata:go_default_library",
43 "@org_golang_google_grpc//status:go_default_library",
44 ],
45)
46
47go_test(
48 name = "go_default_test",
49 size = "small",
50 srcs = [
51 "context_test.go",
52 "convert_test.go",
53 "errors_test.go",
54 "fieldmask_test.go",
55 "handler_test.go",
56 "marshal_httpbodyproto_test.go",
57 "marshal_json_test.go",
58 "marshal_jsonpb_test.go",
59 "marshal_proto_test.go",
60 "marshaler_registry_test.go",
61 "mux_test.go",
62 "pattern_test.go",
63 "query_test.go",
64 ],
65 embed = [":go_default_library"],
66 deps = [
67 "//examples/proto/examplepb:go_default_library",
68 "//internal:go_default_library",
69 "//utilities:go_default_library",
70 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
71 "@com_github_golang_protobuf//proto:go_default_library",
72 "@com_github_golang_protobuf//ptypes:go_default_library_gen",
73 "@go_googleapis//google/api:httpbody_go_proto",
74 "@go_googleapis//google/rpc:errdetails_go_proto",
75 "@io_bazel_rules_go//proto/wkt:duration_go_proto",
76 "@io_bazel_rules_go//proto/wkt:empty_go_proto",
77 "@io_bazel_rules_go//proto/wkt:field_mask_go_proto",
78 "@io_bazel_rules_go//proto/wkt:struct_go_proto",
79 "@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
80 "@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
81 "@org_golang_google_grpc//:go_default_library",
82 "@org_golang_google_grpc//codes:go_default_library",
83 "@org_golang_google_grpc//metadata:go_default_library",
84 "@org_golang_google_grpc//status:go_default_library",
85 ],
86)