blob: 89f94a14b453685a799ecdce99765cdb5db97aba [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 = ["//:generators"])
4
5go_library(
6 name = "go_default_library",
7 srcs = [
8 "compile.go",
9 "parse.go",
10 "types.go",
11 ],
12 importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule",
13 deps = [
14 "//utilities:go_default_library",
15 "@com_github_golang_glog//:go_default_library",
16 ],
17)
18
19go_test(
20 name = "go_default_test",
21 size = "small",
22 srcs = [
23 "compile_test.go",
24 "parse_test.go",
25 "types_test.go",
26 ],
27 embed = [":go_default_library"],
28 deps = [
29 "//utilities:go_default_library",
30 "@com_github_golang_glog//:go_default_library",
31 ],
32)