18 lines
318 B
Python
18 lines
318 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
go_library(
|
|
name = "amutex",
|
|
srcs = ["amutex.go"],
|
|
visibility = ["//:sandbox"],
|
|
)
|
|
|
|
go_test(
|
|
name = "amutex_test",
|
|
size = "small",
|
|
srcs = ["amutex_test.go"],
|
|
library = ":amutex",
|
|
deps = ["//pkg/sync"],
|
|
)
|