summaryrefslogtreecommitdiff
path: root/src/mongo/base/SConscript
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-07-15 12:47:19 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2019-07-15 14:09:45 -0400
commit3abf0cce9db635dd9e2ee53369e3d392e7441fcb (patch)
tree5143f87f27160628b820fd4fa87dc5bbe51957fa /src/mongo/base/SConscript
parentc68b233864234fa0a4f9fcc71b775f896d225957 (diff)
downloadmongo-3abf0cce9db635dd9e2ee53369e3d392e7441fcb.tar.gz
SERVER-33259 add libunwind to third_party
- revert commit f8c69b361381a396f81c443438436e99c5af4970. - clang-format - work around ninja module $ASPP assertion
Diffstat (limited to 'src/mongo/base/SConscript')
-rw-r--r--src/mongo/base/SConscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mongo/base/SConscript b/src/mongo/base/SConscript
index 7929eb27bfc..dd9f19eb95b 100644
--- a/src/mongo/base/SConscript
+++ b/src/mongo/base/SConscript
@@ -105,3 +105,19 @@ env.CppUnitTest(
'system_error',
],
)
+
+# To be enabled by a '--enable-libunwind' option coming soon.
+if False:
+ unwindTestEnv = env.Clone()
+ unwindTestEnv.InjectThirdParty(libraries=['unwind'])
+ unwindTestEnv.CppUnitTest(
+ target=[
+ 'unwind_test',
+ ],
+ source=[
+ 'unwind_test.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/third_party/shim_unwind',
+ ]
+ )