summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/SConscript
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2018-12-12 13:05:57 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2019-01-10 18:59:20 -0500
commitbc5ac036a39627b9b2637665e7ac38853d049754 (patch)
treece789bbe14d8e4780ae4b231e85487ada3423953 /src/mongo/db/auth/SConscript
parentc1bc93bc4e903fd1ea5eb035023d5054c6c86497 (diff)
downloadmongo-bc5ac036a39627b9b2637665e7ac38853d049754.tar.gz
SERVER-38483 Convert options in sasl_options.cpp to IDL
Diffstat (limited to 'src/mongo/db/auth/SConscript')
-rw-r--r--src/mongo/db/auth/SConscript20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/mongo/db/auth/SConscript b/src/mongo/db/auth/SConscript
index 60700235c12..4f505f5c88a 100644
--- a/src/mongo/db/auth/SConscript
+++ b/src/mongo/db/auth/SConscript
@@ -271,6 +271,7 @@ env.Library(
'saslauth',
],
LIBDEPS_PRIVATE=[
+ 'sasl_options_init',
'$BUILD_DIR/mongo/client/sasl_client',
'$BUILD_DIR/mongo/db/audit',
'$BUILD_DIR/mongo/db/commands',
@@ -301,13 +302,26 @@ env.Library(
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
- '$BUILD_DIR/mongo/db/server_parameters',
- '$BUILD_DIR/mongo/util/net/network',
- '$BUILD_DIR/mongo/util/options_parser/options_parser',
+ '$BUILD_DIR/mongo/idl/server_parameter',
],
)
env.Library(
+ target='sasl_options_init',
+ source=[
+ 'sasl_options_init.cpp',
+ env.Idlc('sasl_options.idl')[0],
+ ],
+ LIBDEPS=[
+ 'sasl_options'
+ ],
+ LIBDEPS_PRIVATE=[
+ '$BUILD_DIR/mongo/util/options_parser/options_parser',
+ '$BUILD_DIR/mongo/util/net/network',
+ ],
+)
+
+env.Library(
target='saslauth',
source=[
'sasl_mechanism_registry.cpp',