diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-12-10 17:54:32 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-12-14 09:22:24 -0500 |
commit | 81863cf2f2d707ecb282846831593370ef467869 (patch) | |
tree | 94b43852bd7577028a0854a121503e948cf1e3e0 | |
parent | f2f0613869fe05ceac7f988f04754cb311537a42 (diff) | |
download | mongo-81863cf2f2d707ecb282846831593370ef467869.tar.gz |
SERVER-23103 Move index things into own library
-rw-r--r-- | src/mongo/db/SConscript | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index c8fc94a48f7..16c629d05b4 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -700,12 +700,23 @@ env.Library( ], ) +env.Library( + target="index_d", + source=[ + "index_builder.cpp", + "index_legacy.cpp", + "index_rebuilder.cpp", + ], + LIBDEPS=[ + "catalog/catalog", + "db_raii", + "index/index_access_methods", + ], +) + # mongod files - also files used in tools. present in dbtests, but not in mongos and not in client # libs. serverOnlyFiles = [ - "index_builder.cpp", - "index_legacy.cpp", - "index_rebuilder.cpp", "instance.cpp", "introspect.cpp", "prefetch.cpp", @@ -762,6 +773,7 @@ serveronlyLibdeps = [ "global_timestamp", "index/index_descriptor", "index/index_access_methods", + "index_d", "matcher/expressions_mongod_only", "op_observer_d", "ops/write_ops", |