summaryrefslogtreecommitdiff
path: root/src/mongo/db/SConscript
blob: 4f7f3b32ffeccd2f210457e1bbbba6c52a4d2c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- mode: python -*-

Import("env")

#
# We'd like 'common' to have the abstractions that are shared by several components of the
# server. Ideally, many of the object in 'coredb' should be moved here when their dependencies
# get resolved.
#

env.StaticLibrary('common', ['field_ref.cpp', 'field_parser.cpp'],
                  LIBDEPS=['$BUILD_DIR/mongo/bson',
                           '$BUILD_DIR/mongo/foundation'])

env.CppUnitTest('field_ref_test', ['field_ref_test.cpp'], LIBDEPS=['common'])

env.CppUnitTest('field_parser_test', 'field_parser_test.cpp', LIBDEPS=['common'])