dom/power/moz.build
author Brian O'Keefe <bokeefe@alum.wpi.edu>
Thu, 15 Aug 2013 09:02:09 -0400
changeset 144672 52e322d094760943e939ca8007015d390a256828
parent 143819 7ef14b724957931a61a5112d42f425139bc222c1
child 146459 3f5a70095b1db19032848449ae40e0d53051643a
permissions -rw-r--r--
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal

# -*- 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'