gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/shim/runtimeoptions/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test", "proto_library")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  proto_library(
     9      name = "api",
    10      srcs = [
    11          "runtimeoptions.proto",
    12      ],
    13  )
    14  
    15  go_library(
    16      name = "runtimeoptions",
    17      srcs = [
    18          "runtimeoptions.go",
    19          "runtimeoptions_cri.go",
    20      ],
    21      visibility = ["//pkg/shim:__pkg__"],
    22      deps = ["@com_github_gogo_protobuf//proto:go_default_library"],
    23  )
    24  
    25  go_test(
    26      name = "runtimeoptions_test",
    27      size = "small",
    28      srcs = ["runtimeoptions_test.go"],
    29      library = ":runtimeoptions",
    30      deps = [
    31          "@com_github_containerd_containerd//runtime/v1/shim/v1:go_default_library",
    32          "@com_github_containerd_typeurl//:go_default_library",
    33          "@com_github_gogo_protobuf//proto:go_default_library",
    34      ],
    35  )