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/.
|
2009-07-13 22:12:50 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2009-06-30 13:39:22 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = domipc_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
2012-08-07 00:06:29 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2009-06-30 13:39:22 -07:00
|
|
|
|
2010-11-24 08:08:47 -08:00
|
|
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += tests
|
2010-11-24 08:08:47 -08:00
|
|
|
endif
|
2010-11-24 05:58:21 -08:00
|
|
|
|
2012-06-07 01:41:59 -07:00
|
|
|
EXPORTS = PCOMContentPermissionRequestChild.h
|
2009-11-17 06:22:23 -08:00
|
|
|
|
2012-08-01 23:02:29 -07:00
|
|
|
EXPORTS_NAMESPACES = \
|
2012-08-08 19:58:06 -07:00
|
|
|
mozilla \
|
2012-08-01 23:02:29 -07:00
|
|
|
mozilla/dom \
|
|
|
|
mozilla/dom/ipc \
|
|
|
|
$(NULL)
|
2009-08-12 09:18:08 -07:00
|
|
|
|
2012-08-08 19:58:06 -07:00
|
|
|
EXPORTS_mozilla = \
|
|
|
|
AppProcessPermissions.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-08-14 16:21:21 -07:00
|
|
|
EXPORTS_mozilla/dom = \
|
2010-07-19 11:33:33 -07:00
|
|
|
ContentChild.h \
|
|
|
|
ContentParent.h \
|
|
|
|
ContentProcess.h \
|
2010-11-24 06:15:03 -08:00
|
|
|
CrashReporterChild.h \
|
|
|
|
CrashReporterParent.h \
|
2012-07-30 07:58:26 -07:00
|
|
|
PermissionMessageUtils.h \
|
2012-08-01 23:02:29 -07:00
|
|
|
StructuredCloneUtils.h \
|
2010-06-18 03:49:28 -07:00
|
|
|
TabParent.h \
|
|
|
|
TabChild.h \
|
2011-06-08 12:56:31 -07:00
|
|
|
TabMessageUtils.h \
|
2009-08-14 16:21:21 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-08-01 23:02:29 -07:00
|
|
|
EXPORTS_mozilla/dom/ipc = \
|
|
|
|
Blob.h \
|
2012-08-04 22:09:39 -07:00
|
|
|
ProcessPriorityManager.h \
|
2012-08-01 23:02:29 -07:00
|
|
|
nsIRemoteBlob.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
CPPSRCS = \
|
2012-08-08 19:58:06 -07:00
|
|
|
AppProcessPermissions.cpp \
|
2012-08-01 23:02:29 -07:00
|
|
|
Blob.cpp \
|
2010-07-19 11:33:33 -07:00
|
|
|
ContentProcess.cpp \
|
|
|
|
ContentParent.cpp \
|
|
|
|
ContentChild.cpp \
|
2010-11-24 06:15:03 -08:00
|
|
|
CrashReporterParent.cpp \
|
2011-06-08 12:56:31 -07:00
|
|
|
CrashReporterChild.cpp \
|
2012-07-30 07:58:26 -07:00
|
|
|
PermissionMessageUtils.cpp \
|
2012-08-04 22:09:39 -07:00
|
|
|
ProcessPriorityManager.cpp \
|
2012-08-01 23:02:29 -07:00
|
|
|
StructuredCloneUtils.cpp \
|
2009-06-30 13:39:22 -07:00
|
|
|
TabParent.cpp \
|
|
|
|
TabChild.cpp \
|
2009-11-17 06:22:23 -08:00
|
|
|
TabMessageUtils.cpp \
|
2009-06-30 13:39:22 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2011-03-23 20:23:33 -07:00
|
|
|
ifdef MOZ_SYDNEYAUDIO
|
|
|
|
EXPORTS_mozilla/dom += \
|
|
|
|
AudioChild.h \
|
|
|
|
AudioParent.h \
|
|
|
|
$(NULL)
|
|
|
|
CPPSRCS += \
|
|
|
|
AudioChild.cpp \
|
|
|
|
AudioParent.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2009-12-31 17:35:55 -08:00
|
|
|
LOCAL_INCLUDES += \
|
2011-03-07 19:58:46 -08:00
|
|
|
-I$(srcdir)/../../content/base/src \
|
|
|
|
-I$(srcdir)/../../content/events/src \
|
|
|
|
-I$(srcdir)/../../toolkit/components/places \
|
|
|
|
-I$(topsrcdir)/chrome/src \
|
|
|
|
-I$(topsrcdir)/uriloader/exthandler \
|
|
|
|
-I$(srcdir)/../../netwerk/base/src \
|
|
|
|
-I$(srcdir)/../src/base \
|
|
|
|
-I$(srcdir)/../src/storage \
|
|
|
|
-I$(srcdir)/../../xpcom/base \
|
2012-06-01 10:21:12 -07:00
|
|
|
-I$(topsrcdir)/dom/indexedDB \
|
|
|
|
-I$(topsrcdir)/dom/indexedDB/ipc \
|
2011-03-07 19:58:46 -08:00
|
|
|
-I$(topsrcdir)/extensions/cookie \
|
2011-09-13 10:53:51 -07:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2011-10-04 13:31:00 -07:00
|
|
|
-I$(topsrcdir)/toolkit/xre \
|
2011-10-05 15:15:45 -07:00
|
|
|
-I$(topsrcdir)/hal/sandbox \
|
2011-11-20 14:40:53 -08:00
|
|
|
-I$(topsrcdir)/dom/sms/src/ipc \
|
2012-06-19 16:14:39 -07:00
|
|
|
-I$(topsrcdir)/dom/devicestorage \
|
2011-03-07 19:58:46 -08:00
|
|
|
$(NULL)
|
2009-12-31 17:35:55 -08:00
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
DEFINES += -DBIN_SUFFIX='"$(BIN_SUFFIX)"'
|
2010-08-20 16:24:40 -07:00
|
|
|
|
2012-05-16 15:30:10 -07:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),$(findstring $(MOZ_WIDGET_TOOLKIT),android gtk2 gonk qt))
|
|
|
|
DEFINES += -DMOZ_ENABLE_FREETYPE
|
|
|
|
endif
|
|
|
|
|
2010-10-09 11:07:38 -07:00
|
|
|
ifdef MOZ_PERMISSIONS
|
|
|
|
DEFINES += -DMOZ_PERMISSIONS
|
|
|
|
endif
|
|
|
|
|
2010-08-20 16:24:40 -07:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|