summaryrefslogtreecommitdiffhomepage
path: root/pkg/shim/runtimeoptions/BUILD
blob: 029be7c093536a2c2e810c473de0d56f319a8649 (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
load("//tools:defs.bzl", "go_library", "go_test", "proto_library")

package(licenses = ["notice"])

proto_library(
    name = "api",
    srcs = [
        "runtimeoptions.proto",
    ],
)

go_library(
    name = "runtimeoptions",
    srcs = [
        "runtimeoptions.go",
        "runtimeoptions_cri.go",
    ],
    visibility = ["//pkg/shim:__pkg__"],
    deps = ["@com_github_gogo_protobuf//proto:go_default_library"],
)

go_test(
    name = "runtimeoptions_test",
    size = "small",
    srcs = ["runtimeoptions_test.go"],
    library = ":runtimeoptions",
    deps = [
        "@com_github_containerd_containerd//runtime/v1/shim/v1:go_default_library",
        "@com_github_containerd_typeurl//:go_default_library",
        "@com_github_gogo_protobuf//proto:go_default_library",
    ],
)