gecko/ipc/testshell/Makefile.in
2012-05-21 12:12:37 +01:00

47 lines
1.1 KiB
Makefile

# 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 = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = ipc/testshell
include $(DEPTH)/config/autoconf.mk
MODULE = ipcshell
LIBRARY_NAME = ipcshell_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
EXPORTS_NAMESPACES = mozilla/ipc
EXPORTS_mozilla/ipc = \
TestShellChild.h \
TestShellParent.h \
XPCShellEnvironment.h \
$(NULL)
CPPSRCS += \
TestShellChild.cpp \
TestShellParent.cpp \
XPCShellEnvironment.cpp \
$(NULL)
# For xpcshell error messages and nsDependentJSString
LOCAL_INCLUDES += \
-I$(topsrcdir)/js/xpconnect/shell \
-I$(topsrcdir)/dom/base \
$(NULL)
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS = tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk