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
|
# -*- mode: python; -*-
Import("env")
env = env.Clone()
env.Library(
target='kv_prefix',
source=['kv_prefix.cpp'],
LIBDEPS=[
'$BUILD_DIR/mongo/db/storage/storage_options',
],
)
# Should not be referenced outside this SConscript file.
env.Library(
target='kv_drop_pending_ident_reaper',
source=['kv_drop_pending_ident_reaper.cpp'],
LIBDEPS=[
'$BUILD_DIR/mongo/db/concurrency/lock_manager',
'$BUILD_DIR/mongo/db/storage/write_unit_of_work',
'kv_prefix',
],
)
env.Library(
target='kv_engine_test_harness',
source=[
'durable_catalog_feature_tracker_test.cpp',
'kv_engine_test_harness.cpp',
'kv_engine_timestamps_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/catalog/catalog_impl',
'$BUILD_DIR/mongo/db/service_context',
'$BUILD_DIR/mongo/db/service_context_test_fixture',
'$BUILD_DIR/mongo/db/storage/durable_catalog_impl',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/unittest/unittest',
'$BUILD_DIR/mongo/util/clock_source_mock',
'kv_prefix',
],
)
env.CppUnitTest(
target='db_storage_kv_engine_test',
source=[
'durable_catalog_test.cpp',
'kv_drop_pending_ident_reaper_test.cpp',
'storage_engine_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/auth/authmocks',
'$BUILD_DIR/mongo/db/catalog/collection_options',
'$BUILD_DIR/mongo/db/catalog_raii',
'$BUILD_DIR/mongo/db/namespace_string',
'$BUILD_DIR/mongo/db/repl/replmocks',
'$BUILD_DIR/mongo/db/service_context_d_test_fixture',
'$BUILD_DIR/mongo/db/service_context_test_fixture',
'$BUILD_DIR/mongo/db/storage/devnull/storage_devnull_core',
'$BUILD_DIR/mongo/db/storage/durable_catalog_impl',
'$BUILD_DIR/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store',
'$BUILD_DIR/mongo/db/storage/ephemeral_for_test/storage_ephemeral_for_test_core',
'$BUILD_DIR/mongo/db/storage/storage_engine_impl',
'$BUILD_DIR/mongo/db/storage/storage_repair_observer',
'kv_drop_pending_ident_reaper',
],
)
|