summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/SConscript
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-09 15:45:08 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-13 18:54:52 -0400
commita1b194059660d78afba0d8750231f48e4f77f2a6 (patch)
treecd8d34fa5475ed56250294a20d08861e2f12c496 /src/mongo/db/s/SConscript
parentbed7bb44a9cd84da56631b3a83437fc18ed46e3d (diff)
downloadmongo-a1b194059660d78afba0d8750231f48e4f77f2a6.tar.gz
SERVER-29908 Move more libraries from sharding into sharding_api_d/sharding_runtime_d
Diffstat (limited to 'src/mongo/db/s/SConscript')
-rw-r--r--src/mongo/db/s/SConscript39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript
index 24bcbf767b3..4dbfef30d60 100644
--- a/src/mongo/db/s/SConscript
+++ b/src/mongo/db/s/SConscript
@@ -14,6 +14,7 @@ env.Library(
'collection_metadata.cpp',
'database_sharding_state.cpp',
'operation_sharding_state.cpp',
+ 'sharded_connection_info.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
@@ -25,13 +26,31 @@ env.Library(
env.Library(
target='sharding_runtime_d',
source=[
+ 'active_migrations_registry.cpp',
+ 'active_move_primaries_registry.cpp',
+ 'chunk_move_write_concern_options.cpp',
'chunk_splitter.cpp',
'config_server_op_observer.cpp',
'implicit_create_collection.cpp',
+ 'migration_chunk_cloner_source.cpp',
+ 'migration_chunk_cloner_source_legacy.cpp',
'migration_destination_manager.cpp',
+ 'migration_source_manager.cpp',
+ 'migration_util.cpp',
+ 'move_timing_helper.cpp',
+ 'namespace_metadata_change_notifications.cpp',
+ 'read_only_catalog_cache_loader.cpp',
'session_catalog_migration_destination.cpp',
+ 'session_catalog_migration_source.cpp',
'shard_filtering_metadata_refresh.cpp',
+ 'shard_identity_rollback_notifier.cpp',
+ 'shard_metadata_util.cpp',
+ 'shard_server_catalog_cache_loader.cpp',
'shard_server_op_observer.cpp',
+ 'sharding_state_recovery.cpp',
+ 'sharding_statistics.cpp',
+ 'split_chunk.cpp',
+ 'split_vector.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/db_raii',
@@ -40,6 +59,7 @@ env.Library(
'$BUILD_DIR/mongo/db/repl/repl_coordinator_interface',
'$BUILD_DIR/mongo/db/rw_concern_d',
'sharding',
+ 'sharding_api_d',
'sharding_catalog_manager',
],
)
@@ -73,31 +93,12 @@ env.Library(
env.Library(
target='sharding',
source=[
- 'active_migrations_registry.cpp',
- 'active_move_primaries_registry.cpp',
- 'chunk_move_write_concern_options.cpp',
'collection_range_deleter.cpp',
'collection_sharding_state.cpp',
'metadata_manager.cpp',
- 'migration_chunk_cloner_source.cpp',
- 'migration_chunk_cloner_source_legacy.cpp',
- 'migration_source_manager.cpp',
- 'migration_util.cpp',
- 'move_timing_helper.cpp',
- 'namespace_metadata_change_notifications.cpp',
- 'read_only_catalog_cache_loader.cpp',
- 'session_catalog_migration_source.cpp',
- 'shard_identity_rollback_notifier.cpp',
- 'shard_metadata_util.cpp',
- 'shard_server_catalog_cache_loader.cpp',
- 'sharded_connection_info.cpp',
'sharding_egress_metadata_hook_for_mongod.cpp',
'sharding_initialization_mongod.cpp',
'sharding_state.cpp',
- 'sharding_state_recovery.cpp',
- 'sharding_statistics.cpp',
- 'split_chunk.cpp',
- 'split_vector.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',