gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/seccomp/precompiledseccomp/BUILD (about) 1 load("//tools:defs.bzl", "bzl_library", "go_library", "go_test") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 go_library( 9 name = "precompiledseccomp", 10 srcs = ["precompiledseccomp.go"], 11 visibility = ["//:sandbox"], 12 deps = [ 13 "//pkg/bpf", 14 "//pkg/log", 15 "//pkg/seccomp", 16 ], 17 ) 18 19 # @unused 20 glaze_ignore = [ 21 "precompiled_lib.tmpl.go", 22 "precompile_gen.go", 23 ] 24 25 exports_files( 26 srcs = [ 27 "precompile_gen.go", 28 "precompiled_lib.tmpl.go", 29 ], 30 visibility = [ 31 "//:sandbox", 32 ], 33 ) 34 35 bzl_library( 36 name = "defs_bzl", 37 srcs = ["defs.bzl"], 38 visibility = [ 39 "//:sandbox", 40 ], 41 ) 42 43 go_test( 44 name = "precompiledseccomp_test", 45 srcs = ["precompiledseccomp_test.go"], 46 library = ":precompiledseccomp", 47 deps = [ 48 "//pkg/abi/linux", 49 "//pkg/seccomp", 50 "@org_golang_x_sys//unix:go_default_library", 51 ], 52 )