2011-08-26 17:05:37 -07:00
|
|
|
#! gmake
|
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2011-08-26 17:05:37 -07:00
|
|
|
|
2012-01-28 22:56:41 -08:00
|
|
|
VPATH = $(srcdir)
|
2012-03-13 01:48:00 -07:00
|
|
|
ifdef MOZ_ENABLE_PROFILER_SPS
|
2011-08-26 17:05:37 -07:00
|
|
|
LOCAL_INCLUDES += \
|
2012-08-30 08:48:35 -07:00
|
|
|
-I$(topsrcdir)/mozglue/linker \
|
2011-08-26 17:05:37 -07:00
|
|
|
-I$(topsrcdir)/ipc/chromium/src \
|
2013-03-10 15:00:23 -07:00
|
|
|
-I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src \
|
2011-08-26 17:05:37 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2013-09-25 08:28:34 -07:00
|
|
|
# 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
|
|
|
|
|
2012-10-18 08:12:53 -07:00
|
|
|
ifneq (,$(filter armeabi,$(ANDROID_CPU_ARCH)))
|
|
|
|
DEFINES += -DARCH_ARMV6
|
|
|
|
endif
|
|
|
|
|
2011-08-26 17:05:37 -07:00
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
2013-04-03 15:59:17 -07:00
|
|
|
# Uncomment for better debugging in opt builds
|
|
|
|
#MOZ_OPTIMIZE_FLAGS += -O0 -g
|
|
|
|
|
2012-03-13 01:48:00 -07:00
|
|
|
endif
|