summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-10 17:58:59 -0500
committerAndrew Morrow <acm@mongodb.com>2016-12-14 09:22:24 -0500
commitc4c221d934753bbcf39492bd95087ee88d190032 (patch)
treeec4616786e7a3be77c37641d79e033f792cca7b9
parent81863cf2f2d707ecb282846831593370ef467869 (diff)
downloadmongo-c4c221d934753bbcf39492bd95087ee88d190032.tar.gz
SERVER-23103 Move introspect to its own library
-rw-r--r--src/mongo/db/SConscript13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript
index 16c629d05b4..dce5a411847 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -714,11 +714,21 @@ env.Library(
],
)
+env.Library(
+ target="introspect",
+ source=[
+ "introspect.cpp",
+ ],
+ LIBDEPS=[
+ "catalog/catalog",
+ "db_raii",
+ ],
+)
+
# mongod files - also files used in tools. present in dbtests, but not in mongos and not in client
# libs.
serverOnlyFiles = [
"instance.cpp",
- "introspect.cpp",
"prefetch.cpp",
"range_deleter_db_env.cpp",
"range_deleter_service.cpp",
@@ -774,6 +784,7 @@ serveronlyLibdeps = [
"index/index_descriptor",
"index/index_access_methods",
"index_d",
+ "introspect",
"matcher/expressions_mongod_only",
"op_observer_d",
"ops/write_ops",