moz.build (632B)
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: Device Interfaces") 9 10 EXPORTS.mozilla.dom.battery += [ 11 "Constants.h", 12 ] 13 14 SOURCES += [ 15 "BatteryManager.cpp", 16 ] 17 18 include("/ipc/chromium/chromium-config.mozbuild") 19 20 FINAL_LIBRARY = "xul" 21 22 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] 23 MOCHITEST_MANIFESTS += ["test/mochitest.toml"]