summaryrefslogtreecommitdiffhomepage
path: root/pkg/tmutex/BUILD
blob: c20df7005d2d7cca63cfb37e3d33461c82c3bb06 (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"])  # Apache 2.0

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

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