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
46
47
48
49
50
51
52
53
54
55
56
57
|
# -*- mode: python -*-
Import("env")
env = env.Clone()
env.Library(
target='bucket_catalog',
source=[
'bucket.cpp',
'bucket_catalog.cpp',
'bucket_catalog_internal.cpp',
'bucket_catalog_helpers.cpp',
'bucket_catalog_server_status.cpp',
'bucket_identifiers.cpp',
'bucket_metadata.cpp',
'bucket_state.cpp',
'bucket_state_registry.cpp',
'closed_bucket.cpp',
'execution_stats.cpp',
'flat_bson.cpp',
'reopening.cpp',
'write_batch.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/bson/util/bson_column',
'$BUILD_DIR/mongo/db/catalog/database_holder',
'$BUILD_DIR/mongo/db/commands/server_status_core',
'$BUILD_DIR/mongo/db/dbdirectclient',
'$BUILD_DIR/mongo/db/record_id_helpers',
'$BUILD_DIR/mongo/db/server_base',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/db/timeseries/bucket_compression',
'$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'$BUILD_DIR/mongo/db/views/views',
'$BUILD_DIR/mongo/util/fail_point',
],
)
env.CppUnitTest(
target='db_bucket_catalog_test',
source=[
'bucket_catalog_helpers_test.cpp',
'bucket_catalog_test.cpp',
'bucket_state_registry_test.cpp',
'minmax_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/catalog/catalog_test_fixture',
'$BUILD_DIR/mongo/db/catalog/collection_crud',
'$BUILD_DIR/mongo/db/dbdirectclient',
'$BUILD_DIR/mongo/db/shard_role',
'$BUILD_DIR/mongo/db/timeseries/bucket_compression',
'$BUILD_DIR/mongo/db/timeseries/timeseries_options',
'bucket_catalog',
],
)
|