2012-05-21 11:12:37 +00: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/.
|
2007-07-25 01:05:54 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2007-07-25 01:05:54 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBXUL_LIBRARY = 1
|
2007-07-25 01:05:56 +00:00
|
|
|
LIBRARY_NAME = exception_handler_s
|
2013-05-16 13:33:26 +00:00
|
|
|
MSVC_ENABLE_PGO := 1
|
2007-07-25 01:05:54 +00:00
|
|
|
|
2007-07-25 01:06:04 +00:00
|
|
|
ifeq ($(OS_ARCH),Linux)
|
2010-10-13 18:27:44 +00:00
|
|
|
# There's no define for XP_LINUX normally.
|
|
|
|
# MOZ_APP_NAME is needed on Android, where we
|
|
|
|
# need to launch by package name.
|
|
|
|
DEFINES += \
|
|
|
|
-DXP_LINUX \
|
2010-12-22 01:56:07 +00:00
|
|
|
-DANDROID_PACKAGE_NAME=\"$(ANDROID_PACKAGE_NAME)\"
|
2010-10-13 18:27:44 +00:00
|
|
|
$(NULL)
|
2007-07-25 01:06:04 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-20 01:13:36 +00:00
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
|
|
# there's no define for this normally
|
|
|
|
DEFINES += -DXP_SOLARIS
|
|
|
|
endif
|
|
|
|
|
2010-10-15 00:38:19 +00:00
|
|
|
ifeq ($(OS_TARGET),Android)
|
2011-05-27 17:01:03 +00:00
|
|
|
# NDK5 workarounds
|
|
|
|
DEFINES += -D_STLP_CONST_CONSTRUCTOR_BUG -D_STLP_NO_MEMBER_TEMPLATES
|
2012-09-25 11:52:54 +00:00
|
|
|
TARGET_LOCAL_INCLUDES = \
|
|
|
|
-I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src/common/android/include/ \
|
|
|
|
$(NULL)
|
2010-10-15 00:38:19 +00:00
|
|
|
endif
|
|
|
|
|
2012-09-25 11:52:54 +00:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/google-breakpad/src
|
2007-07-25 01:05:54 +00:00
|
|
|
DEFINES += -DUNICODE -D_UNICODE
|
|
|
|
|
2007-07-25 01:06:03 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2011-06-08 20:21:03 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2007-07-25 01:05:54 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-05-24 15:58:35 +00:00
|
|
|
|
|
|
|
check::
|
|
|
|
$(PYTHON) $(srcdir)/tools/unit-symbolstore.py
|