summaryrefslogtreecommitdiff
path: root/src/mongo/embedded/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/embedded/SConscript')
-rw-r--r--src/mongo/embedded/SConscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mongo/embedded/SConscript b/src/mongo/embedded/SConscript
index 879b5033969..b4243ca1ebf 100644
--- a/src/mongo/embedded/SConscript
+++ b/src/mongo/embedded/SConscript
@@ -8,15 +8,14 @@ Import("wiredtiger")
env = env.Clone()
-env.AppendUnique(
- CPPPATH=["$BUILD_DIR/mongo/embedded"],
-)
+env.AppendUnique(CPPPATH=["$BUILD_DIR/mongo/embedded"], )
# Inject this before we call the SDK directory SConscripts so that
# they can both use it.
sdkEnv = env.Clone()
+
def mongo_export_file_generator(target, source, env, for_signature):
if env.ToolchainIs('msvc'):
script = env.File(env.subst("${TARGET.base}.def", target=target))
@@ -30,6 +29,7 @@ def mongo_export_file_generator(target, source, env, for_signature):
else:
pass
+
# We really only want to use the mapfile if we are doing an SDK build. In an ordinary
# dynamic build, we would end up building the normal library with an export map
# but many of its symbols should in fact be coming from other libraries, and we
@@ -44,7 +44,7 @@ env.SConscript(
'stitch_support',
],
exports={
- 'env' : sdkEnv,
+ 'env': sdkEnv,
},
)
@@ -116,8 +116,9 @@ env.Library(
'$BUILD_DIR/mongo/db/vector_clock_trivial',
'$BUILD_DIR/mongo/db/wire_version',
'$BUILD_DIR/mongo/rpc/client_metadata',
- '$BUILD_DIR/mongo/util/latch_analyzer' if get_option('use-diagnostic-latches') == 'on' else [],
+ '$BUILD_DIR/mongo/util/latch_analyzer'
+ if get_option('use-diagnostic-latches') == 'on' else [],
'$BUILD_DIR/mongo/util/options_parser/options_parser',
'$BUILD_DIR/mongo/util/version_impl',
- ]
+ ],
)