gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/flipcall/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 = "flipcall", 9 srcs = [ 10 "ctrl_futex.go", 11 "flipcall.go", 12 "flipcall_unsafe.go", 13 "futex_linux.go", 14 "io.go", 15 "packet_window.go", 16 ], 17 visibility = ["//visibility:public"], 18 deps = [ 19 "//pkg/abi/linux", 20 "//pkg/atomicbitops", 21 "//pkg/log", 22 "//pkg/memutil", 23 "//pkg/sync", 24 "@org_golang_x_sys//unix:go_default_library", 25 ], 26 ) 27 28 go_test( 29 name = "flipcall_test", 30 size = "small", 31 srcs = [ 32 "flipcall_example_test.go", 33 "flipcall_test.go", 34 ], 35 library = ":flipcall", 36 deps = ["//pkg/sync"], 37 )