uriloader/exthandler/tests/Makefile.in
author Hannes Verschore <hv1989@gmail.com>
Mon, 18 Feb 2013 18:32:10 +0100
changeset 122248 95e67683fe4e17e4b8c2321251fe6e7b0c28956d
parent 119819 33994a9160d6dd24bbaacc13cd57a71950e01276
child 123256 251aa9072a17d027dfa8fc20f934dc18026a865c
permissions -rw-r--r--
Bug 839315: IonMonkey: Fix fault in TypePolicy of MCompare for CompareType_Boolean and CompareType_String, r=jandem

#
# 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@

DIRS += mochitest \
        $(NULL)

include $(DEPTH)/config/autoconf.mk

MODULE          = test_uriloader_exthandler

XPCSHELL_TESTS  = unit
FAIL_ON_WARNINGS = 1

#FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
endif

CPPSRCS =	\
		WriteArgument.cpp \
		$(NULL)

SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))

include $(topsrcdir)/config/config.mk

LIBS +=		\
		$(NSPR_LIBS) \
		$(NULL)

include $(topsrcdir)/config/rules.mk

ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
export PERSONAL_MAILCAP=$(call core_abspath,$(srcdir))/mailcap
endif

# need the executable for running the xpcshell unit tests
ifneq (,$(SIMPLE_PROGRAMS))
libs::
	$(INSTALL) $(SIMPLE_PROGRAMS) $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
endif