diff options
author | James Wahlin <james@mongodb.com> | 2017-09-12 11:46:56 -0400 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2017-09-27 14:29:57 -0400 |
commit | 790cd20518f4aeef78780293b15842c32e7e4b55 (patch) | |
tree | 4dc1cf971b9502ab005f2cc9aa1f048b631056e6 /src/mongo/db/matcher/SConscript | |
parent | 7765cbafc5ab73262ce8d233c2410194b6bba1d7 (diff) | |
download | mongo-790cd20518f4aeef78780293b15842c32e7e4b55.tar.gz |
SERVER-30989 Expression to match rewrite module
Introduces a standalone Expression => MatchExpression rewrite module
with unit tests.
Diffstat (limited to 'src/mongo/db/matcher/SConscript')
-rw-r--r-- | src/mongo/db/matcher/SConscript | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/mongo/db/matcher/SConscript b/src/mongo/db/matcher/SConscript index f3096cfc1c1..a795325d185 100644 --- a/src/mongo/db/matcher/SConscript +++ b/src/mongo/db/matcher/SConscript @@ -30,6 +30,7 @@ env.Library( target='expressions', source=[ 'expression.cpp', + 'expression_algo.cpp', 'expression_array.cpp', 'expression_expr.cpp', 'expression_geo.cpp', @@ -49,6 +50,7 @@ env.Library( 'matchable.cpp', 'matcher.cpp', 'matcher_type_set.cpp', + 'rewrite_expr.cpp', 'schema/expression_internal_schema_all_elem_match_from_index.cpp', 'schema/expression_internal_schema_allowed_properties.cpp', 'schema/expression_internal_schema_cond.cpp', @@ -133,24 +135,15 @@ env.CppUnitTest( ], ) -env.Library( - target='expression_algo', - source=[ - 'expression_algo.cpp', - ], - LIBDEPS=[ - 'expressions', - ], -) - env.CppUnitTest( target='expression_algo_test', source=[ 'expression_algo_test.cpp', + 'rewrite_expr_test.cpp', ], LIBDEPS=[ '$BUILD_DIR/mongo/db/query/collation/collator_interface_mock', - 'expression_algo', + 'expressions', ], ) |