summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/sched/BUILD
blob: b533c51c4ca4c2150ced34dbda2c55c1cf49d229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package(licenses = ["notice"])  # Apache 2.0

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "sched",
    srcs = [
        "cpuset.go",
        "sched.go",
    ],
    importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/kernel/sched",
    visibility = ["//pkg/sentry:internal"],
)

go_test(
    name = "sched_test",
    size = "small",
    srcs = ["cpuset_test.go"],
    embed = [":sched"],
)