diff options
Diffstat (limited to 'pkg/amutex/BUILD')
-rw-r--r-- | pkg/amutex/BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/amutex/BUILD b/pkg/amutex/BUILD new file mode 100644 index 000000000..ffc918846 --- /dev/null +++ b/pkg/amutex/BUILD @@ -0,0 +1,18 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "amutex", + srcs = ["amutex.go"], + visibility = ["//:sandbox"], + deps = ["//pkg/syserror"], +) + +go_test( + name = "amutex_test", + size = "small", + srcs = ["amutex_test.go"], + library = ":amutex", + deps = ["//pkg/sync"], +) |