summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/SConscript
blob: 00241d2a62eb044a244f0a9975f7df1fbe728527 (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
# -*- mode: python -*-

Import('env')

env = env.Clone()

env.Library(
    target='fault_manager',
    source=[
        'fault_impl.cpp',
        'fault_manager.cpp',
        'health_observer_base.cpp',
        'health_observer_registration.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/mongo/db/service_context',
    ],
    LIBDEPS_PRIVATE=[
    ],
)

env.CppUnitTest(
    target='fault_base_classes_test',
    source=[
        'fault_impl_test.cpp',
        'fault_facet_test.cpp',
        'health_observer_test.cpp',
        'fault_manager_test.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/base',
        '$BUILD_DIR/mongo/util/clock_source_mock',
        'fault_manager',
    ],
)