2012-06-22 00:37:49 -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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-06-22 00:37:49 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
XPIDL_MODULE = dom_alarm
|
|
|
|
LIBRARY_NAME = domalarm_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
2012-07-06 03:42:36 -07:00
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
GRE_MODULE = 1
|
2012-06-22 00:37:49 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
2012-07-06 03:42:36 -07:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/alarm
|
|
|
|
|
2012-06-22 00:37:49 -07:00
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
AlarmsManager.js \
|
|
|
|
AlarmsManager.manifest \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-06-22 00:38:59 -07:00
|
|
|
EXTRA_JS_MODULES = \
|
|
|
|
AlarmDB.jsm \
|
2012-06-22 00:39:07 -07:00
|
|
|
AlarmService.jsm \
|
2012-06-22 00:38:59 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-06-22 00:37:49 -07:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIDOMAlarmsManager.idl \
|
2012-07-06 03:42:36 -07:00
|
|
|
nsIAlarmHalService.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/alarm = \
|
|
|
|
AlarmHalService.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
AlarmHalService.cpp \
|
2012-06-22 00:37:49 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
DIRS += test
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
2012-07-06 03:42:36 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2012-06-22 00:37:49 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-08-24 13:01:30 -07:00
|
|
|
|
|
|
|
XPIDL_FLAGS += \
|
|
|
|
-I$(topsrcdir)/dom/interfaces/base \
|
|
|
|
$(NULL)
|