2012-06-01 10:21:12 -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/.
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
relativesrcdir = dom/indexedDB/ipc
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = dom_indexeddb_ipc_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/indexedDB
|
|
|
|
|
|
|
|
CPPSRCS += \
|
|
|
|
IndexedDBChild.cpp \
|
|
|
|
IndexedDBParent.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/indexedDB = SerializationHelpers.h
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/dom/indexedDB \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
|
|
|
|
2012-07-14 04:24:20 -07:00
|
|
|
MOCHITEST_FILES = test_ipc.html
|
|
|
|
|
2012-07-14 06:13:40 -07:00
|
|
|
# Need to enable these tests sometime soon.
|
|
|
|
#XPCSHELL_TESTS = unit
|
2012-07-14 04:24:20 -07:00
|
|
|
|
|
|
|
# We're copying tests from another directory so this check is wrong for us.
|
2012-07-14 06:13:40 -07:00
|
|
|
#NO_XPCSHELL_MANIFEST_CHECK = 1
|
2012-06-01 10:21:12 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-07-14 04:24:20 -07:00
|
|
|
|
|
|
|
# Copy all the normal xpcshell tests from the regular unit directory.
|
|
|
|
copy-xpcshell-tests:
|
|
|
|
$(DIR_INSTALL) $(wildcard $(topsrcdir)/dom/indexedDB/test/unit/test_*.js) \
|
|
|
|
$(testxpcobjdir)/$(relativesrcdir)/$(XPCSHELL_TESTS)
|
|
|
|
|
|
|
|
libs-xpcshell-tests: copy-xpcshell-tests
|