diff options
Diffstat (limited to 'pkg/flipcall/BUILD')
-rw-r--r-- | pkg/flipcall/BUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkg/flipcall/BUILD b/pkg/flipcall/BUILD new file mode 100644 index 000000000..9c5ad500b --- /dev/null +++ b/pkg/flipcall/BUILD @@ -0,0 +1,33 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +licenses(["notice"]) + +go_library( + name = "flipcall", + srcs = [ + "ctrl_futex.go", + "flipcall.go", + "flipcall_unsafe.go", + "futex_linux.go", + "io.go", + "packet_window_allocator.go", + ], + visibility = ["//visibility:public"], + deps = [ + "//pkg/abi/linux", + "//pkg/log", + "//pkg/memutil", + "//pkg/sync", + ], +) + +go_test( + name = "flipcall_test", + size = "small", + srcs = [ + "flipcall_example_test.go", + "flipcall_test.go", + ], + library = ":flipcall", + deps = ["//pkg/sync"], +) |