summaryrefslogtreecommitdiff
path: root/src/mongo/s/SConscript
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-05-19 14:31:49 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-05-23 16:54:46 -0400
commit8dbc6f2de3f301bab1063b5ff7677f4e430838d3 (patch)
tree7382f09bf2521e8eea0316ec0666cee9b9f3e079 /src/mongo/s/SConscript
parent04819884c69dc0ead7611e0a77c824dfbf1b8117 (diff)
downloadmongo-8dbc6f2de3f301bab1063b5ff7677f4e430838d3.tar.gz
SERVER-22646 mongos's addShard sends _configsvrAddShard to the configs
Diffstat (limited to 'src/mongo/s/SConscript')
-rw-r--r--src/mongo/s/SConscript24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index f3d165806a0..edf38cbde4e 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -166,6 +166,29 @@ env.CppUnitTest(
]
)
+env.Library(
+ target='request_types',
+ source=[
+ 'request_types/add_shard_request_type.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/base',
+ '$BUILD_DIR/mongo/bson/util/bson_extract',
+ '$BUILD_DIR/mongo/client/connection_string',
+ '$BUILD_DIR/mongo/db/server_options_core',
+ '$BUILD_DIR/mongo/db/service_context',
+ ],
+)
+
+env.CppUnitTest('request_types_test',
+ source=[
+ 'request_types/add_shard_request_test.cpp',
+ ],
+ LIBDEPS=[
+ 'request_types',
+ ],
+)
+
# This library contains sharding functionality used by both mongod and mongos. Certain tests,
# which exercise this functionality also link against it.
env.Library(
@@ -195,6 +218,7 @@ env.Library(
'catalog/replset/catalog_manager_replica_set',
'client/sharding_client',
'common',
+ 'request_types',
],
LIBDEPS_TAGS=[
'incomplete',