Dhruba Borthakur 80c663882a Create leveldb server via Thrift.
Summary:
First draft.
Unit tests pass.

Test Plan: unit tests attached

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D3969
2012-07-07 09:42:39 -07:00

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) ],
)