moz.build (932B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "DOM: Core & HTML") 9 10 XPIDL_SOURCES += [ 11 "nsIDOMWakeLockListener.idl", 12 "nsIPowerManagerService.idl", 13 "nsIWakeLock.idl", 14 ] 15 16 XPIDL_MODULE = "dom_power" 17 18 XPCOM_MANIFESTS += [ 19 "components.conf", 20 ] 21 22 EXPORTS.mozilla.dom += ["WakeLock.h", "WakeLockJS.h", "WakeLockSentinel.h"] 23 24 EXPORTS.mozilla.dom.power += [ 25 "PowerManagerService.h", 26 ] 27 28 UNIFIED_SOURCES += [ 29 "PowerManagerService.cpp", 30 "WakeLock.cpp", 31 "WakeLockJS.cpp", 32 "WakeLockSentinel.cpp", 33 ] 34 35 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 36 37 include("/ipc/chromium/chromium-config.mozbuild") 38 39 FINAL_LIBRARY = "xul"