2012-05-21 15:12:37 +04: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/.
|
2010-06-25 16:25:31 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-25 16:25:31 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = domsystem_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
2012-09-20 11:55:36 +04:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2010-06-25 16:25:31 +04:00
|
|
|
|
2012-06-29 05:56:30 +04:00
|
|
|
DEFINES += -DDLL_PREFIX=\"$(DLL_PREFIX)\" -DDLL_SUFFIX=\"$(DLL_SUFFIX)\"
|
|
|
|
|
2010-06-25 16:25:31 +04:00
|
|
|
CPPSRCS = \
|
2012-03-25 04:29:57 +04:00
|
|
|
nsDeviceSensors.cpp \
|
2012-05-09 14:00:48 +04:00
|
|
|
OSFileConstants.cpp \
|
2011-02-09 22:05:00 +03:00
|
|
|
$(NULL)
|
2010-06-25 16:25:31 +04:00
|
|
|
|
2011-08-03 22:12:08 +04:00
|
|
|
ifdef MOZ_GAMEPAD
|
|
|
|
CPPSRCS += GamepadService.cpp
|
|
|
|
endif
|
|
|
|
|
2011-06-20 09:36:17 +04:00
|
|
|
# We fire the nsDOMDeviceAcceleration
|
2012-05-09 14:00:48 +04:00
|
|
|
LOCAL_INCLUDES += \
|
2012-05-18 12:29:40 +04:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2012-05-09 14:00:48 +04:00
|
|
|
-I$(topsrcdir)/dom/base \
|
|
|
|
-I$(topsrcdir)/dom/bindings \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-02-09 22:05:00 +03:00
|
|
|
# On Systems that have build in geolocation providers,
|
|
|
|
# we really do not need these.
|
|
|
|
ifneq (Android,$(OS_TARGET))
|
2010-07-14 21:09:25 +04:00
|
|
|
EXTRA_COMPONENTS = \
|
2011-02-09 22:05:00 +03:00
|
|
|
NetworkGeolocationProvider.js \
|
|
|
|
NetworkGeolocationProvider.manifest \
|
2013-01-15 06:25:12 +04:00
|
|
|
GPSDGeolocationProvider.js \
|
|
|
|
GPSDGeolocationProvider.manifest \
|
2011-02-09 22:05:00 +03:00
|
|
|
$(NULL)
|
|
|
|
endif
|
2010-07-14 21:09:25 +04:00
|
|
|
|
2012-10-10 05:40:11 +04:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
NetworkGeolocationProvider.js \
|
|
|
|
NetworkGeolocationProvider.manifest \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2012-05-09 14:00:48 +04:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
2010-06-25 16:25:31 +04:00
|
|
|
EXPORTS = \
|
2012-03-25 04:29:57 +04:00
|
|
|
nsDeviceSensors.h \
|
2011-02-09 22:05:00 +03:00
|
|
|
$(NULL)
|
2010-06-25 16:25:31 +04:00
|
|
|
|
2012-05-09 14:00:48 +04:00
|
|
|
EXPORTS_mozilla = \
|
|
|
|
OSFileConstants.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-11-26 20:55:12 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
|
|
|
-I$(topsrcdir)/js/xpconnect/loader \
|
|
|
|
$(NULL)
|
2011-08-03 22:12:08 +04:00
|
|
|
ifdef MOZ_GAMEPAD
|
|
|
|
EXPORTS_NAMESPACES += mozilla/dom
|
|
|
|
EXPORTS_mozilla/dom = \
|
|
|
|
GamepadService.h \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2012-03-09 22:40:43 +04:00
|
|
|
|
2010-06-25 16:25:31 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
2012-03-21 10:36:17 +04:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2010-06-25 16:25:31 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|