github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/bpf/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "bpf", 7 srcs = [ 8 "bpf.go", 9 "decoder.go", 10 "input_bytes.go", 11 "interpreter.go", 12 "program_builder.go", 13 ], 14 visibility = ["//visibility:public"], 15 deps = ["//pkg/abi/linux"], 16 ) 17 18 go_test( 19 name = "bpf_test", 20 size = "small", 21 srcs = [ 22 "decoder_test.go", 23 "interpreter_test.go", 24 "program_builder_test.go", 25 ], 26 library = ":bpf", 27 deps = [ 28 "//pkg/abi/linux", 29 "//pkg/hostarch", 30 "//pkg/marshal", 31 ], 32 )