dom/power/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 06 Sep 2013 10:09:52 +0900
changeset 145789 e197b9e71614f2af7805ecb1bb13d6ba6b56d1bf
parent 144672 52e322d094760943e939ca8007015d390a256828
child 146459 3f5a70095b1db19032848449ae40e0d53051643a
permissions -rw-r--r--
Fixup for bug 912832 busting static analysis builds. r=me

# -*- 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 += [
    'nsIDOMPowerManager.idl',
    'nsIDOMWakeLock.idl',
    'nsIDOMWakeLockListener.idl',
    'nsIPowerManagerService.idl',
]

XPIDL_MODULE = 'dom_power'

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

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

FAIL_ON_WARNINGS = True

LIBXUL_LIBRARY = True

LIBRARY_NAME = 'dom_power_s'