gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/rand/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 go_library( 9 name = "rand", 10 srcs = [ 11 "rand.go", 12 "rand_linux.go", 13 "rng.go", 14 ], 15 visibility = ["//:sandbox"], 16 deps = [ 17 "//pkg/sync", 18 "@org_golang_x_sys//unix:go_default_library", 19 ], 20 ) 21 22 go_test( 23 name = "rand_test", 24 srcs = ["rng_test.go"], 25 library = ":rand", 26 )