summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/SConscript
blob: b8c091e9a2a0cc38063ac9266cf8919947f1c0d1 (plain)
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
# -*- mode: python -*-

Import("env")

env.Library(
    target="cluster_query",
    source=[
        "cluster_find.cpp",
    ],
    LIBDEPS=[
        "cluster_client_cursor",
    ],
)

env.Library(
    target="cluster_client_cursor",
    source=[
        "cluster_client_cursor.cpp",
        "async_cluster_client_cursor.cpp",
    ],
    LIBDEPS=[
        "$BUILD_DIR/mongo/db/query/command_request_response",
        "$BUILD_DIR/mongo/executor/task_executor_interface",
    ],
)

env.CppUnitTest(
    target="async_cluster_client_cursor_test",
    source=[
        "async_cluster_client_cursor_test.cpp",
    ],
    LIBDEPS=[
        "cluster_client_cursor",
        # TODO dependencies shouldn't have repl
        "$BUILD_DIR/mongo/db/repl/replication_executor_test_fixture",
        "$BUILD_DIR/mongo/db/query/lite_parsed_query",
    ],
)