summaryrefslogtreecommitdiff
path: root/src/mongo/db/serverless/SConscript
blob: 0eda40c2aa4d5e70d9a2ea5687220320e5cd3f2e (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
39
40
41
42
43
44
45
# -*- mode: python -*-

Import("env")
env = env.Clone()

env.Library(
    target='tenant_split_state_machine',
    source=[
        'tenant_split_state_machine.idl',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/mongo/client/connection_string',
        '$BUILD_DIR/mongo/db/repl/tenant_migration_utils',
        '$BUILD_DIR/mongo/idl/idl_parser'
    ],
)

env.Library(
    target='tenant_split_commands',
    source=[
        'tenant_split_commands.idl',
        'tenant_split_commands.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/mongo/client/connection_string',
        '$BUILD_DIR/mongo/db/repl/tenant_migration_utils',
        '$BUILD_DIR/mongo/idl/idl_parser',
        'tenant_split_state_machine',
    ]
)

env.Library(
    target='tenant_split_donor_service',
    source=[
        'tenant_split_donor_service.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/db/repl/primary_only_service',
    ],
    LIBDEPS_PRIVATE=[
        '$BUILD_DIR/mongo/db/namespace_string',
    ]
)