gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/packetimpact/dut/BUILD (about) 1 load("//tools:defs.bzl", "cc_binary", "go_library", "grpcpp") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 cc_binary( 9 name = "posix_server", 10 srcs = ["posix_server.cc"], 11 visibility = ["//test/packetimpact:__subpackages__"], 12 deps = [ 13 grpcpp, 14 "//test/packetimpact/proto:posix_server_cc_grpc_proto", 15 "//test/packetimpact/proto:posix_server_cc_proto", 16 "@com_google_absl//absl/strings:str_format", 17 ], 18 ) 19 20 go_library( 21 name = "dut", 22 testonly = True, 23 srcs = ["dut.go"], 24 visibility = [ 25 "//test/packetimpact:__subpackages__", 26 "//turquoise/connectivity/netstack/gvisor_tests/packetimpact:__subpackages__", 27 ], 28 deps = [ 29 "//test/packetimpact/testbench", 30 "@org_golang_x_sync//errgroup:go_default_library", 31 "@org_golang_x_sys//unix:go_default_library", 32 ], 33 )