summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-03-01 11:42:52 -0500
committerAndrew Morrow <acm@mongodb.com>2018-08-20 17:30:09 -0400
commitcad80a22a034c3f6c551529a9e6331a50dc8fde7 (patch)
tree9ee8caf9db0a2abb77e2ab3ea0a180d20524a8d7 /src/mongo/db
parent2ba04aa6156baf973a1ced2c7ec013c590458fc8 (diff)
downloadmongo-cad80a22a034c3f6c551529a9e6331a50dc8fde7.tar.gz
SERVER-30815 The db/serveronly library no longer exports library edges
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/SConscript5
-rw-r--r--src/mongo/db/catalog/SConscript3
-rw-r--r--src/mongo/db/ops/SConscript1
-rw-r--r--src/mongo/db/repl/SConscript8
-rw-r--r--src/mongo/db/s/SConscript1
-rw-r--r--src/mongo/db/storage/SConscript1
6 files changed, 18 insertions, 1 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript
index 2dac5cbc802..d327b38f363 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -133,6 +133,7 @@ env.CppUnitTest(
'auth/authmocks',
'common',
'op_observer_d',
+ 'repl/oplog_interface_local',
'repl/replmocks',
'service_context_d_test_fixture',
],
@@ -1063,7 +1064,9 @@ env.Library(
# See the additional comments in instance.cpp for details.
'instance.cpp'
],
- LIBDEPS=[
+ LIBDEPS_PRIVATE=[
+ # DO NOT ADD ADDITIONAL FILES TO THIS LIST.
+ # This list should be gradually becoming empty.
"$BUILD_DIR/mongo/db/bson/dotted_path_support",
"$BUILD_DIR/mongo/db/logical_time_metadata_hook",
"$BUILD_DIR/mongo/db/ttl_collection_cache",
diff --git a/src/mongo/db/catalog/SConscript b/src/mongo/db/catalog/SConscript
index 826f6302a2c..05ce3036ad4 100644
--- a/src/mongo/db/catalog/SConscript
+++ b/src/mongo/db/catalog/SConscript
@@ -152,6 +152,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/db_raii',
'$BUILD_DIR/mongo/db/namespace_string',
'$BUILD_DIR/mongo/db/op_observer_d',
+ '$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper',
'$BUILD_DIR/mongo/db/repl/optime',
'$BUILD_DIR/mongo/db/repl/repl_coordinator_interface',
'$BUILD_DIR/mongo/db/repl/replmocks',
@@ -366,6 +367,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/auth/authmocks',
'$BUILD_DIR/mongo/db/db_raii',
'$BUILD_DIR/mongo/db/namespace_string',
+ '$BUILD_DIR/mongo/db/op_observer',
'$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper',
'$BUILD_DIR/mongo/db/repl/oplog',
'$BUILD_DIR/mongo/db/repl/optime',
@@ -385,6 +387,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/auth/authmocks',
'$BUILD_DIR/mongo/db/db_raii',
'$BUILD_DIR/mongo/db/namespace_string',
+ '$BUILD_DIR/mongo/db/op_observer',
'$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper',
'$BUILD_DIR/mongo/db/repl/oplog',
'$BUILD_DIR/mongo/db/repl/optime',
diff --git a/src/mongo/db/ops/SConscript b/src/mongo/db/ops/SConscript
index b7428b32608..4c1d43b1e5f 100644
--- a/src/mongo/db/ops/SConscript
+++ b/src/mongo/db/ops/SConscript
@@ -73,5 +73,6 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/db/query_exec',
'$BUILD_DIR/mongo/db/repl/mock_repl_coord_server_fixture',
'$BUILD_DIR/mongo/db/repl/oplog_entry',
+ '$BUILD_DIR/mongo/db/write_ops',
],
)
diff --git a/src/mongo/db/repl/SConscript b/src/mongo/db/repl/SConscript
index a5f66564955..98d1cee071f 100644
--- a/src/mongo/db/repl/SConscript
+++ b/src/mongo/db/repl/SConscript
@@ -95,9 +95,11 @@ env.CppUnitTest(
LIBDEPS=[
'oplog',
'oplog_entry',
+ 'oplog_interface_local',
'replmocks',
'storage_interface_impl',
'$BUILD_DIR/mongo/db/auth/authmocks',
+ '$BUILD_DIR/mongo/db/op_observer_d',
'$BUILD_DIR/mongo/db/service_context_d_test_fixture',
'$BUILD_DIR/mongo/rpc/command_status',
],
@@ -568,6 +570,7 @@ env.Library(
'oplog_interface_mock',
'optime',
'replication_process',
+ 'replication_recovery',
'replmocks',
'rs_rollback',
'storage_interface_impl',
@@ -617,6 +620,7 @@ env.CppUnitTest(
'rollback_impl_test.cpp',
],
LIBDEPS=[
+ 'oplog_interface_local',
'oplog_interface_mock',
'rollback_impl',
'rollback_test_fixture',
@@ -704,6 +708,7 @@ env.Library(
'sync_tail_test_fixture.cpp',
],
LIBDEPS=[
+ 'drop_pending_collection_reaper',
'oplog_application',
'replmocks',
'storage_interface_impl',
@@ -1620,7 +1625,10 @@ env.Library(
],
LIBDEPS=[
'oplog',
+ 'oplog_entry',
'replmocks',
+ '$BUILD_DIR/mongo/db/catalog_raii',
+ '$BUILD_DIR/mongo/db/dbdirectclient',
'$BUILD_DIR/mongo/db/service_context_d_test_fixture',
]
)
diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript
index 4f256b99eae..2d136b0cff3 100644
--- a/src/mongo/db/s/SConscript
+++ b/src/mongo/db/s/SConscript
@@ -365,6 +365,7 @@ env.CppUnitTest(
LIBDEPS=[
'$BUILD_DIR/mongo/db/auth/authmocks',
'$BUILD_DIR/mongo/db/repl/mock_repl_coord_server_fixture',
+ 'sharding_runtime_d',
]
)
diff --git a/src/mongo/db/storage/SConscript b/src/mongo/db/storage/SConscript
index 9c5bee08173..c67c897dbd7 100644
--- a/src/mongo/db/storage/SConscript
+++ b/src/mongo/db/storage/SConscript
@@ -268,6 +268,7 @@ env.CppUnitTest(
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/auth/authmocks',
+ '$BUILD_DIR/mongo/db/dbhelpers',
'$BUILD_DIR/mongo/db/namespace_string',
'$BUILD_DIR/mongo/db/repair_database',
'$BUILD_DIR/mongo/db/repl/replmocks',