gecko/tools/profiler/Makefile.in

32 lines
834 B
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/.
VPATH = $(srcdir)
ifdef MOZ_ENABLE_PROFILER_SPS
LOCAL_INCLUDES += \
-I$(topsrcdir)/mozglue/linker \
-I$(topsrcdir)/ipc/chromium/src \
-I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src \
$(NULL)
# We need access to Breakpad's getcontext(3) which is suitable for Android
ifeq ($(OS_TARGET),Android)
LOCAL_INCLUDES += \
-I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src/common/android/include \
$(NULL)
endif
ifneq (,$(filter armeabi,$(ANDROID_CPU_ARCH)))
DEFINES += -DARCH_ARMV6
endif
EXPORT_LIBRARY = 1
# Uncomment for better debugging in opt builds
#MOZ_OPTIMIZE_FLAGS += -O0 -g
endif