2012-05-21 11:12:37 +00: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-20 03:23:00 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2012-01-20 03:23:00 +00:00
|
|
|
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
|
2013-01-02 15:56:38 +00:00
|
|
|
ifndef _MSC_VER
|
2012-09-20 07:55:36 +00:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2013-01-02 15:56:38 +00:00
|
|
|
endif # !_MSC_VER
|
2012-01-20 03:23:00 +00:00
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
2012-01-20 03:24:00 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/power
|
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/power = \
|
|
|
|
PowerManagerService.h \
|
2012-03-07 11:03:25 +00:00
|
|
|
Types.h \
|
2012-01-20 03:24:00 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-01-20 03:23:00 +00:00
|
|
|
CPPSRCS = \
|
2012-01-20 03:24:00 +00:00
|
|
|
PowerManager.cpp \
|
|
|
|
PowerManagerService.cpp \
|
2012-03-07 11:03:25 +00:00
|
|
|
WakeLock.cpp \
|
2012-01-20 03:23:00 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
2012-01-20 03:23:00 +00:00
|
|
|
nsIDOMPowerManager.idl \
|
2012-03-07 11:03:25 +00:00
|
|
|
nsIDOMWakeLock.idl \
|
|
|
|
nsIDOMWakeLockListener.idl \
|
2012-01-20 03:23:00 +00:00
|
|
|
nsIPowerManagerService.idl \
|
2012-01-20 03:23:00 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-05-28 03:25:22 +00:00
|
|
|
TEST_DIRS += test
|
2012-01-20 03:23:00 +00:00
|
|
|
|
2012-01-20 03:25:00 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2012-01-20 03:23:00 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|