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/.
|
2012-01-19 19:23:00 -08:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = dom_power_s
|
|
|
|
XPIDL_MODULE = dom_power
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
2012-01-19 19:24:00 -08:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/power
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/power = \
|
|
|
|
PowerManagerService.h \
|
2012-03-07 03:03:25 -08:00
|
|
|
Types.h \
|
2012-01-19 19:24:00 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2012-01-19 19:23:00 -08:00
|
|
|
CPPSRCS = \
|
2012-01-19 19:24:00 -08:00
|
|
|
PowerManager.cpp \
|
|
|
|
PowerManagerService.cpp \
|
2012-03-07 03:03:25 -08:00
|
|
|
WakeLock.cpp \
|
2012-01-19 19:23:00 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
2012-01-19 19:23:00 -08:00
|
|
|
nsIDOMPowerManager.idl \
|
2012-03-07 03:03:25 -08:00
|
|
|
nsIDOMWakeLock.idl \
|
|
|
|
nsIDOMWakeLockListener.idl \
|
2012-01-19 19:23:00 -08:00
|
|
|
nsIPowerManagerService.idl \
|
2012-01-19 19:23:00 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
DIRS += test
|
|
|
|
endif
|
|
|
|
|
2012-01-19 19:25:00 -08:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2012-01-19 19:23:00 -08:00
|
|
|
include $(topsrcdir)/config/rules.mk
|