2020-08-06 19:08:12 +00:00
|
|
|
load("//tools:defs.bzl", "bzl_library", "go_binary")
|
2020-02-20 02:20:52 +00:00
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "runner",
|
|
|
|
testonly = 1,
|
2021-06-10 00:33:52 +00:00
|
|
|
srcs = ["main.go"],
|
2020-02-20 02:20:52 +00:00
|
|
|
data = [
|
|
|
|
"//runsc",
|
2021-06-25 00:45:51 +00:00
|
|
|
"//test/runner/setup_container",
|
2020-02-20 02:20:52 +00:00
|
|
|
],
|
|
|
|
visibility = ["//:sandbox"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/log",
|
2020-04-23 18:32:08 +00:00
|
|
|
"//pkg/test/testutil",
|
2020-02-20 02:20:52 +00:00
|
|
|
"//runsc/specutils",
|
|
|
|
"//test/runner/gtest",
|
|
|
|
"//test/uds",
|
2020-07-13 23:10:58 +00:00
|
|
|
"@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
|
2020-07-25 08:03:02 +00:00
|
|
|
"@com_github_syndtr_gocapability//capability:go_default_library",
|
2020-02-20 02:20:52 +00:00
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2020-08-06 19:08:12 +00:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "defs_bzl",
|
|
|
|
srcs = ["defs.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|