blob: 58b72b9cf75136c8f511b7da332cfe0ea9774f34 [file] [log] [blame]
khenaidoo59ce9dd2019-11-11 13:05:32 -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",
khenaidoo26721882021-08-11 17:42:52 -040030 "@com_github_golang_protobuf//descriptor:go_default_library_gen",
khenaidoo59ce9dd2019-11-11 13:05:32 -050031 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
32 "@com_github_golang_protobuf//proto:go_default_library",
khenaidoo59ce9dd2019-11-11 13:05:32 -050033 "@go_googleapis//google/api:httpbody_go_proto",
34 "@io_bazel_rules_go//proto/wkt:any_go_proto",
khenaidoo26721882021-08-11 17:42:52 -040035 "@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
khenaidoo59ce9dd2019-11-11 13:05:32 -050036 "@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",
khenaidoo26721882021-08-11 17:42:52 -040052 "convert_test.go",
khenaidoo59ce9dd2019-11-11 13:05:32 -050053 "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 = [
khenaidoo59ce9dd2019-11-11 13:05:32 -050067 "//internal:go_default_library",
khenaidoo26721882021-08-11 17:42:52 -040068 "//runtime/internal/examplepb:go_default_library",
khenaidoo59ce9dd2019-11-11 13:05:32 -050069 "//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",
khenaidoo59ce9dd2019-11-11 13:05:32 -050081 "@org_golang_google_grpc//codes:go_default_library",
82 "@org_golang_google_grpc//metadata:go_default_library",
83 "@org_golang_google_grpc//status:go_default_library",
84 ],
85)