summaryrefslogtreecommitdiff
path: root/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/BUILD.bazel
blob: f694f3c0d035a1cee9100f659401934cf7be3428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(default_visibility = ["//visibility:public"])

go_library(
    name = "httprule",
    srcs = [
        "compile.go",
        "parse.go",
        "types.go",
    ],
    importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule",
    deps = ["//utilities"],
)

go_test(
    name = "httprule_test",
    size = "small",
    srcs = [
        "compile_test.go",
        "parse_test.go",
        "types_test.go",
    ],
    embed = [":httprule"],
    deps = [
        "//utilities",
        "@com_github_golang_glog//:glog",
    ],
)

alias(
    name = "go_default_library",
    actual = ":httprule",
    visibility = ["//:__subpackages__"],
)