dom/ipc/Makefile.in
author Ms2ger <ms2ger@gmail.com>
Tue, 07 Aug 2012 09:06:29 +0200
changeset 101568 1bbc0b65dffba17754b8b2066f3c2ea52f757234
parent 101490 0e213ba77dca4032ddc876d788d83fa28eb48f49
child 101842 37694e6f8df0117982ad6b79c63d59691b8b8db5
child 106637 97e8aecf1730e4ac12590ce33fd339ecf0aa8ec4
permissions -rw-r--r--
Bug 743573 - Fix a number of build warnings in dom/; r=mounir

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

include $(DEPTH)/config/autoconf.mk

MODULE = dom
LIBRARY_NAME = domipc_s
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
EXPORT_LIBRARY = 1
FAIL_ON_WARNINGS := 1

ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
TEST_DIRS += tests
endif

EXPORTS = PCOMContentPermissionRequestChild.h

EXPORTS_NAMESPACES = \
  mozilla/dom \
  mozilla/dom/ipc \
  $(NULL)

EXPORTS_mozilla/dom = \
  ContentChild.h \
  ContentParent.h \
  ContentProcess.h \
  CrashReporterChild.h \
  CrashReporterParent.h \
  StructuredCloneUtils.h \
  TabParent.h \
  TabChild.h \
  TabMessageUtils.h \
  $(NULL)

EXPORTS_mozilla/dom/ipc = \
  Blob.h \
  ProcessPriorityManager.h \
  nsIRemoteBlob.h \
  $(NULL)

CPPSRCS = \
  Blob.cpp \
  ContentProcess.cpp \
  ContentParent.cpp \
  ContentChild.cpp \
  CrashReporterParent.cpp \
  CrashReporterChild.cpp \
  ProcessPriorityManager.cpp \
  StructuredCloneUtils.cpp \
  TabParent.cpp \
  TabChild.cpp \
  TabMessageUtils.cpp \
  $(NULL)

ifdef MOZ_SYDNEYAUDIO
EXPORTS_mozilla/dom += \
  AudioChild.h \
  AudioParent.h \
  $(NULL)
CPPSRCS += \
  AudioChild.cpp \
  AudioParent.cpp \
  $(NULL)
endif

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk

LOCAL_INCLUDES += \
	-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 \
	-I$(topsrcdir)/dom/indexedDB \
	-I$(topsrcdir)/dom/indexedDB/ipc \
	-I$(topsrcdir)/extensions/cookie \
	-I$(topsrcdir)/dom/base \
	-I$(topsrcdir)/toolkit/xre \
	-I$(topsrcdir)/hal/sandbox \
	-I$(topsrcdir)/dom/sms/src/ipc \
	-I$(topsrcdir)/dom/devicestorage \
	$(NULL)

DEFINES += -DBIN_SUFFIX='"$(BIN_SUFFIX)"'

ifeq ($(MOZ_WIDGET_TOOLKIT),$(findstring $(MOZ_WIDGET_TOOLKIT),android gtk2 gonk qt))
DEFINES += -DMOZ_ENABLE_FREETYPE
endif

ifdef MOZ_PERMISSIONS
DEFINES += -DMOZ_PERMISSIONS
endif

CXXFLAGS += $(TK_CFLAGS)