Move thrift api from thrift/leveldb.thrift to thrift/if/leveldb.thrift Summary: Test Plan: Reviewers: CC: Task ID: # Blame Rev:main
parent
d11b637f34
commit
bfaa1bd26c
@ -1,46 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp |
||||
|
||||
cpp_library ( |
||||
name = "thrift_exception", |
||||
srcs = [ |
||||
"TApplicationException.cpp", |
||||
], |
||||
external_deps = [ |
||||
('boost', None), |
||||
], |
||||
) |
||||
|
||||
cpp_library ( |
||||
name = "thrift", |
||||
srcs = [ |
||||
"VirtualProfiling.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp:thrift_base", |
||||
"@/thrift/lib/cpp/concurrency", |
||||
"@/thrift/lib/cpp/processor", |
||||
"@/thrift/lib/cpp/protocol", |
||||
"@/thrift/lib/cpp/server", |
||||
"@/thrift/lib/cpp/transport", |
||||
"@/thrift/lib/cpp:thrift_exception", |
||||
] |
||||
) |
||||
|
||||
cpp_library ( |
||||
name = "thrift_base", |
||||
srcs = [ |
||||
"Thrift.cpp", |
||||
"EventHandlerBase.cpp", |
||||
], |
||||
external_deps = [ |
||||
('boost', None), |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = "reflection", |
||||
srcs = [], |
||||
deps = [ |
||||
"@/thrift/lib/thrift:reflection-cpp", |
||||
], |
||||
) |
@ -1,103 +0,0 @@ |
||||
# The base async library |
||||
cpp_library( |
||||
name = 'async_base', |
||||
srcs = [ |
||||
'TAsyncServerSocket.cpp', |
||||
'TAsyncSignalHandler.cpp', |
||||
'TAsyncSocket.cpp', |
||||
'TAsyncTimeout.cpp', |
||||
'TBinaryAsyncChannel.cpp', |
||||
'THeaderAsyncChannel.cpp', |
||||
'TEventBase.cpp', |
||||
'TEventBaseManager.cpp', |
||||
'TEventHandler.cpp', |
||||
'TFramedAsyncChannel.cpp', |
||||
'TNotificationPipe.cpp', |
||||
'TUnframedAsyncChannel.cpp', |
||||
'THttpAsyncChannel.cpp', |
||||
], |
||||
deps = [ |
||||
'@/folly/experimental/io', |
||||
'@/thrift/lib/cpp:thrift_base', |
||||
'@/thrift/lib/cpp/transport', |
||||
'@/thrift/lib/cpp/transport:header', |
||||
'@/thrift/lib/cpp/protocol', |
||||
'@/thrift/lib/cpp/server', |
||||
'@/thrift/lib/cpp/util:httpparser', |
||||
], |
||||
external_deps = [ ('libevent', None) ], |
||||
) |
||||
|
||||
# TEventServer library (async name is used all over), now depends on ssl |
||||
cpp_library( |
||||
name = 'async', |
||||
srcs = [ |
||||
'TEventConnection.cpp', |
||||
'TEventServer.cpp', |
||||
'TEventTask.cpp', |
||||
'TEventWorker.cpp', |
||||
], |
||||
deps = [ |
||||
':async_ssl', |
||||
], |
||||
) |
||||
|
||||
cpp_library ( |
||||
name = "async_ssl", |
||||
srcs = [ |
||||
'TAsyncSSLServerSocket.cpp', |
||||
'TAsyncSSLSocket.cpp', |
||||
], |
||||
deps = [ |
||||
":async_base", |
||||
"@/thrift/lib/cpp/transport:transport_ssl", |
||||
], |
||||
external_deps = [ ("openssl", None, "ssl"), |
||||
("openssl", None, "crypto") ], |
||||
) |
||||
|
||||
# This library is the same as async_ssl, except that it has the debug |
||||
# logging level set to 4, whereas async_ssl has debug logging disabled. |
||||
cpp_library ( |
||||
name = "async_ssl_log", |
||||
srcs = [ |
||||
'TAsyncSSLServerSocket.cpp', |
||||
'TAsyncSSLSocket.cpp', |
||||
], |
||||
deps = [ |
||||
":async_base", |
||||
"@/thrift/lib/cpp/transport:transport_ssl", |
||||
], |
||||
external_deps = [ ("openssl", None, "ssl"), |
||||
("openssl", None, "crypto") ], |
||||
preprocessor_flags = [ |
||||
"-DT_GLOBAL_DEBUGGING_LEVEL=4" |
||||
], |
||||
output_subdir = "async_ssl_log", |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'zlib', |
||||
srcs = [ |
||||
'TZlibAsyncChannel.cpp', |
||||
], |
||||
deps = [ |
||||
':async', |
||||
'@/thrift/lib/cpp/transport:zlib', |
||||
], |
||||
) |
||||
|
||||
# Parts of the async library that depend on C++11 features. |
||||
# This is separate from the main async library for now so that users who cannot |
||||
# depend on C++11 features yet will still be able to use the bulk of the async |
||||
# library. |
||||
cpp_library( |
||||
name = 'async_cxx11', |
||||
srcs = [ |
||||
'TAsyncTimeoutSet.cpp', |
||||
], |
||||
deps = [ |
||||
':async_base', |
||||
'@/folly', |
||||
], |
||||
) |
@ -1,17 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp/concurrency |
||||
|
||||
cpp_library ( |
||||
name = "concurrency", |
||||
srcs = [ |
||||
"Util.cpp", |
||||
"Monitor.cpp", |
||||
"Mutex.cpp", |
||||
"PosixThreadFactory.cpp", |
||||
"ThreadManager.cpp", |
||||
"TimerManager.cpp" |
||||
], |
||||
deps = [ '@/common/base:profiler', |
||||
'@/thrift/lib/cpp:thrift_base' ], |
||||
) |
||||
|
||||
|
@ -1,45 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp/concurrency/test |
||||
|
||||
cpp_binary ( |
||||
name = "test", |
||||
srcs = [ |
||||
"Tests.cpp" |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/concurrency" |
||||
] |
||||
) |
||||
|
||||
cpp_unittest ( |
||||
name = "test_mutex", |
||||
srcs = [ |
||||
"RWMutexTest.cpp" |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/concurrency", |
||||
"@/thrift/lib/cpp:thrift", |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
owner = 'putivsky', |
||||
emails = ['adback-dev@lists.facebook.com', |
||||
'thrift-team@lists.facebook.com'], |
||||
|
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'ThreadManagerTests', |
||||
srcs = [ |
||||
'ThreadManagerTests.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/concurrency', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
@ -1,9 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp/processor |
||||
|
||||
cpp_library ( |
||||
name = "processor", |
||||
srcs = [ |
||||
"PeekProcessor.cpp" |
||||
], |
||||
deps = [ "@/thrift/lib/cpp/transport" ] |
||||
) |
@ -1,24 +0,0 @@ |
||||
cpp_unittest( |
||||
name = 'ProcessorTest', |
||||
srcs = [ |
||||
'EventLog.cpp', |
||||
'ProcessorTest.cpp', |
||||
'ServerThread.cpp', |
||||
], |
||||
deps = [ |
||||
':thrift', |
||||
'@/thrift/lib/cpp/server:nonblocking', |
||||
], |
||||
external_deps = [ |
||||
# Versions of boost lower than 1.37 don't support BOOST_AUTO_TEST_CASE. |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'thrift', |
||||
thrift_srcs = { 'proc.thrift' : ['ParentService', 'ChildService']}, |
||||
thrift_cpp_options = 'templates', |
||||
) |
@ -1,18 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp/protocol |
||||
|
||||
cpp_library ( |
||||
name = "protocol", |
||||
srcs = [ |
||||
"TBase64Utils.cpp", |
||||
"TDebugProtocol.cpp", |
||||
"TJSONProtocol.cpp", |
||||
"TSimpleJSONProtocol.cpp", |
||||
"THeaderProtocol.cpp", |
||||
"TPhpSerializeProtocol.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/transport", |
||||
"@/thrift/lib/cpp/transport:header", |
||||
"@/thrift/lib/cpp:thrift_exception", |
||||
], |
||||
) |
@ -1,24 +0,0 @@ |
||||
# Copyright 2011 Facebook |
||||
# @author Tudor Bosman (tudorb@fb.com) |
||||
|
||||
cpp_library( |
||||
name = "neutronium", |
||||
srcs = [ |
||||
"Schema.cpp", |
||||
"Encoder.cpp", |
||||
"Decoder.cpp", |
||||
"InternTable.cpp", |
||||
], |
||||
thrift_srcs = { |
||||
"intern_table.thrift": [], |
||||
}, |
||||
deps = [ |
||||
"@/folly", |
||||
"@/folly/experimental/io", |
||||
"@/thrift/lib/cpp/protocol", |
||||
], |
||||
external_deps = [ |
||||
("boost", None, "boost"), |
||||
], |
||||
) |
||||
|
@ -1,41 +0,0 @@ |
||||
# Copyright 2011 Facebook |
||||
# @author Tudor Bosman (tudorb@fb.com) |
||||
|
||||
thrift_library( |
||||
name = "if", |
||||
thrift_srcs = { |
||||
"neutronium_test.thrift" : [], |
||||
}, |
||||
languages = ["cpp"], |
||||
thrift_cpp_options = "templates=only,neutronium", |
||||
cpp_deps = [], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = "intern_table_test", |
||||
srcs = ["InternTableTest.cpp"], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/protocol/neutronium", |
||||
"@/external/gflags", |
||||
], |
||||
external_deps = [ |
||||
("gtest", None, "gtest_main"), |
||||
], |
||||
type = 'gtest', |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = "neutronium_test", |
||||
srcs = ["NeutroniumTest.cpp"], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/protocol/neutronium", |
||||
"@/thrift/lib/cpp/util", |
||||
":if-cpp", |
||||
"@/common/fbunit:old_folly_benchmark", |
||||
], |
||||
external_deps = [ |
||||
("gtest", None), |
||||
], |
||||
type = 'gtest', |
||||
) |
||||
|
@ -1,30 +0,0 @@ |
||||
# 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) ], |
||||
) |
@ -1,60 +0,0 @@ |
||||
cpp_binary ( |
||||
name = "aggregatorserver_test", |
||||
srcs = [ |
||||
"AggregatorServerTest.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/async", |
||||
"@/thrift/lib/cpp/concurrency", |
||||
"@/thrift/lib/cpp/protocol", |
||||
"@/thrift/lib/cpp/server:nonblocking", |
||||
"@/common/fb303/cpp:fb303", |
||||
"@/common/base:profiler", |
||||
":aggregator_test_thrift", |
||||
], |
||||
allocator='tcmalloc', |
||||
) |
||||
|
||||
cpp_binary ( |
||||
name = "aggregatorclient_test", |
||||
srcs = [ |
||||
"AggregatorClientTest.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/async", |
||||
"@/thrift/lib/cpp/concurrency", |
||||
"@/thrift/lib/cpp/protocol", |
||||
"@/common/fb303/cpp:fb303", |
||||
"@/common/base:profiler", |
||||
"@/common/client_mgmt:asyncclient", |
||||
"@/common/logging:logging", |
||||
":aggregator_test_thrift", |
||||
], |
||||
allocator='tcmalloc', |
||||
) |
||||
|
||||
cpp_library ( |
||||
name = "aggregator_test_thrift", |
||||
thrift_srcs = { "AggregatorTest.thrift" : [ "AggregatorTest" ] }, |
||||
thrift_cpp_options = "cob_style", |
||||
deps = [ |
||||
"@/common/fb303/if:fb303-cpp", |
||||
], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = "conn_ctx_test", |
||||
srcs = [ |
||||
"ConnCtxTest.cpp", |
||||
], |
||||
thrift_srcs = { "connctx.thrift" : [ "ConnCtxService" ] }, |
||||
deps = [ |
||||
"@/thrift/lib/cpp/test:util", |
||||
"@/thrift/lib/cpp/util:nonblocking", |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
@ -1,167 +0,0 @@ |
||||
cpp_unittest( |
||||
name = 'TEventBaseTest', |
||||
srcs = [ |
||||
'TEventBaseTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TAsyncChannelTest', |
||||
srcs = [ |
||||
'TAsyncChannelTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TAsyncChannelClientTest', |
||||
srcs = [ |
||||
'TAsyncChannelClientTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async:zlib', |
||||
'@/thrift/lib/cpp/util:nonblocking', |
||||
'@/thrift/lib/cpp/util:httpparser', |
||||
'@/thrift/perf/cpp:load-handler', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TAsyncSocketTest', |
||||
srcs = [ |
||||
'TAsyncSocketTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TAsyncSSLSocketTest', |
||||
srcs = [ |
||||
'TAsyncSSLSocketTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async:async_ssl', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['ti-bugs@lists.facebook.com', |
||||
'thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TAsyncTimeoutSetTest', |
||||
srcs = [ |
||||
'TAsyncTimeoutSetTest.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async:async_cxx11', |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TNotificationQueueTest', |
||||
srcs = [ |
||||
'TNotificationQueueTest.cpp', |
||||
], |
||||
deps = [ |
||||
':async_util', |
||||
'@/thrift/lib/cpp/async:async_cxx11', |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TNotificationPipeTest', |
||||
srcs = [ |
||||
'TNotificationPipeTest.cpp', |
||||
], |
||||
deps = [ |
||||
':async_util', |
||||
':util', |
||||
'@/thrift/lib/cpp/async', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'util', |
||||
srcs = [ |
||||
'NetworkUtil.cpp', |
||||
'SocketPair.cpp', |
||||
'TimeUtil.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/transport', |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'async_util', |
||||
srcs = [ |
||||
'ScopedEventBaseThread.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/async', |
||||
'@/thrift/lib/cpp/concurrency', |
||||
], |
||||
) |
||||
|
||||
cpp_library ( |
||||
name = "DebugProtocolLib", |
||||
thrift_srcs = { |
||||
"DebugProtocolTest.thrift" : "DebugProtocolService" |
||||
}, |
||||
thrift_cpp_options = "templates" |
||||
) |
||||
|
||||
cpp_binary ( |
||||
name = "DebugProtocol", |
||||
srcs = [ |
||||
"DebugProtocolTest.cpp", |
||||
], |
||||
deps = [ |
||||
":DebugProtocolLib", |
||||
], |
||||
) |
@ -1,32 +0,0 @@ |
||||
cpp_library( |
||||
name = 'loadgen', |
||||
srcs = [ |
||||
'Controller.cpp', |
||||
'LatencyMonitor.cpp', |
||||
'LatencyScoreBoard.cpp', |
||||
'LoadConfig.cpp', |
||||
'loadgen.cpp', |
||||
'QpsMonitor.cpp', |
||||
'QpsScoreBoard.cpp', |
||||
'RNG.cpp', |
||||
'TerminalMonitor.cpp', |
||||
'WeightedLoadConfig.cpp', |
||||
], |
||||
deps = [ |
||||
'@/common/time:time', |
||||
], |
||||
external_deps = [ |
||||
('boost', None, 'boost'), |
||||
], |
||||
) |
||||
|
||||
cpp_binary( |
||||
name = 'perftest', |
||||
srcs = [ |
||||
'PerfTest.cpp', |
||||
], |
||||
deps = [ |
||||
':loadgen', |
||||
'@/common/config', |
||||
], |
||||
) |
@ -1,88 +0,0 @@ |
||||
# TARGETS file for thrift/lib/cpp/transport |
||||
|
||||
cpp_library( |
||||
name = "transport", |
||||
srcs = [ |
||||
"TFileTransport.cpp", |
||||
"TFDTransport.cpp", |
||||
"THttpClient.cpp", |
||||
"THttpServer.cpp", |
||||
"THttpTransport.cpp", |
||||
"TServerSocket.cpp", |
||||
"TSimpleFileTransport.cpp", |
||||
"TSocket.cpp", |
||||
"TSocketAddress.cpp", |
||||
"TSocketPool.cpp", |
||||
"TTransportException.cpp", |
||||
"TTransportUtils.cpp", |
||||
"TBufferTransports.cpp", |
||||
"TMemPagedFactory.cpp", |
||||
"TMemPagedTransport.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp:thrift_base", |
||||
"@/thrift/lib/cpp/concurrency", |
||||
"@/external/google_base", |
||||
], |
||||
preprocessor_flags = [ "-DTCP_LOW_MIN_RTO=15" ], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = "transport_ssl", |
||||
srcs = [ |
||||
"TSSLSocket.cpp", |
||||
"TSSLServerSocket.cpp", |
||||
], |
||||
deps = [ |
||||
":transport", |
||||
"@/thrift/lib/cpp/concurrency", |
||||
], |
||||
external_deps = [ ('openssl', None, 'ssl') ], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = "header", |
||||
srcs = [ "THeaderTransport.cpp", |
||||
"THeader.cpp" ], |
||||
deps = [ |
||||
":transport", |
||||
"@/folly/experimental/io:io", |
||||
"@/thrift/lib/cpp/util:internal_util", |
||||
], |
||||
external_deps = [ ('zlib', None, 'z'), |
||||
('snappy', None) |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = "zlib", |
||||
srcs = [ "TZlibTransport.cpp" ], |
||||
deps = [ |
||||
":transport", |
||||
], |
||||
external_deps = [ ('zlib', None, 'z') ], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = "hdfs_transport", |
||||
srcs = [ "HDFS.cpp", |
||||
"THDFSFileTransport.cpp", |
||||
], |
||||
|
||||
system_deps = [ "-Lexternal/hadoop/latest/", |
||||
"-L$(JAVA_HOME)/jre/lib/amd64/server/", |
||||
"-Lexternal/jvm/", |
||||
"-ljvm", |
||||
"-lhdfs" |
||||
], |
||||
preprocessor_flags = [ "-I@@@JAVA_HOME@@@/include", |
||||
"-I@@@JAVA_HOME@@@/include/linux", |
||||
"-Iexternal/hadoop/latest", |
||||
], |
||||
shared_system_deps = [ "hdfs", |
||||
"jvm", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp:thrift_base", |
||||
], |
||||
) |
@ -1,69 +0,0 @@ |
||||
cpp_unittest( |
||||
name = 'THeaderTest', |
||||
srcs = [ |
||||
'THeaderTest.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/transport:header', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TSocketAddressTest', |
||||
srcs = [ |
||||
'TSocketAddressTest.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/transport', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'TSSLSocketTest', |
||||
srcs = [ |
||||
'TSSLSocketTest.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/transport:transport_ssl', |
||||
'@/thrift/lib/cpp/util', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = [ |
||||
'ti-bugs@lists.facebook.com', |
||||
'thrift-team@lists.facebook.com', |
||||
], |
||||
) |
||||
|
||||
cpp_unittest ( |
||||
name = "TSocketPoolTest", |
||||
srcs = [ |
||||
"TSocketPoolTest.cpp", |
||||
], |
||||
deps = [ |
||||
'@/common/fbunit', |
||||
'@/thrift/lib/cpp/transport', |
||||
], |
||||
) |
||||
|
||||
cpp_binary ( |
||||
name = "ttransport_test", |
||||
srcs = [ |
||||
"TransportTest.cpp", |
||||
], |
||||
deps = [ |
||||
"@/thrift/lib/cpp/transport", |
||||
] |
||||
) |
@ -1,74 +0,0 @@ |
||||
cpp_library( |
||||
name = 'util', |
||||
srcs = [ |
||||
'ScopedServerThread.cpp', |
||||
'ServerCreatorBase.cpp', |
||||
'SyncServerCreator.cpp', |
||||
'TSimpleServerCreator.cpp', |
||||
'TThreadedServerCreator.cpp', |
||||
'TThreadPoolServerCreator.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/server', |
||||
'@/thrift/lib/cpp/protocol', |
||||
'@/folly', |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'internal_util', |
||||
srcs = [ |
||||
'VarintUtils.cpp', |
||||
], |
||||
deps = [ |
||||
'@/folly', |
||||
], |
||||
external_deps = [ |
||||
('gflags', None, 'gflags'), |
||||
('glog', None, 'glog'), |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'nonblocking', |
||||
srcs = [ |
||||
'TNonblockingServerCreator.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/server:nonblocking', |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'async', |
||||
srcs = [ |
||||
'TEventServerCreator.cpp', |
||||
], |
||||
deps = [ |
||||
':util', |
||||
'@/thrift/lib/cpp/async', |
||||
], |
||||
) |
||||
|
||||
cpp_library( |
||||
name = 'httpparser', |
||||
srcs = [ |
||||
'THttpParser.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/transport', |
||||
], |
||||
) |
||||
|
||||
cpp_unittest( |
||||
name = 'ThriftSerializerTest', |
||||
srcs = [ 'ThriftSerializerTest.cpp' ], |
||||
thrift_srcs = { 'ThriftSerializerTest.thrift' : [ ] }, |
||||
thrift_cpp_options = 'templates', |
||||
deps = [ '@/common/strings:strings', |
||||
'@/common/fbunit', |
||||
], |
||||
) |
||||
|
||||
|
@ -1,17 +0,0 @@ |
||||
cpp_unittest( |
||||
name = 'ServerCreatorTest', |
||||
srcs = [ |
||||
'ServerCreatorTest.cpp', |
||||
], |
||||
deps = [ |
||||
'@/thrift/lib/cpp/util:async', |
||||
'@/thrift/lib/cpp/util:nonblocking', |
||||
'@/thrift/perf/cpp:load-handler', |
||||
'@/thrift/perf/cpp:async-load-handler', |
||||
], |
||||
external_deps = [ |
||||
('boost', '>= 1.37', 'boost_unit_test_framework'), |
||||
], |
||||
type = 'boost', |
||||
emails = ['thrift-team@lists.facebook.com'], |
||||
) |
Loading…
Reference in new issue