diff options
Diffstat (limited to 'src/mongo/db/auth/SConscript')
-rw-r--r-- | src/mongo/db/auth/SConscript | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/src/mongo/db/auth/SConscript b/src/mongo/db/auth/SConscript index 35c418f448d..a8f89e223b1 100644 --- a/src/mongo/db/auth/SConscript +++ b/src/mongo/db/auth/SConscript @@ -18,16 +18,6 @@ generateActionTypes = env.Command( env.Alias('generated-sources', generateActionTypes) env.Library( - target='auth_rolename', - source=[ - 'role_name.cpp' - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/base', - ], -) - -env.Library( target='authentication_restriction', source=[ 'restriction_environment.cpp', @@ -58,24 +48,12 @@ env.Library( 'authorization_manager.cpp', 'authorization_session.cpp', 'auth_decorations.cpp', - ], - LIBDEPS=[ - 'auth_rolename', - 'user_name', - '$BUILD_DIR/mongo/base', - '$BUILD_DIR/mongo/db/service_context', - '$BUILD_DIR/mongo/rpc/audit_metadata', - ], -) - - -env.Library( - target='user_name', - source=[ 'user_name.cpp', + 'role_name.cpp' ], LIBDEPS=[ '$BUILD_DIR/mongo/base', + '$BUILD_DIR/mongo/db/service_context', ], ) @@ -154,7 +132,6 @@ env.Library( LIBDEPS=[ 'address_restriction', 'auth', - 'auth_rolename', 'authentication_restriction', 'authorization_manager_global', 'authprivilege', @@ -196,6 +173,9 @@ env.Library( '$BUILD_DIR/mongo/bson/mutable/mutable_bson', '$BUILD_DIR/mongo/db/common', ], + LIBDEPS_PRIVATE=[ + '$BUILD_DIR/mongo/rpc/metadata_impersonated_user', + ] ) env.Library( @@ -299,7 +279,6 @@ env.Library( 'authprivilege', 'sasl_options', 'user', - 'user_name', '$BUILD_DIR/mongo/base', '$BUILD_DIR/mongo/base/secure_allocator', '$BUILD_DIR/mongo/crypto/sha_block_${MONGO_CRYPTO}', |