From 02779909333ff4333c316b54b9fbb2fdd635e15a Mon Sep 17 00:00:00 2001 From: Dianna Hohensee Date: Fri, 25 Mar 2016 12:58:52 -0400 Subject: SERVER-23445 create LocalClient class for local queries/writes, implement a find query interface --- src/mongo/db/SConscript | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/mongo/db/SConscript') diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index deac8c6ec4c..2bd2e2403f0 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -113,6 +113,30 @@ env.CppUnitTest( ) env.CppUnitTest('record_id_test', 'record_id_test.cpp', LIBDEPS=[]) +env.Library( + target='local_client', + source=[ + 'local_client.cpp', + ], + LIBDEPS=[ + 'query/query', + ] +) + +env.CppUnitTest( + target='local_client_test', + source=[ + 'local_client_test.cpp', + ], + LIBDEPS=[ + 'local_client', + 'repl/replmocks', + 'serveronly', + '$BUILD_DIR/mongo/util/ntservice_mock', + ], + NO_CRUTCH = True, +) + env.Library( target='startup_warnings_common', source=[ -- cgit v1.2.1