gecko/tools/profiler/Makefile.in
Benoit Girard 1b7a30926b Bug 809571 - Remove the libunwind stack walking code for ARM/Android. r=ehsan
--HG--
rename : browser/components/tabview/test/browser_tabview_privatebrowsing_perwindowpb.js => browser/components/tabview/test/browser_tabview_privatebrowsing.js
extra : rebase_source : d17a5a6e4606cc7337f94f3c353f2e5c955b5068
2012-11-22 14:04:56 -05:00

85 lines
1.5 KiB
Makefile

#! gmake
#
# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = $(srcdir)
relativesrcdir = @relativesrcdir@
XPCSHELL_TESTS = tests
include $(DEPTH)/config/autoconf.mk
EXPORTS = sampler.h
ifdef MOZ_ENABLE_PROFILER_SPS
EXPORTS += \
sps_sampler.h \
shared-libraries.h \
$(NULL)
LOCAL_INCLUDES += \
-I$(topsrcdir)/mozglue/linker \
-I$(topsrcdir)/ipc/chromium/src \
$(NULL)
ifneq (,$(filter armeabi,$(ANDROID_CPU_ARCH)))
DEFINES += -DARCH_ARMV6
endif
MODULE = profiler
MODULE_NAME = nsProfilerModule
LIBRARY_NAME = profiler
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
CPPSRCS = \
nsProfilerFactory.cpp \
nsProfiler.cpp \
TableTicker.cpp \
JSObjectBuilder.cpp \
JSCustomObjectBuilder.cpp \
$(NULL)
XPIDLSRCS = \
nsIProfiler.idl \
$(NULL)
EXTRA_JS_MODULES = \
Profiler.jsm \
$(NULL)
ifdef MOZ_OLD_LINKER
DEFINES += -DMOZ_OLD_LINKER
endif
ifneq (,$(filter Android Linux,$(OS_TARGET)))
CPPSRCS += \
shared-libraries-linux.cc \
platform-linux.cc \
$(NULL)
endif
ifeq ($(OS_TARGET),Darwin)
CPPSRCS += \
shared-libraries-macos.cc \
platform-macos.cc \
$(NULL)
endif
ifeq ($(OS_TARGET),WINNT)
CPPSRCS += \
shared-libraries-win32.cc \
platform-win32.cc \
$(NULL)
endif
endif
include $(topsrcdir)/config/rules.mk