summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/SConscript
blob: 9a0a7440f11b9b78c99b2d83762933ddf94523d6 (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
# -*- mode: python -*-

Import("env")

env = env.Clone()

env.Library(
    target='sharding_client',
    source=[
        'num_hosts_targeted_metrics.cpp',
        'shard_remote.cpp',
        'shard_remote.idl',
    ],
    LIBDEPS_PRIVATE=[
        '$BUILD_DIR/mongo/client/fetcher',
        '$BUILD_DIR/mongo/db/commands',
        '$BUILD_DIR/mongo/db/server_base',
        '$BUILD_DIR/mongo/executor/hedging_metrics',
        '$BUILD_DIR/mongo/executor/task_executor_pool',
        '$BUILD_DIR/mongo/s/grid',
        'shard_interface',
    ],
)

env.Library(
    target='shard_interface',
    source=[
        'shard.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/mongo/client/remote_command_retry_scheduler',
        '$BUILD_DIR/mongo/s/write_ops/batch_write_types',
    ],
)