dom/power/moz.build
author David Zbarsky <dzbarsky@gmail.com>
Tue, 10 Sep 2013 19:03:56 -0400
changeset 146459 3f5a70095b1db19032848449ae40e0d53051643a
parent 144672 52e322d094760943e939ca8007015d390a256828
child 146568 f40c7d5790bd2f7e03a85c29d51985c938e30746
permissions -rw-r--r--
Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    TEST_DIRS += ['test']

XPIDL_SOURCES += [
    'nsIDOMWakeLock.idl',
    'nsIDOMWakeLockListener.idl',
    'nsIPowerManagerService.idl',
]

XPIDL_MODULE = 'dom_power'

EXPORTS.mozilla.dom.power += [
    'PowerManager.h',
    'PowerManagerService.h',
    'Types.h',
]

CPP_SOURCES += [
    'PowerManager.cpp',
    'PowerManagerService.cpp',
    'WakeLock.cpp',
]

FAIL_ON_WARNINGS = True

LIBXUL_LIBRARY = True

LIBRARY_NAME = 'dom_power_s'