github.com/iceber/iouring-go@v0.0.0-20230403020409-002cfd2e2a90/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 load("@bazel_gazelle//:def.bzl", "gazelle") 3 4 # gazelle:prefix github.com/iceber/iouring-go 5 gazelle(name = "gazelle") 6 7 go_library( 8 name = "iouring-go", 9 srcs = [ 10 "errors.go", 11 "eventfd.go", 12 "fixed_buffers.go", 13 "fixed_files.go", 14 "iouring.go", 15 "link_request.go", 16 "mmap.go", 17 "options.go", 18 "poller.go", 19 "prep_request.go", 20 "probe.go", 21 "request.go", 22 "timeout.go", 23 "types.go", 24 "user_data.go", 25 "utils.go", 26 ], 27 importpath = "github.com/iceber/iouring-go", 28 visibility = ["//visibility:public"], 29 deps = select({ 30 "@io_bazel_rules_go//go/platform:android": [ 31 "//syscall", 32 "@org_golang_x_sys//unix:go_default_library", 33 ], 34 "@io_bazel_rules_go//go/platform:linux": [ 35 "//syscall", 36 "@org_golang_x_sys//unix:go_default_library", 37 ], 38 "//conditions:default": [], 39 }), 40 ) 41 42 go_test( 43 name = "iouring-go_test", 44 srcs = ["iouring_test.go"], 45 embed = [":iouring-go"], 46 )