summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/in_memory/SConscript
blob: 9586232671113ce18f101ef64f76bac547e46743 (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
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
Import("env")

env.Library(
    target= 'in_memory_record_store',
    source= [
        'in_memory_record_store.cpp'
        ],
    LIBDEPS= [
        '$BUILD_DIR/mongo/bson/bson',
        '$BUILD_DIR/mongo/db/storage/oplog_hack',
        '$BUILD_DIR/mongo/util/foundation',
        ]
    )

env.Library(
    target= 'storage_in_memory_core',
    source= [
        'in_memory_btree_impl.cpp',
        'in_memory_engine.cpp',
        'in_memory_recovery_unit.cpp',
        ],
    LIBDEPS= [
        'in_memory_record_store',
        '$BUILD_DIR/mongo/bson/bson',
        '$BUILD_DIR/mongo/db/catalog/collection_options',
        '$BUILD_DIR/mongo/db/index/index_descriptor',
        '$BUILD_DIR/mongo/db/storage/index_entry_comparison',
        '$BUILD_DIR/mongo/util/foundation',
        ]
    )

env.Library(
    target= 'storage_in_memory',
    source= [
        'in_memory_init.cpp',
        ],
    LIBDEPS= [
        'storage_in_memory_core',
        '$BUILD_DIR/mongo/db/storage/kv/kv_engine'
        ]
    )

env.CppUnitTest(
   target='storage_in_memory_btree_test',
   source=['in_memory_btree_impl_test.cpp'
           ],
   LIBDEPS=[
        'storage_in_memory_core',
        '$BUILD_DIR/mongo/db/storage/sorted_data_interface_test_harness'
        ]
   )

env.CppUnitTest(
   target='storage_in_memory_record_store_test',
   source=['in_memory_record_store_test.cpp'
           ],
   LIBDEPS=[
        'storage_in_memory_core',
        '$BUILD_DIR/mongo/db/storage/record_store_test_harness'
        ]
   )

env.CppUnitTest(
    target='storage_in_memory_engine_test',
    source=['in_memory_engine_test.cpp',
            ],
    LIBDEPS=[
        'storage_in_memory_core',
        '$BUILD_DIR/mongo/db/storage/kv/kv_engine_test_harness',
        ],
    )