fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.2 KiB
74 lines
1.2 KiB
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',
|
|
],
|
|
)
|
|
|
|
|
|
|