moz.build (869B)
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 EXPORTS.mozilla.ipc += [ 8 "TestShellChild.h", 9 "TestShellParent.h", 10 "XPCShellEnvironment.h", 11 ] 12 13 XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.toml"] 14 15 SOURCES += [ 16 "TestShellChild.cpp", 17 "TestShellParent.cpp", 18 "XPCShellEnvironment.cpp", 19 ] 20 21 IPDL_SOURCES = [ 22 "PTestShell.ipdl", 23 "PTestShellCommand.ipdl", 24 ] 25 26 include("/ipc/chromium/chromium-config.mozbuild") 27 28 FINAL_LIBRARY = "xul" 29 30 # For xpcshell error messages and nsAutoJSString 31 LOCAL_INCLUDES += [ 32 "/dom/base", 33 "/js/xpconnect/src", 34 ] 35 36 with Files("**"): 37 BUG_COMPONENT = ("Core", "XPConnect")