diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-01-29 15:32:52 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-01-30 13:24:34 -0500 |
commit | e62e26b324bcf4584e53cf24f8e853842d294dba (patch) | |
tree | 1dfb1f0f83d570ace0bca6b572704c15d41d264e | |
parent | 0700f1dc9c9f9985962d96f6aef6200a3a5bd57d (diff) | |
download | mongo-e62e26b324bcf4584e53cf24f8e853842d294dba.tar.gz |
SERVER-32987 Move the contents of the 'uuid' library to be under 'base'
-rw-r--r-- | src/mongo/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/base/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/base/uuid_test.cpp (renamed from src/mongo/util/uuid_test.cpp) | 0 | ||||
-rw-r--r-- | src/mongo/bson/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/db/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/catalog/SConscript | 3 | ||||
-rw-r--r-- | src/mongo/db/repl/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/idl/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/s/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/shell/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/util/SConscript | 23 |
11 files changed, 2 insertions, 33 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 452931d63eb..f60ec342e3d 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -132,6 +132,7 @@ env.Library( 'util/text.cpp', 'util/time_support.cpp', 'util/timer.cpp', + 'util/uuid.cpp', 'util/version.cpp', ], # NOTE: This library *must not* depend on any libraries than diff --git a/src/mongo/base/SConscript b/src/mongo/base/SConscript index 80dc007a4bb..27c0bbf756c 100644 --- a/src/mongo/base/SConscript +++ b/src/mongo/base/SConscript @@ -48,6 +48,7 @@ env.CppUnitTest('base_test', 'status_test.cpp', 'status_with_test.cpp', 'string_data_test.cpp', + 'uuid_test.cpp', ]) env.Library( diff --git a/src/mongo/util/uuid_test.cpp b/src/mongo/base/uuid_test.cpp index c6b0388ef06..c6b0388ef06 100644 --- a/src/mongo/util/uuid_test.cpp +++ b/src/mongo/base/uuid_test.cpp diff --git a/src/mongo/bson/SConscript b/src/mongo/bson/SConscript index ea50a9124cf..941f7cdc2f0 100644 --- a/src/mongo/bson/SConscript +++ b/src/mongo/bson/SConscript @@ -71,7 +71,6 @@ env.CppUnitTest( ], LIBDEPS=[ '$BUILD_DIR/mongo/base', - '$BUILD_DIR/mongo/util/uuid', ], ) diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index afe4693791f..5b3288cf73f 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -514,7 +514,6 @@ env.Library( 'commands/server_status_core', 'commands/test_commands_enabled', 'service_context', - '$BUILD_DIR/mongo/util/uuid', '$BUILD_DIR/mongo/db/catalog/uuid_catalog', ], ) @@ -964,7 +963,6 @@ env.Library( '$BUILD_DIR/mongo/crypto/sha256_block', '$BUILD_DIR/mongo/crypto/sha_block_${MONGO_CRYPTO}', '$BUILD_DIR/mongo/idl/idl_parser', - '$BUILD_DIR/mongo/util/uuid', 'server_parameters', ], ) diff --git a/src/mongo/db/catalog/SConscript b/src/mongo/db/catalog/SConscript index fc57090d8bd..0a66e9ba264 100644 --- a/src/mongo/db/catalog/SConscript +++ b/src/mongo/db/catalog/SConscript @@ -21,7 +21,6 @@ env.Library( LIBDEPS=[ '$BUILD_DIR/mongo/base', '$BUILD_DIR/mongo/db/server_parameters', - '$BUILD_DIR/mongo/util/uuid', ], ) @@ -194,7 +193,6 @@ env.Library( '$BUILD_DIR/mongo/db/namespace_string', '$BUILD_DIR/mongo/db/storage/storage_options', '$BUILD_DIR/mongo/util/decorable', - '$BUILD_DIR/mongo/util/uuid', ], ) @@ -322,7 +320,6 @@ env.CppUnitTest( '$BUILD_DIR/mongo/db/repl/replmocks', '$BUILD_DIR/mongo/db/repl/storage_interface_impl', '$BUILD_DIR/mongo/db/service_context_d_test_fixture', - '$BUILD_DIR/mongo/util/uuid', ], ) diff --git a/src/mongo/db/repl/SConscript b/src/mongo/db/repl/SConscript index ed586a34868..e1adf4d86eb 100644 --- a/src/mongo/db/repl/SConscript +++ b/src/mongo/db/repl/SConscript @@ -371,7 +371,6 @@ env.Library( '$BUILD_DIR/mongo/db/namespace_string', '$BUILD_DIR/mongo/db/service_context', '$BUILD_DIR/mongo/util/decorable', - '$BUILD_DIR/mongo/util/uuid', ], ) diff --git a/src/mongo/idl/SConscript b/src/mongo/idl/SConscript index d7b68634932..87c5d3c2158 100644 --- a/src/mongo/idl/SConscript +++ b/src/mongo/idl/SConscript @@ -24,6 +24,5 @@ env.CppUnitTest( '$BUILD_DIR/mongo/base', '$BUILD_DIR/mongo/db/namespace_string', '$BUILD_DIR/mongo/idl/idl_parser', - '$BUILD_DIR/mongo/util/uuid', ], ) diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript index 2e09b51ec2a..de20bdb4489 100644 --- a/src/mongo/s/SConscript +++ b/src/mongo/s/SConscript @@ -94,7 +94,6 @@ env.Library( '$BUILD_DIR/mongo/db/query/query_request', '$BUILD_DIR/mongo/db/repl/optime', '$BUILD_DIR/mongo/idl/idl_parser', - '$BUILD_DIR/mongo/util/uuid', ] ) diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript index 090ec5b7cc6..3db44b18a52 100644 --- a/src/mongo/shell/SConscript +++ b/src/mongo/shell/SConscript @@ -61,6 +61,5 @@ env.Library( ], LIBDEPS=[ "$BUILD_DIR/mongo/base", - "$BUILD_DIR/mongo/util/uuid" ], ) diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript index e127a0ec6a4..131542ba7f4 100644 --- a/src/mongo/util/SConscript +++ b/src/mongo/util/SConscript @@ -98,29 +98,6 @@ env.CppUnitTest( ) env.Library( - target='uuid', - source=[ - 'uuid.cpp', - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/base', - '$BUILD_DIR/mongo/util/decorable', - '$BUILD_DIR/third_party/murmurhash3/murmurhash3', - ], -) - -env.CppUnitTest( - target='uuid_test', - source=[ - 'uuid_test.cpp', - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/base', - 'uuid', - ], -) - -env.Library( target='summation', source=[ 'summation.cpp', |