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
|
# -*- mode: python -*-
Import('env')
env.Library(
target='watchdog',
source=[
'watchdog.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/service_context',
'$BUILD_DIR/mongo/db/storage/storage_options',
]
)
env.Library(
target='watchdog_register',
source=[
'watchdog_register.cpp',
],
)
env.Library(
target='watchdog_mongod',
source=[
'watchdog_mongod.cpp',
env.Idlc('watchdog_mongod.idl')[0],
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/commands/server_status',
'watchdog',
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/server_options_core',
'$BUILD_DIR/mongo/idl/server_parameter',
'watchdog_register',
],
)
env.CppUnitTest(
target='watchdog_test',
source=[
'watchdog_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/service_context_test_fixture',
'$BUILD_DIR/mongo/util/clock_source_mock',
'watchdog',
],
)
|