diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2012-12-19 13:20:38 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2012-12-19 13:22:08 -0500 |
commit | cb0a61089a26e690e266d97f883adcd885325c92 (patch) | |
tree | 57ed77e8dbe50291b7197d20b0c18fa9a09f25c3 /SConscript.buildinfo | |
parent | 8434261c0c446935ca81a5443003fc8203f5a57e (diff) | |
download | mongo-cb0a61089a26e690e266d97f883adcd885325c92.tar.gz |
add the js engine back to buildInfo; still need to clean this up post 2.4
Diffstat (limited to 'SConscript.buildinfo')
-rw-r--r-- | SConscript.buildinfo | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SConscript.buildinfo b/SConscript.buildinfo index 6e9e69cf0c9..0993a598bf9 100644 --- a/SConscript.buildinfo +++ b/SConscript.buildinfo @@ -26,6 +26,7 @@ buildinfo_template = ''' namespace mongo { const char * gitVersion() { return "%(git_version)s"; } + const char * compiledJSEngine() { return "%(js_engine)s"; } const char * allocator() { return "%(allocator)s"; } const char * loaderFlags() { return "%(loader_flags)s"; } const char * compilerFlags() { return "%(compiler_flags)s"; } @@ -39,6 +40,7 @@ def generate_buildinfo(env, target, source, **kw): git_version += " modules: " + ", ".join(env["MONGO_MODULES"]) contents = str(source[0]) % dict(git_version=git_version, + js_engine="V8" if GetOption('usev8') else "SpiderMonkey", sys_info=getSysInfo(), allocator=GetOption('allocator'), loader_flags=env.subst('$LINKFLAGS $LDFLAGS', |