summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/SConscript
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-13 12:57:29 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-13 17:18:20 -0500
commitf8af7207e2359a119b29b6d4e4c6945cc0bf1a8a (patch)
treeab3a58e47fc318f743a68b1ea9d283c6e439b6fb /src/mongo/s/client/SConscript
parentd3b53c3acae86649f56b44c47258b38e76023457 (diff)
downloadmongo-f8af7207e2359a119b29b6d4e4c6945cc0bf1a8a.tar.gz
SERVER-29908 Create skeleton libraries for the sharding subsystem
Splits the sharding sybsystem into 3 main libraries, which are currently mostly empty, but we will start moving code from all the other existing libraries into them. The libraries are: s/sharding_api, db/s/sharding_api and db/s/sharding_runtime
Diffstat (limited to 'src/mongo/s/client/SConscript')
-rw-r--r--src/mongo/s/client/SConscript39
1 files changed, 1 insertions, 38 deletions
diff --git a/src/mongo/s/client/SConscript b/src/mongo/s/client/SConscript
index 5a5019433bb..1089e992f52 100644
--- a/src/mongo/s/client/SConscript
+++ b/src/mongo/s/client/SConscript
@@ -7,19 +7,14 @@ env = env.Clone()
env.Library(
target='sharding_client',
source=[
- 'shard_connection.cpp',
'shard_remote.cpp',
- 'version_manager.cpp',
],
LIBDEPS=[
- '$BUILD_DIR/mongo/client/clientdriver',
'$BUILD_DIR/mongo/client/fetcher',
'$BUILD_DIR/mongo/db/commands',
'$BUILD_DIR/mongo/db/lasterror',
'$BUILD_DIR/mongo/executor/task_executor_pool',
'$BUILD_DIR/mongo/s/grid',
- '$BUILD_DIR/mongo/s/routing_table',
- '$BUILD_DIR/mongo/s/cluster_last_error_info',
'shard_interface',
],
)
@@ -31,41 +26,9 @@ env.Library(
'sharding_network_connection_hook.cpp',
],
LIBDEPS=[
- 'sharding_client',
- '$BUILD_DIR/mongo/client/clientdriver',
- '$BUILD_DIR/mongo/s/coreshard',
- ],
-)
-
-env.Library(
- target='parallel',
- source=[
- 'parallel.cpp',
- ],
- LIBDEPS=[
- '$BUILD_DIR/mongo/base',
- '$BUILD_DIR/mongo/db/bson/dotted_path_support',
'$BUILD_DIR/mongo/s/coreshard',
- '$BUILD_DIR/mongo/util/net/network',
- 'sharding_client',
- ],
-)
-
-env.CppUnitTest(
- target='sharding_client_test',
- source=[
- 'shard_connection_test.cpp',
+ '$BUILD_DIR/mongo/s/sharding_legacy_api'
],
- LIBDEPS=[
- 'sharding_client',
- 'sharding_connection_hook',
- '$BUILD_DIR/mongo/client/remote_command_retry_scheduler',
- '$BUILD_DIR/mongo/db/auth/authorization_manager_mock_init',
- '$BUILD_DIR/mongo/db/service_context_noop_init',
- '$BUILD_DIR/mongo/dbtests/mocklib',
- '$BUILD_DIR/mongo/s/coreshard',
- '$BUILD_DIR/mongo/util/net/network',
- ]
)
env.CppUnitTest(