summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/SConscript
diff options
context:
space:
mode:
authorSvilen Mihaylov <svilen.mihaylov@mongodb.com>2020-07-14 11:27:03 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-22 21:25:48 +0000
commit4f1d4c54ab1270dc61edd5931e0e77f524a7b989 (patch)
treeb4d2255a77c24f373cf016ebe0b74e7f3659d59e /src/mongo/db/query/SConscript
parent19db8ebda506ddcd3f4e477fb9bd4228867e6ca3 (diff)
downloadmongo-4f1d4c54ab1270dc61edd5931e0e77f524a7b989.tar.gz
SERVER-48731 Inclusion of FLE support in the shell drags too much of the query system in
Diffstat (limited to 'src/mongo/db/query/SConscript')
-rw-r--r--src/mongo/db/query/SConscript22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/mongo/db/query/SConscript b/src/mongo/db/query/SConscript
index 0bf8401eb40..130d0f51230 100644
--- a/src/mongo/db/query/SConscript
+++ b/src/mongo/db/query/SConscript
@@ -15,10 +15,25 @@ env.SConscript(
)
env.Library(
- target='query_planner',
+ target='canonical_query',
source=[
"canonical_query.cpp",
"canonical_query_encoder.cpp",
+ ],
+ LIBDEPS=[
+ "$BUILD_DIR/mongo/db/matcher/expressions",
+ "collation/collator_factory_interface",
+ "collation/collator_interface",
+ "projection_ast",
+ "sort_pattern",
+ ],
+ LIBDEPS_PRIVATE=[
+ ],
+)
+
+env.Library(
+ target='query_planner',
+ source=[
"index_tag.cpp",
"plan_cache.cpp",
"plan_cache_indexability.cpp",
@@ -47,12 +62,9 @@ env.Library(
"$BUILD_DIR/mongo/db/index/expression_params",
"$BUILD_DIR/mongo/db/index/key_generator",
"$BUILD_DIR/mongo/db/index_names",
- "$BUILD_DIR/mongo/db/matcher/expressions",
"$BUILD_DIR/mongo/db/mongohasher",
- "collation/collator_factory_interface",
- "collation/collator_interface",
+ 'canonical_query',
"command_request_response",
- "projection_ast",
"query_knobs",
],
LIBDEPS_PRIVATE=[