# 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 = ../.. 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 FORCE_STATIC_LIB = 1 GRE_MODULE = 1 include $(topsrcdir)/dom/dom-config.mk EXPORTS_NAMESPACES = mozilla/dom/alarm EXTRA_COMPONENTS = \ AlarmsManager.js \ AlarmsManager.manifest \ $(NULL) EXTRA_JS_MODULES = \ AlarmDB.jsm \ $(NULL) XPIDLSRCS = \ nsIDOMAlarmsManager.idl \ nsIAlarmHalService.idl \ $(NULL) EXPORTS_mozilla/dom/alarm = \ AlarmHalService.h \ $(NULL) CPPSRCS = \ AlarmHalService.cpp \ $(NULL) ifdef ENABLE_TESTS DIRS += test endif include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/config/rules.mk