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/.
|
2010-06-25 05:25:31 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-25 05:25:31 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = domsystem_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
2012-09-20 00:55:36 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2010-06-25 05:25:31 -07:00
|
|
|
|
2012-06-28 18:56:30 -07:00
|
|
|
DEFINES += -DDLL_PREFIX=\"$(DLL_PREFIX)\" -DDLL_SUFFIX=\"$(DLL_SUFFIX)\"
|
|
|
|
|
2011-06-19 22:36:17 -07:00
|
|
|
# We fire the nsDOMDeviceAcceleration
|
2012-05-09 03:00:48 -07:00
|
|
|
LOCAL_INCLUDES += \
|
2012-05-18 01:29:40 -07:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2012-05-09 03:00:48 -07:00
|
|
|
-I$(topsrcdir)/dom/base \
|
|
|
|
-I$(topsrcdir)/dom/bindings \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-02-09 11:05:00 -08:00
|
|
|
# On Systems that have build in geolocation providers,
|
|
|
|
# we really do not need these.
|
|
|
|
ifneq (Android,$(OS_TARGET))
|
2010-07-14 10:09:25 -07:00
|
|
|
EXTRA_COMPONENTS = \
|
2011-02-09 11:05:00 -08:00
|
|
|
NetworkGeolocationProvider.js \
|
|
|
|
NetworkGeolocationProvider.manifest \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2010-07-14 10:09:25 -07:00
|
|
|
|
2012-10-09 18:40:11 -07:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
NetworkGeolocationProvider.js \
|
|
|
|
NetworkGeolocationProvider.manifest \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2012-11-26 08:55:12 -08:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
|
|
|
-I$(topsrcdir)/js/xpconnect/loader \
|
|
|
|
$(NULL)
|
2012-03-09 10:40:43 -08:00
|
|
|
|
2010-06-25 05:25:31 -07: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-20 23:36:17 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2010-06-25 05:25:31 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|