1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# -*- mode: python -*-
Import([
"env",
"get_option",
])
env = env.Clone()
env.Library(
target='query_shape', source=['query_shape.cpp', 'shape_helpers.cpp'], LIBDEPS=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/exec/document_value/document_value',
'$BUILD_DIR/mongo/db/pipeline/field_path',
'query_shape_common',
], LIBDEPS_PRIVATE=[
])
env.Library(
target='query_shape_common', source=[
'query_shape.idl',
'serialization_options.cpp',
], LIBDEPS=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/exec/document_value/document_value',
'$BUILD_DIR/mongo/db/pipeline/field_path',
], LIBDEPS_PRIVATE=[
])
env.CppUnitTest(
target="db_query_query_shape_test",
source=[
"query_shape_test.cpp",
"query_shape_test.idl",
],
LIBDEPS=[
"$BUILD_DIR/mongo/db/auth/authmocks",
"$BUILD_DIR/mongo/db/query/query_test_service_context",
"$BUILD_DIR/mongo/db/service_context_d_test_fixture",
"query_shape",
],
)
|