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='sharding_catalog_client',
source=[
'sharding_catalog_client.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/keys_collection_document',
'$BUILD_DIR/mongo/db/write_concern_options',
],
)
env.Library(
target='sharding_catalog_client_impl',
source=[
'sharding_catalog_client_impl.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/repl/read_concern_args',
'$BUILD_DIR/mongo/db/storage/duplicate_key_error_info',
'$BUILD_DIR/mongo/executor/network_interface',
'$BUILD_DIR/mongo/s/client/sharding_client',
'$BUILD_DIR/mongo/s/coreshard',
'sharding_catalog_client',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/logical_session_id_helpers'
]
)
env.Library(
target='sharding_catalog_client_mock',
source=[
'sharding_catalog_client_mock.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/s/client/shard_interface',
'sharding_catalog_client'
]
)
|