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