dom/power/moz.build
author Monica Chew <mmc@mozilla.com>
Thu, 16 Jan 2014 08:57:17 -0800
changeset 167946 a8f56ea824c9a60c212b18d4e836d4858beff720
parent 166802 5dd08c88e328c4b821f5880340d15eaff8b3f92b
child 171742 7161a2d28363197b76f4090900393cb19f201de4
permissions -rw-r--r--
Bug 919076 - Change Downloads.jsm createNiceUnique to create files with mode 644. r=paolo, a=lsblakk

# -*- 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 += [
    'PowerManager.h',
]

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

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

FAIL_ON_WARNINGS = True

LIBXUL_LIBRARY = True

LIBRARY_NAME = 'dom_power_s'

include('/ipc/chromium/chromium-config.mozbuild')