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
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2013-07-04 05:28:43 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2009-06-30 13:39:22 -07:00
|
|
|
|
2009-12-31 17:35:55 -08:00
|
|
|
LOCAL_INCLUDES += \
|
2013-08-28 10:23:32 -07:00
|
|
|
-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 \
|
2013-09-03 15:28:06 -07:00
|
|
|
-I$(topsrcdir)/dom/fmradio/ipc \
|
2013-08-28 10:23:32 -07:00
|
|
|
-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)
|
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
|
|
|
|
|
2013-08-22 12:52:07 -07:00
|
|
|
ifdef MOZ_CHILD_PERMISSIONS
|
|
|
|
DEFINES += -DMOZ_CHILD_PERMISSIONS
|
|
|
|
endif
|
|
|
|
|
2010-08-20 16:24:40 -07:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|