moz.build (1238B)
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 "nsIConsoleAPIStorage.idl", 12 ] 13 14 XPIDL_MODULE = "dom" 15 16 EXPORTS += [ 17 "nsIConsoleReportCollector.h", 18 ] 19 20 EXPORTS.mozilla += [ 21 "ConsoleReportCollector.h", 22 ] 23 24 EXPORTS.mozilla.dom += [ 25 "Console.h", 26 "ConsoleInstance.h", 27 "ConsoleUtils.h", 28 ] 29 30 UNIFIED_SOURCES += [ 31 "Console.cpp", 32 "ConsoleInstance.cpp", 33 "ConsoleReportCollector.cpp", 34 "ConsoleUtils.cpp", 35 ] 36 37 EXTRA_JS_MODULES += [ 38 "ConsoleAPIStorage.sys.mjs", 39 ] 40 41 XPCOM_MANIFESTS += [ 42 "components.conf", 43 ] 44 45 LOCAL_INCLUDES += [ 46 "/docshell/base", 47 "/dom/base", 48 "/js/xpconnect/src", 49 ] 50 51 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 52 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"] 53 XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"] 54 BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] 55 56 include("/ipc/chromium/chromium-config.mozbuild") 57 58 FINAL_LIBRARY = "xul"