# -*- mode: python -*- Import("env") env = env.Clone() # WorkingSet target and associated test env.Library( target = "working_set", source = [ "working_set.cpp", ], LIBDEPS = [ "$BUILD_DIR/mongo/base", "$BUILD_DIR/mongo/db/bson/dotted_path_support", "$BUILD_DIR/mongo/db/service_context", ], ) env.CppUnitTest( target = "working_set_test", source = [ "working_set_test.cpp" ], LIBDEPS = [ "working_set", ], ) env.Library( target = "scoped_timer", source = [ "scoped_timer.cpp", ], LIBDEPS = [ '$BUILD_DIR/mongo/util/net/network', ], ) env.Library( target='stagedebug_cmd', source=[ 'stagedebug_cmd.cpp' ], LIBDEPS=[ "$BUILD_DIR/mongo/db/index/index_access_methods", "$BUILD_DIR/mongo/db/query_exec", ], LIBDEPS_PRIVATE=[ '$BUILD_DIR/mongo/db/commands/test_commands_enabled', ], ) env.CppUnitTest( target = "queued_data_stage_test", source = [ "queued_data_stage_test.cpp", ], LIBDEPS = [ "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "$BUILD_DIR/mongo/dbtests/mocklib", "$BUILD_DIR/mongo/util/clock_source_mock", ], ) env.CppUnitTest( target = "sort_test", source = [ "sort_test.cpp", ], LIBDEPS = [ "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "$BUILD_DIR/mongo/dbtests/mocklib", "$BUILD_DIR/mongo/db/query/collation/collator_factory_mock", "$BUILD_DIR/mongo/db/query/collation/collator_interface_mock", "$BUILD_DIR/mongo/util/clock_source_mock", ], ) env.CppUnitTest( target = "projection_exec_test", source = [ "projection_exec_test.cpp", ], LIBDEPS = [ "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", "$BUILD_DIR/mongo/db/query/collation/collator_interface_mock", "$BUILD_DIR/mongo/db/query/query_test_service_context", "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", ], )