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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# -*- mode: python; -*-
Import("env")
# if you add a file here, you need to add it in scripting/engine.cpp and shell/createCPPfromJavaScriptFiles.js as well
env.JSHeader(
target="mongo.cpp",
source=[
"assert.js",
"bulk_api.js",
"collection.js",
"db.js",
"explain_query.js",
"explainable.js",
"mongo.js",
"mr.js",
"query.js",
"types.js",
"upgrade_check.js",
"utils.js",
"utils_sh.js",
"utils_auth.js",
],
)
# if you add a file here, you need to add it in shell/shell_utils.cpp and shell/createCPPfromJavaScriptFiles.js as well
env.JSHeader(
target="mongo-server.cpp",
source=[
"servers.js",
"shardingtest.js",
"servers_misc.js",
"replsettest.js",
"replsetbridge.js"
],
)
env.Library(
target='mongojs',
source=[
'mongo.cpp',
],
LIBDEPS=[
],
)
|