diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-05-01 16:34:05 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-05-01 08:00:34 -0700 |
commit | 82bc25d5ada29b8d60787259b13feb39eed3296e (patch) | |
tree | 9844290503cacf1147020938b65ef838bf409df2 /wscript | |
parent | 8d88c00b777d404a7786d34b14f7ff8f67001337 (diff) | |
download | android-node-v8-82bc25d5ada29b8d60787259b13feb39eed3296e.tar.gz android-node-v8-82bc25d5ada29b8d60787259b13feb39eed3296e.tar.bz2 android-node-v8-82bc25d5ada29b8d60787259b13feb39eed3296e.zip |
Remove oprofile flags in wscript.
V8 3.1.5 (commit 550f73a) dropped oprofile support so don't pass
prof=oprofile to scons.
See http://codereview.chromium.org/6474037/
Fixes #998.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -143,13 +143,6 @@ def set_options(opt): , dest='openssl_libpath' ) - opt.add_option( '--oprofile' - , action='store_true' - , default=False - , help="add oprofile support" - , dest='use_oprofile' - ) - opt.add_option( '--gdb' , action='store_true' , default=False @@ -252,12 +245,8 @@ def configure(conf): conf.env["USE_SHARED_CARES"] = o.shared_cares or o.shared_cares_includes or o.shared_cares_libpath conf.env["USE_SHARED_LIBEV"] = o.shared_libev or o.shared_libev_includes or o.shared_libev_libpath - conf.env["USE_OPROFILE"] = o.use_oprofile conf.env["USE_GDBJIT"] = o.use_gdbjit - if o.use_oprofile: - conf.check(lib=['bfd', 'opagent'], uselib_store="OPROFILE") - conf.check(lib='dl', uselib_store='DL') if not sys.platform.startswith("sunos") and not sys.platform.startswith("cygwin") and not sys.platform.startswith("win32"): conf.env.append_value("CCFLAGS", "-rdynamic") @@ -567,12 +556,7 @@ def v8_cmd(bld, variant): else: snapshot = "" - if bld.env["USE_OPROFILE"]: - profile = "prof=oprofile" - else: - profile = "" - - cmd_R = sys.executable + ' "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s toolchain=%s library=static %s %s' + cmd_R = sys.executable + ' "%s" -j %d -C "%s" -Y "%s" visibility=default mode=%s %s toolchain=%s library=static %s' cmd = cmd_R % ( scons , Options.options.jobs @@ -582,7 +566,6 @@ def v8_cmd(bld, variant): , arch , toolchain , snapshot - , profile ) if bld.env["USE_GDBJIT"]: |