summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/SConscript')
-rw-r--r--src/mongo/db/s/SConscript22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript
index d752c9fed0a..891a891c4db 100644
--- a/src/mongo/db/s/SConscript
+++ b/src/mongo/db/s/SConscript
@@ -20,6 +20,17 @@ env.Library(
)
env.Library(
+ target='migration_types',
+ source=[
+ 'migration_session_id.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/base',
+ '$BUILD_DIR/mongo/bson/util/bson_extract',
+ ],
+)
+
+env.Library(
target='sharding',
source=[
'migration_destination_manager.cpp',
@@ -34,6 +45,7 @@ env.Library(
'$BUILD_DIR/mongo/bson/util/bson_extract',
'$BUILD_DIR/mongo/db/common',
'$BUILD_DIR/mongo/s/sharding_initialization',
+ 'migration_types',
],
LIBDEPS_TAGS=[
# Depends on symbols defined in files in serverOnlyFiles, and has
@@ -62,6 +74,16 @@ env.Library(
)
env.CppUnitTest(
+ target='migration_types_test',
+ source=[
+ 'migration_session_id_test.cpp',
+ ],
+ LIBDEPS=[
+ 'migration_types',
+ ]
+)
+
+env.CppUnitTest(
target='metadata_test',
source=[
'metadata_loader_test.cpp',