summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/time/BUILD
blob: b3ed42aa47f83858ef1a617b71d5772d1911850c (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
package(licenses = ["notice"])  # Apache 2.0

load("//tools/go_stateify:defs.bzl", "go_library", "go_stateify")

go_stateify(
    name = "time_state",
    srcs = [
        "time.go",
    ],
    out = "time_state.go",
    package = "time",
)

go_library(
    name = "time",
    srcs = [
        "context.go",
        "time.go",
        "time_state.go",
    ],
    importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/kernel/time",
    visibility = ["//pkg/sentry:internal"],
    deps = [
        "//pkg/abi/linux",
        "//pkg/log",
        "//pkg/sentry/context",
        "//pkg/state",
        "//pkg/syserror",
        "//pkg/waiter",
    ],
)