summaryrefslogtreecommitdiff
path: root/src/mongo/SConscript
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-03-15 16:50:29 -0400
committerHenrik Edin <henrik.edin@mongodb.com>2018-03-23 11:47:39 -0400
commit49138e688e51b8397bc32d8c875ea10ef968af4c (patch)
tree6226316e9ceb4ebada810e832ea4acbdbd8277c3 /src/mongo/SConscript
parente06bf692e42a84eae9f74001d7f5677b91c26cad (diff)
downloadmongo-49138e688e51b8397bc32d8c875ea10ef968af4c.tar.gz
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.
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r--src/mongo/SConscript8
1 files changed, 6 insertions, 2 deletions
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',