summaryrefslogtreecommitdiffhomepage
path: root/pkg/tmutex/BUILD
blob: 98d51cc697039d141a97a7f3daab1e7a6a90b94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "tmutex",
    srcs = ["tmutex.go"],
    importpath = "gvisor.dev/gvisor/pkg/tmutex",
    visibility = ["//:sandbox"],
)

go_test(
    name = "tmutex_test",
    size = "medium",
    srcs = ["tmutex_test.go"],
    embed = [":tmutex"],
)