# 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 LIBRARY_NAME = domipc_s EXPORT_LIBRARY = 1 include $(topsrcdir)/config/rules.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk LOCAL_INCLUDES += \ -I$(srcdir)/../../content/base/src \ -I$(srcdir)/../../content/events/src \ -I$(srcdir)/../../docshell/base \ -I$(topsrcdir)/chrome/src \ -I$(topsrcdir)/uriloader/exthandler \ -I$(srcdir)/../../netwerk/base/src \ -I$(srcdir)/../src/base \ -I$(srcdir)/../src/geolocation \ -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/mobilemessage/src/ipc \ -I$(topsrcdir)/dom/devicestorage \ -I$(topsrcdir)/dom/fmradio/ipc \ -I$(topsrcdir)/widget/xpwidgets \ -I$(topsrcdir)/dom/bluetooth \ -I$(topsrcdir)/layout/base \ -I$(topsrcdir)/dom/bluetooth/ipc \ -I$(topsrcdir)/content/media/webspeech/synth/ipc \ -I$(topsrcdir)/js/ipc \ $(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 ifdef MOZ_CHILD_PERMISSIONS DEFINES += -DMOZ_CHILD_PERMISSIONS endif CXXFLAGS += $(TK_CFLAGS)