80c663882a
Summary: First draft. Unit tests pass. Test Plan: unit tests attached Reviewers: heyongqiang Reviewed By: heyongqiang Differential Revision: https://reviews.facebook.net/D3969
31 lines
760 B
Plaintext
31 lines
760 B
Plaintext
# 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) ],
|
|
)
|