rocksdb/thrift/lib/cpp/util/TARGETS

75 lines
1.2 KiB
Plaintext
Raw Normal View History

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