mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
36 lines
856 B
Python
36 lines
856 B
Python
load("//tools:defs.bzl", "go_library", "go_test", "proto_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
proto_library(
|
|
name = "api",
|
|
srcs = [
|
|
"runtimeoptions.proto",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "runtimeoptions",
|
|
srcs = [
|
|
"runtimeoptions.go",
|
|
"runtimeoptions_cri.go",
|
|
],
|
|
visibility = ["//pkg/shim/v1/runsc:__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",
|
|
],
|
|
)
|