From ac25827a87d86f1cf9e48aab6605f77a2c89041a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 24 May 2018 14:06:04 +0200 Subject: Remove SPS profiler. - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions. --- toolkit/moz.configure | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'toolkit/moz.configure') diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 0ed17410a..7d3065f53 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -22,23 +22,6 @@ def systrace(value, target): set_define('MOZ_USE_SYSTRACE', systrace) -@depends(target) -def sps_profiler(target): - if target.os == 'Android': - return target.cpu in ('arm', 'x86') - elif target.kernel == 'Linux': - return target.cpu in ('x86', 'x86_64') - return target.os in ('OSX', 'WINNT') - -@depends(sps_profiler) -def sps_profiler_define(value): - if value: - return True - -set_config('MOZ_ENABLE_PROFILER_SPS', sps_profiler_define) -set_define('MOZ_ENABLE_PROFILER_SPS', sps_profiler_define) - - # JACK cubeb backend # ============================================================== option('--enable-jack', env='MOZ_JACK', -- cgit v1.2.3