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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
# -*- mode: python -*-
Import("env")
env = env.Clone()
env.Library(
target='timeseries_options',
source=[
'timeseries.idl',
'timeseries_global_options.cpp',
'timeseries_options.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/server_base',
'$BUILD_DIR/mongo/db/server_options_core',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/util/processinfo',
],
)
env.Library(
target='bucket_catalog',
source=[
'bucket_catalog.cpp',
'bucket_catalog_helpers.cpp',
'deleted_buckets.cpp',
'flat_bson.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/server_options_core',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/db/views/views',
'$BUILD_DIR/mongo/util/fail_point',
'bucket_compression',
'timeseries_options',
],
)
env.Library(
target='bucket_compression',
source=[
'bucket_compression.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/bson/util/bson_column',
'$BUILD_DIR/mongo/db/server_base',
'$BUILD_DIR/mongo/db/server_options_core',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/util/fail_point',
],
)
env.Library(
target='timeseries_stats',
source=[
'timeseries_stats.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/pipeline/pipeline',
],
)
env.Library(
target='catalog_helper',
source=[
'catalog_helper.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/catalog/collection_catalog',
'$BUILD_DIR/mongo/db/server_base',
'timeseries_options',
],
)
env.Library(
target='timeseries_conversion_util',
source=[
'timeseries_commands_conversion_helper.cpp',
'timeseries_dotted_path_support.cpp',
'timeseries_index_schema_conversion_functions.cpp',
'timeseries_update_delete_util.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/bson/mutable/mutable_bson',
'$BUILD_DIR/mongo/bson/util/bson_column',
'$BUILD_DIR/mongo/db/exec/bucket_unpacker',
'$BUILD_DIR/mongo/db/index_commands_idl',
'$BUILD_DIR/mongo/db/ops/write_ops_parsers',
'$BUILD_DIR/mongo/db/server_base',
'$BUILD_DIR/mongo/db/storage/storage_options',
'bucket_compression',
'timeseries_options',
],
)
env.Library(
target='timeseries_collmod',
source=[
'timeseries_collmod.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/bson/mutable/mutable_bson',
'$BUILD_DIR/mongo/db/catalog/catalog_helpers',
'$BUILD_DIR/mongo/db/coll_mod_command_idl',
'$BUILD_DIR/mongo/db/exec/bucket_unpacker',
'$BUILD_DIR/mongo/db/server_base',
'catalog_helper',
'timeseries_conversion_util',
'timeseries_options',
],
)
env.Library(
target='timeseries_extended_range',
source=[
'timeseries_extended_range.cpp',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/catalog/index_catalog',
'timeseries_options',
],
)
env.CppUnitTest(
target='db_timeseries_test',
source=[
'bucket_catalog_helpers_test.cpp',
'bucket_catalog_state_manager_test.cpp',
'bucket_catalog_test.cpp',
'bucket_compression_test.cpp',
'minmax_test.cpp',
'timeseries_dotted_path_support_test.cpp',
'timeseries_extended_range_test.cpp',
'timeseries_index_schema_conversion_functions_test.cpp',
'timeseries_options_test.cpp',
'timeseries_update_delete_util_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',
'bucket_catalog',
'bucket_compression',
'timeseries_conversion_util',
'timeseries_extended_range',
'timeseries_options',
],
)
|