From 49138e688e51b8397bc32d8c875ea10ef968af4c Mon Sep 17 00:00:00 2001 From: Henrik Edin Date: Thu, 15 Mar 2018 16:50:29 -0400 Subject: SERVER-33889 Split dcommands and core into libraries for embedded vs standalone process applications. Refactored commands libraries throughout the codebase and made their uses be LIBDEPS_PRIVATE when possible as most commands don't export any symbols and don't even have headerfiles. --- src/mongo/SConscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/mongo/SConscript') diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 3d4fb782bd9..f0d931e5fcd 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -293,7 +293,8 @@ env.Library( ], LIBDEPS_PRIVATE=[ 'db/catalog/health_log', - 'db/commands/core', + 'db/commands/mongod', + 'db/commands/mongod_fcv', 'db/dbdirectclient', 'db/ftdc/ftdc_mongod', 'db/index_d', @@ -414,12 +415,14 @@ if not hygienic: 's/version_mongos.cpp', ] + env.WindowsResourceFile("s/server.rc"), LIBDEPS=[ - 'db/commands/core', + 'db/auth/authmongos', 'db/commands/server_status', + 'db/curop', 'db/ftdc/ftdc_mongos', 'db/logical_time_metadata_hook', 'db/mongodandmongos', 'db/server_options', + 'db/startup_warnings_common', 'db/stats/counters', 's/client/sharding_connection_hook', 's/commands/cluster_commands', @@ -429,6 +432,7 @@ if not hygienic: 's/is_mongos', 's/sharding_egress_metadata_hook_for_mongos', 's/sharding_initialization', + 's/query/cluster_cursor_cleanup_job', 'transport/service_entry_point', 'transport/transport_layer_manager', 'util/clock_sources', -- cgit v1.2.1