summaryrefslogtreecommitdiff
path: root/src/mongo/db/process_health/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/process_health/SConscript')
-rw-r--r--src/mongo/db/process_health/SConscript15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mongo/db/process_health/SConscript b/src/mongo/db/process_health/SConscript
index f59342d05bf..4758adbd836 100644
--- a/src/mongo/db/process_health/SConscript
+++ b/src/mongo/db/process_health/SConscript
@@ -1,16 +1,17 @@
# -*- mode: python -*-
-Import("env")
+Import('env')
env = env.Clone()
env.Library(
target='fault_manager',
source=[
- "fault_manager.cpp",
+ 'fault_impl.cpp',
+ 'fault_manager.cpp',
],
LIBDEPS=[
- "$BUILD_DIR/mongo/base",
+ '$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/service_context',
],
LIBDEPS_PRIVATE=[
@@ -18,11 +19,13 @@ env.Library(
)
env.CppUnitTest(
- target="fault_manager_test",
+ target='fault_base_classes_test',
source=[
- "fault_manager_test.cpp",
+ 'fault_impl_test.cpp',
+ 'fault_manager_test.cpp',
],
LIBDEPS=[
- "fault_manager",
+ '$BUILD_DIR/mongo/util/clock_source_mock',
+ 'fault_manager',
],
)