mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
45 lines
1010 B
Makefile
45 lines
1010 B
Makefile
# 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 = @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
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/power
|
|
|
|
EXPORTS_mozilla/dom/power = \
|
|
PowerManagerService.h \
|
|
Types.h \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
PowerManager.cpp \
|
|
PowerManagerService.cpp \
|
|
WakeLock.cpp \
|
|
$(NULL)
|
|
|
|
XPIDLSRCS = \
|
|
nsIDOMPowerManager.idl \
|
|
nsIDOMWakeLock.idl \
|
|
nsIDOMWakeLockListener.idl \
|
|
nsIPowerManagerService.idl \
|
|
$(NULL)
|
|
|
|
TEST_DIRS += test
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
include $(topsrcdir)/config/rules.mk
|