1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Import("env")
env = env.Clone()
sorterEnv = env.Clone()
sorterEnv.InjectThirdParty(libraries=['snappy'])
sorterEnv.CppUnitTest(
target='db_sorter_test',
source=[
'sorter_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/service_context',
'$BUILD_DIR/mongo/db/storage/encryption_hooks',
'$BUILD_DIR/mongo/db/storage/storage_options',
'$BUILD_DIR/mongo/s/is_mongos',
'$BUILD_DIR/third_party/shim_snappy',
'sorter_idl',
],
)
env.Library(
target='sorter_idl',
source=[
'sorter.idl',
],
LIBDEPS=[
"$BUILD_DIR/mongo/base",
'$BUILD_DIR/mongo/idl/idl_parser',
]
)
|