gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/p9/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 default_visibility = ["//visibility:public"], 6 licenses = ["notice"], 7 ) 8 9 go_library( 10 name = "p9", 11 srcs = [ 12 "buffer.go", 13 "client.go", 14 "client_file.go", 15 "file.go", 16 "handlers.go", 17 "messages.go", 18 "p9.go", 19 "path_tree.go", 20 "server.go", 21 "transport.go", 22 "transport_flipcall.go", 23 "version.go", 24 ], 25 deps = [ 26 "//pkg/abi/linux", 27 "//pkg/atomicbitops", 28 "//pkg/errors", 29 "//pkg/errors/linuxerr", 30 "//pkg/fd", 31 "//pkg/fdchannel", 32 "//pkg/flipcall", 33 "//pkg/log", 34 "//pkg/pool", 35 "//pkg/sync", 36 "//pkg/unet", 37 "@org_golang_x_sys//unix:go_default_library", 38 ], 39 ) 40 41 go_test( 42 name = "p9_test", 43 size = "small", 44 srcs = [ 45 "buffer_test.go", 46 "client_test.go", 47 "messages_test.go", 48 "p9_test.go", 49 "transport_test.go", 50 "version_test.go", 51 ], 52 library = ":p9", 53 deps = [ 54 "//pkg/fd", 55 "//pkg/unet", 56 "@org_golang_x_sys//unix:go_default_library", 57 ], 58 )