github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/test/packetimpact/dut/BUILD (about)

     1  load("//tools:defs.bzl", "cc_binary", "grpcpp")
     2  
     3  package(
     4      default_visibility = ["//test/packetimpact:__subpackages__"],
     5      licenses = ["notice"],
     6  )
     7  
     8  cc_binary(
     9      name = "posix_server",
    10      srcs = ["posix_server.cc"],
    11      linkstatic = 1,
    12      static = True,  # This is needed for running in a docker container.
    13      deps = [
    14          grpcpp,
    15          "//test/packetimpact/proto:posix_server_cc_grpc_proto",
    16          "//test/packetimpact/proto:posix_server_cc_proto",
    17          "@com_google_absl//absl/strings:str_format",
    18      ],
    19  )
    20  
    21  cc_binary(
    22      name = "posix_server_dynamic",
    23      srcs = ["posix_server.cc"],
    24      deps = [
    25          grpcpp,
    26          "//test/packetimpact/proto:posix_server_cc_grpc_proto",
    27          "//test/packetimpact/proto:posix_server_cc_proto",
    28          "@com_google_absl//absl/strings:str_format",
    29      ],
    30  )