dom/power/moz.build
author Carsten "Tomcat" Book <cbook@mozilla.com>
Thu, 27 Mar 2014 11:40:32 +0100
changeset 175624 11b3e19f4eb825df8922045ad0860023e8e9946c
parent 168180 d8c04dbd4886629d4ad408570d60697217453c70
child 195616 b6982073587f13f4c2575346aa952a520ea0ebae
permissions -rw-r--r--
Backed out changeset 71568f10952a (bug 988326) for assertions

# -*- 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/.

TEST_DIRS += ['test']

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

XPIDL_MODULE = 'dom_power'

EXPORTS.mozilla.dom += [
    'PowerManager.h',
    'WakeLock.h',
]

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

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

FAIL_ON_WARNINGS = True

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

FINAL_LIBRARY = 'gklayout'