# TARGETS file for thrift/lib/cpp/server cpp_library ( name = "server", srcs = [ "TRpcTransportContext.cpp", "TServer.cpp", "TSimpleServer.cpp", "TThreadedServer.cpp", "TThreadPoolServer.cpp", ], deps = [ "@/thrift/lib/cpp/concurrency", "@/thrift/lib/cpp/transport", ] ) cpp_library ( name = "nonblocking", srcs = [ "TNonblockingServer.cpp" ], deps = [ ":server", "@/thrift/lib/cpp/concurrency", "@/thrift/lib/cpp/transport", "@/thrift/lib/cpp/transport:header", "@/thrift/lib/cpp/protocol:protocol", ], preprocessor_flags = [ "-DTCP_LOW_MIN_RTO=15" ], external_deps = [ ('libevent', None) ], )