tools/profiler/Makefile.in
author Ben Turner <bent.mozilla@gmail.com>
Sat, 09 Feb 2013 17:59:47 +0000
changeset 121507 ad49bd35d558686f74d72f86717878117636da59
parent 120335 0f78cc92ab1a40d1d97cfa105da8aa4883ca48c8
child 124347 cc45fdc389df2d1161bcc8ff244cff31d562ede0
permissions -rw-r--r--
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.

#! 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
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER

CPPSRCS		= \
  nsProfilerFactory.cpp \
  nsProfiler.cpp \
  TableTicker.cpp \
  JSObjectBuilder.cpp \
  JSCustomObjectBuilder.cpp \
  $(NULL)

XPIDLSRCS = \
  nsIProfiler.idl \
  $(NULL)

EXTRA_JS_MODULES = \
  Profiler.jsm \
  $(NULL)

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