summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-10 17:47:06 -0500
committerAndrew Morrow <acm@mongodb.com>2016-12-14 09:22:24 -0500
commitf2f0613869fe05ceac7f988f04754cb311537a42 (patch)
tree17a1d2565810a5e8efbba09fd30c6dc22cb40e19 /src
parent175b8deb41fc9212e7184067e2a4f015d24542e9 (diff)
downloadmongo-f2f0613869fe05ceac7f988f04754cb311537a42.tar.gz
SERVER-23103 Move CuropMetrics to its own library
Diffstat (limited to 'src')
-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 7a398141963..c8fc94a48f7 100644
--- a/src/mongo/db/SConscript
+++ b/src/mongo/db/SConscript
@@ -689,10 +689,20 @@ env.Library(
],
)
+env.Library(
+ target="curop_metrics",
+ source=[
+ "curop_metrics.cpp",
+ ],
+ LIBDEPS=[
+ "commands/server_status_core",
+ "curop",
+ ],
+)
+
# mongod files - also files used in tools. present in dbtests, but not in mongos and not in client
# libs.
serverOnlyFiles = [
- "curop_metrics.cpp",
"index_builder.cpp",
"index_legacy.cpp",
"index_rebuilder.cpp",
@@ -741,6 +751,7 @@ serveronlyLibdeps = [
"concurrency/lock_manager",
"concurrency/write_conflict_exception",
"curop",
+ "curop_metrics",
"dbdirectclient",
"dbhelpers",
"db_raii",