diff options
author | Alberto Lerner <alerner@10gen.com> | 2013-07-05 10:35:20 -0400 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2013-07-05 10:35:20 -0400 |
commit | 1961a5d66cee7d9bc102cc2ff6f189c4c4306895 (patch) | |
tree | 5afc1c935a7bf81a0edc3ef0e0da32f150429858 /src/mongo/db/SConscript | |
parent | 5f949c19a26099320f1040e875b3841d4a362b26 (diff) | |
download | mongo-1961a5d66cee7d9bc102cc2ff6f189c4c4306895.tar.gz |
SERVER-7175 Support for catching conflicting mods in the update driver.
Diffstat (limited to 'src/mongo/db/SConscript')
-rw-r--r-- | src/mongo/db/SConscript | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index 6baa3da84d6..9343d53f0cb 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -3,15 +3,44 @@ Import("env") # -# We'd like 'common' to have the abstractions that are shared by several components of the +# The db/'common' lib has the abstractions that are shared by components of the # server. Ideally, many of the object in 'coredb' should be moved here when their dependencies # get resolved. # -env.StaticLibrary('common', ['field_ref.cpp', 'field_parser.cpp'], - LIBDEPS=['$BUILD_DIR/mongo/bson', - '$BUILD_DIR/mongo/foundation']) +env.StaticLibrary( + target= 'common', + source= [ + 'field_ref.cpp', + 'field_ref_set.cpp', + 'field_parser.cpp', + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/bson', + '$BUILD_DIR/mongo/foundation', + ], +) -env.CppUnitTest('field_ref_test', ['field_ref_test.cpp'], LIBDEPS=['common']) +env.CppUnitTest( + target= 'field_ref_test', + source= 'field_ref_test.cpp', + LIBDEPS=[ + 'common', + ], +) -env.CppUnitTest('field_parser_test', ['field_parser_test.cpp'], LIBDEPS=['common']) +env.CppUnitTest( + target= 'field_ref_set_test', + source = 'field_ref_set_test.cpp', + LIBDEPS=[ + 'common', + ], +) + +env.CppUnitTest( + target= 'field_parser_test', + source= 'field_parser_test.cpp', + LIBDEPS=[ + 'common', + ], +) |