2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2017-03-01 16:20:25 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM")
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMWakeLockListener.idl',
|
|
|
|
'nsIPowerManagerService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'dom_power'
|
|
|
|
|
2013-09-11 18:35:04 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
2014-01-07 16:16:07 +04:00
|
|
|
'WakeLock.h',
|
2013-09-11 18:35:04 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.power += [
|
2013-04-16 23:24:43 +04:00
|
|
|
'PowerManagerService.h',
|
|
|
|
'Types.h',
|
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'PowerManagerService.cpp',
|
|
|
|
'WakeLock.cpp',
|
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-26 10:17:24 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|