gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/syncevent/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(default_applicable_licenses = ["//:license"]) 4 5 licenses(["notice"]) 6 7 go_library( 8 name = "syncevent", 9 srcs = [ 10 "broadcaster.go", 11 "receiver.go", 12 "source.go", 13 "syncevent.go", 14 "waiter_unsafe.go", 15 ], 16 visibility = ["//:sandbox"], 17 deps = [ 18 "//pkg/atomicbitops", 19 "//pkg/sync", 20 ], 21 ) 22 23 go_test( 24 name = "syncevent_test", 25 size = "small", 26 srcs = [ 27 "broadcaster_test.go", 28 "syncevent_example_test.go", 29 "waiter_test.go", 30 ], 31 library = ":syncevent", 32 deps = [ 33 "//pkg/atomicbitops", 34 "//pkg/sleep", 35 "//pkg/sync", 36 "//pkg/waiter", 37 ], 38 )