summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/SConscript
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2017-07-11 12:41:24 -0400
committerSpencer Jackson <spencer.jackson@mongodb.com>2017-07-12 11:15:35 -0400
commitcddf5ed098ea4eb8df1d946d750edd4280e022e3 (patch)
treeb18e5a4ebdf3e130b35479d724b5590ef75944b2 /src/mongo/db/auth/SConscript
parent1d1b6ba0a7387b36d8ad0e47b77121e6c6c156f1 (diff)
downloadmongo-cddf5ed098ea4eb8df1d946d750edd4280e022e3.tar.gz
SERVER-29176: Implement --clusterIpSourceWhitelist
Diffstat (limited to 'src/mongo/db/auth/SConscript')
-rw-r--r--src/mongo/db/auth/SConscript75
1 files changed, 42 insertions, 33 deletions
diff --git a/src/mongo/db/auth/SConscript b/src/mongo/db/auth/SConscript
index 8eab9b9c948..596c75d7f8b 100644
--- a/src/mongo/db/auth/SConscript
+++ b/src/mongo/db/auth/SConscript
@@ -52,39 +52,48 @@ env.CppUnitTest(
# Just the data structures used
-env.Library('authcore', ['action_set.cpp',
- 'action_type.cpp',
- 'authorization_manager.cpp',
- 'authorization_session.cpp',
- 'auth_decorations.cpp',
- 'authz_manager_external_state.cpp',
- 'authz_manager_external_state_local.cpp',
- 'authz_session_external_state.cpp',
- 'privilege.cpp',
- 'privilege_parser.cpp',
- 'resource_pattern.cpp',
- 'role_graph.cpp',
- 'role_graph_update.cpp',
- 'role_graph_builtin_roles.cpp',
- 'user.cpp',
- 'user_document_parser.cpp',
- 'user_management_commands_parser.cpp',
- 'user_set.cpp'],
- LIBDEPS=['auth_rolename',
- 'authentication_restriction',
- 'sasl_options',
- 'user_name',
- '$BUILD_DIR/mongo/base',
- '$BUILD_DIR/mongo/bson/mutable/mutable_bson',
- '$BUILD_DIR/mongo/bson/util/bson_extract',
- '$BUILD_DIR/mongo/crypto/scramauth',
- '$BUILD_DIR/mongo/db/catalog/document_validation',
- '$BUILD_DIR/mongo/db/common',
- '$BUILD_DIR/mongo/db/namespace_string',
- '$BUILD_DIR/mongo/db/service_context',
- '$BUILD_DIR/mongo/db/update/update_driver',
- '$BUILD_DIR/mongo/util/md5',
- '$BUILD_DIR/mongo/util/net/network'])
+env.Library(
+ target='authcore',
+ source=[
+ 'action_set.cpp',
+ 'action_type.cpp',
+ 'authorization_manager.cpp',
+ 'authorization_session.cpp',
+ 'auth_decorations.cpp',
+ 'authz_manager_external_state.cpp',
+ 'authz_manager_external_state_local.cpp',
+ 'authz_session_external_state.cpp',
+ 'privilege.cpp',
+ 'privilege_parser.cpp',
+ 'resource_pattern.cpp',
+ 'role_graph.cpp',
+ 'role_graph_update.cpp',
+ 'role_graph_builtin_roles.cpp',
+ 'user.cpp',
+ 'user_document_parser.cpp',
+ 'user_management_commands_parser.cpp',
+ 'user_set.cpp',
+ ],
+ LIBDEPS=[
+ 'address_restriction',
+ 'auth_rolename',
+ 'authentication_restriction',
+ 'sasl_options',
+ 'user_name',
+ '$BUILD_DIR/mongo/base',
+ '$BUILD_DIR/mongo/bson/mutable/mutable_bson',
+ '$BUILD_DIR/mongo/bson/util/bson_extract',
+ '$BUILD_DIR/mongo/crypto/scramauth',
+ '$BUILD_DIR/mongo/db/catalog/document_validation',
+ '$BUILD_DIR/mongo/db/common',
+ '$BUILD_DIR/mongo/db/mongod_options',
+ '$BUILD_DIR/mongo/db/namespace_string',
+ '$BUILD_DIR/mongo/db/service_context',
+ '$BUILD_DIR/mongo/db/update/update_driver',
+ '$BUILD_DIR/mongo/util/md5',
+ '$BUILD_DIR/mongo/util/net/network',
+ ],
+)
env.Library('authcommon',
['internal_user_auth.cpp'],