2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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/.
|
|
|
|
|
2013-03-25 23:50:06 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
TEST_DIRS += ['test']
|
2013-03-12 17:17:46 +00:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMPowerManager.idl',
|
|
|
|
'nsIDOMWakeLock.idl',
|
|
|
|
'nsIDOMWakeLockListener.idl',
|
|
|
|
'nsIPowerManagerService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'dom_power'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.dom.power += [
|
|
|
|
'PowerManagerService.h',
|
|
|
|
'Types.h',
|
|
|
|
]
|
|
|
|
|
2013-04-23 21:54:15 +00:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'PowerManager.cpp',
|
|
|
|
'PowerManagerService.cpp',
|
|
|
|
'WakeLock.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-22 06:55:59 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:00 +00:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|