summaryrefslogtreecommitdiffhomepage
path: root/pkg/tmutex/BUILD
blob: 5d1614d356e1e593b2f113c144f42c97cc2d1212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package(licenses = ["notice"])  # BSD

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

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"],
)