gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/refs/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 load("//tools/go_generics:defs.bzl", "go_template") 3 4 package( 5 default_applicable_licenses = ["//:license"], 6 licenses = ["notice"], 7 ) 8 9 go_template( 10 name = "refs_template", 11 srcs = [ 12 "refs_template.go", 13 ], 14 opt_consts = [ 15 "enableLogging", 16 ], 17 types = [ 18 "T", 19 ], 20 visibility = ["//:sandbox"], 21 deps = [ 22 "//pkg/log", 23 "//pkg/refs", 24 ], 25 ) 26 27 go_library( 28 name = "refs", 29 srcs = [ 30 "refcounter.go", 31 "refs_map.go", 32 ], 33 visibility = ["//:sandbox"], 34 deps = [ 35 "//pkg/atomicbitops", 36 "//pkg/context", 37 "//pkg/log", 38 "//pkg/sync", 39 ], 40 )