github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/atomicbitops/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "atomicbitops", 7 srcs = [ 8 "aligned_32bit_unsafe.go", 9 "aligned_64bit.go", 10 "atomicbitops.go", 11 "atomicbitops_amd64.s", 12 "atomicbitops_arm64.s", 13 "atomicbitops_noasm.go", 14 ], 15 visibility = ["//:sandbox"], 16 ) 17 18 go_test( 19 name = "atomicbitops_test", 20 size = "small", 21 srcs = ["atomicbitops_test.go"], 22 library = ":atomicbitops", 23 deps = ["//pkg/sync"], 24 )