blob: c89eb04477d5eb3bde9df2e8c19ecbad1e175c91 [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 = ["//protoc-gen-swagger:__subpackages__"])
4
5go_library(
6 name = "go_default_library",
7 srcs = [
8 "doc.go",
9 "generator.go",
Arjun E K57a7fcb2020-01-30 06:44:45 +000010 "helpers.go",
11 "helpers_go111_old.go",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 "template.go",
13 "types.go",
14 ],
15 importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger",
16 deps = [
17 "//internal:go_default_library",
18 "//protoc-gen-grpc-gateway/descriptor:go_default_library",
19 "//protoc-gen-grpc-gateway/generator:go_default_library",
20 "//protoc-gen-swagger/options:go_default_library",
21 "@com_github_golang_glog//:go_default_library",
22 "@com_github_golang_protobuf//descriptor:go_default_library_gen",
23 "@com_github_golang_protobuf//jsonpb:go_default_library_gen",
24 "@com_github_golang_protobuf//proto:go_default_library",
25 "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen",
26 "@io_bazel_rules_go//proto/wkt:any_go_proto",
27 "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
28 "@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
29 "@io_bazel_rules_go//proto/wkt:struct_go_proto",
30 ],
31)
32
33go_test(
34 name = "go_default_test",
35 size = "small",
36 srcs = ["template_test.go"],
37 embed = [":go_default_library"],
38 deps = [
39 "//protoc-gen-grpc-gateway/descriptor:go_default_library",
40 "//protoc-gen-grpc-gateway/httprule:go_default_library",
41 "//protoc-gen-swagger/options:go_default_library",
42 "@com_github_golang_protobuf//proto:go_default_library",
43 "@io_bazel_rules_go//proto/wkt:any_go_proto",
44 "@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
45 "@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
46 "@io_bazel_rules_go//proto/wkt:struct_go_proto",
47 ],
48)