Bug 1839315: part 4) Link from `SheetLoadData::mWasAlternate` to spec. r=emilio DONTBUILD
[gecko.git] / tools / code-coverage / moz.build
blobe0ad22eba4226465dff2a3d36e0487a64c70bafd
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/.
7 TESTING_JS_MODULES += ["PerTestCoverageUtils.sys.mjs"]
9 if CONFIG["MOZ_CODE_COVERAGE"]:
10     XPIDL_MODULE = "code-coverage"
12     XPIDL_SOURCES += [
13         "nsICodeCoverage.idl",
14     ]
16     SOURCES += [
17         "CodeCoverageHandler.cpp",
18         "nsCodeCoverage.cpp",
19     ]
21     XPCOM_MANIFESTS += [
22         "components.conf",
23     ]
25     EXPORTS.mozilla += [
26         "CodeCoverageHandler.h",
27     ]
29     LOCAL_INCLUDES += [
30         "/ipc/chromium/src",
31         "/xpcom/base",
32     ]
34     include("/ipc/chromium/chromium-config.mozbuild")
36     XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
37     MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"]
39     FINAL_LIBRARY = "xul"