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. --- tools/memory-profiler/moz.build | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'tools/memory-profiler/moz.build') diff --git a/tools/memory-profiler/moz.build b/tools/memory-profiler/moz.build index be2fe7432..cd37ffdb2 100644 --- a/tools/memory-profiler/moz.build +++ b/tools/memory-profiler/moz.build @@ -4,26 +4,5 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -if CONFIG['MOZ_ENABLE_PROFILER_SPS']: - XPIDL_MODULE = 'memory_profiler' - XPIDL_SOURCES += [ - 'nsIMemoryProfiler.idl', - ] - - UNIFIED_SOURCES += [ - 'GCHeapProfilerImpl.cpp', - 'MemoryProfiler.cpp', - 'NativeProfilerImpl.cpp', - 'nsMemoryProfilerFactory.cpp', - 'UncensoredAllocator.cpp', - ] - - LOCAL_INCLUDES += [ - '/js/xpconnect/src', - '/xpcom/base', - ] - - FINAL_LIBRARY = 'xul' - if CONFIG['GNU_CXX']: CXXFLAGS += ['-Wno-error=shadow'] -- cgit v1.2.3