2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:18 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-03-08 16:17:11 +00:00
|
|
|
with Files("AUTHORS"):
|
|
|
|
BUG_COMPONENT = ("mozilla.org", "Licensing")
|
|
|
|
|
|
|
|
with Files("LICENSE"):
|
|
|
|
BUG_COMPONENT = ("mozilla.org", "Licensing")
|
|
|
|
|
2022-07-14 15:45:44 +00:00
|
|
|
with Files("mots.yaml"):
|
|
|
|
BUG_COMPONENT = ("Conduit", "mots")
|
|
|
|
|
2017-03-08 16:17:11 +00:00
|
|
|
with Files("aclocal.m4"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
2018-03-01 22:33:35 +00:00
|
|
|
with Files("Cargo.*"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2018-03-01 22:33:35 +00:00
|
|
|
|
2017-03-08 16:17:11 +00:00
|
|
|
with Files("client.*"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
|
|
|
with Files("CLOBBER"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
|
|
|
with Files("*configure*"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
2020-01-06 16:14:11 +00:00
|
|
|
with Files("docs/**"):
|
2023-07-21 10:31:57 +00:00
|
|
|
BUG_COMPONENT = ("Developer Infrastructure", "Source Documentation")
|
2020-01-06 16:14:11 +00:00
|
|
|
SCHEDULES.exclusive = ["docs"]
|
|
|
|
|
2021-01-20 15:20:27 +00:00
|
|
|
with Files("mach*"):
|
2018-11-19 13:35:14 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "Mach Core")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
2023-03-20 13:06:27 +00:00
|
|
|
with Files("pyproject.toml"):
|
|
|
|
BUG_COMPONENT = ("Developer Infrastructure", "Lint and Formatting")
|
|
|
|
|
2017-03-08 16:17:11 +00:00
|
|
|
with Files("*moz*"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
|
|
|
with Files("GNUmakefile"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 16:17:11 +00:00
|
|
|
|
|
|
|
with Files("*gradle*"):
|
2020-03-06 17:54:58 +00:00
|
|
|
BUG_COMPONENT = ("GeckoView", "General")
|
2017-08-25 19:31:54 +00:00
|
|
|
SCHEDULES.exclusive = ["android"]
|
2017-03-08 16:17:11 +00:00
|
|
|
|
2017-10-30 23:07:20 +00:00
|
|
|
with Files("*.json"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-10-30 23:07:20 +00:00
|
|
|
|
2017-06-05 08:28:33 +00:00
|
|
|
with Files("**/l10n.toml"):
|
|
|
|
BUG_COMPONENT = ("Core", "Localization")
|
|
|
|
FINAL = True
|
|
|
|
|
2017-03-08 16:17:11 +00:00
|
|
|
with Files("README.txt"):
|
|
|
|
BUG_COMPONENT = ("Core", "General")
|
|
|
|
|
2017-10-26 08:53:25 +00:00
|
|
|
with Files("nsprpub/**"):
|
|
|
|
BUG_COMPONENT = ("NSPR", "NSPR")
|
|
|
|
|
2015-02-26 19:43:45 +00:00
|
|
|
with Files("**/Makefile.in"):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2015-02-26 19:43:45 +00:00
|
|
|
FINAL = True
|
|
|
|
|
2017-10-02 18:22:56 +00:00
|
|
|
with Files("**/*.rst"):
|
|
|
|
SCHEDULES.inclusive += ["docs"]
|
|
|
|
|
|
|
|
with Files("**/*.md"):
|
|
|
|
SCHEDULES.inclusive += ["docs"]
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2020-08-12 14:36:12 +00:00
|
|
|
with Files("**/*.rs"):
|
|
|
|
SCHEDULES.inclusive += ["rusttests"]
|
|
|
|
|
2019-05-17 22:29:33 +00:00
|
|
|
with Files("**/reftest.list"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-01-07 16:46:46 +00:00
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
2020-04-24 18:54:51 +00:00
|
|
|
with Files("**/reftest-qr.list"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
|
|
|
|
2019-05-17 22:29:33 +00:00
|
|
|
with Files("**/crashtest*.list"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.exclusive = ["crashtest"]
|
|
|
|
|
2023-12-15 20:59:46 +00:00
|
|
|
with Files("**/a11y.toml"):
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest-a11y"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
2023-12-15 20:59:46 +00:00
|
|
|
with Files("**/mochitest.toml"):
|
2019-05-17 22:29:33 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.exclusive = ["mochitest-plain"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
2023-12-15 20:59:46 +00:00
|
|
|
with Files("**/browser.toml"):
|
2019-05-17 22:29:33 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.exclusive = ["mochitest-browser-chrome"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
2020-06-09 17:14:09 +00:00
|
|
|
with Files("**/test*/**browser_*"):
|
|
|
|
SCHEDULES.exclusive = ["mochitest-browser-chrome"]
|
|
|
|
|
2023-12-15 20:59:46 +00:00
|
|
|
with Files("**/chrome.toml"):
|
2019-05-17 22:29:33 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.exclusive = ["mochitest-chrome"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
2023-12-15 20:59:46 +00:00
|
|
|
with Files("**/xpcshell.toml"):
|
2019-05-17 22:29:33 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-01-07 16:46:46 +00:00
|
|
|
SCHEDULES.exclusive = ["xpcshell"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
|
|
|
with Files("**/reftest*/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-01-07 16:46:46 +00:00
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
|
|
|
with Files("**/crashtest*/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-03-24 14:55:28 +00:00
|
|
|
SCHEDULES.exclusive = ["crashtest"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
|
|
|
with Files("**/mochitest*/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-01-07 16:46:46 +00:00
|
|
|
SCHEDULES.exclusive = ["mochitest"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
|
|
|
with Files("**/xpcshell/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2020-01-07 16:46:46 +00:00
|
|
|
SCHEDULES.exclusive = ["xpcshell"]
|
2019-05-17 22:29:33 +00:00
|
|
|
|
|
|
|
with Files("**/tests/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
|
|
|
|
with Files("**/test/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
|
|
|
|
with Files("**/unit/**"):
|
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
|
|
|
|
with Files("**/browser/tools/mozscreenshots/**"):
|
2018-04-24 14:20:19 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2019-05-17 22:29:33 +00:00
|
|
|
with Files("**/devtools/shared/test-helpers/**"):
|
2018-04-24 14:20:19 +00:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2013-10-23 21:43:32 +00:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2014-01-13 22:38:40 +00:00
|
|
|
"config/autoconf.mk",
|
|
|
|
"config/emptyvars.mk",
|
2013-10-23 21:43:32 +00:00
|
|
|
]
|
2013-02-25 21:20:01 +00:00
|
|
|
|
2014-02-11 01:37:47 +00:00
|
|
|
if CONFIG["ENABLE_CLANG_PLUGIN"]:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ["build/clang-plugin"]
|
|
|
|
|
|
|
|
DIRS += [
|
2020-08-05 21:27:10 +00:00
|
|
|
"build",
|
2014-10-02 00:14:07 +00:00
|
|
|
"config",
|
|
|
|
"python",
|
2020-09-11 08:13:27 +00:00
|
|
|
"testing",
|
2020-07-02 08:00:02 +00:00
|
|
|
"third_party/python",
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2014-02-11 01:37:47 +00:00
|
|
|
|
2019-11-18 08:47:00 +00:00
|
|
|
if not CONFIG["JS_STANDALONE"]:
|
2020-07-02 08:00:02 +00:00
|
|
|
DIRS += ["taskcluster"]
|
2019-11-18 08:47:00 +00:00
|
|
|
|
2017-11-15 05:21:15 +00:00
|
|
|
if not CONFIG["JS_STANDALONE"] or not CONFIG["MOZ_BUILD_APP"]:
|
2015-12-04 01:51:12 +00:00
|
|
|
CONFIGURE_DEFINE_FILES += [
|
|
|
|
"mozilla-config.h",
|
|
|
|
]
|
2015-12-17 05:06:32 +00:00
|
|
|
EXPORTS += [
|
2016-02-09 05:36:07 +00:00
|
|
|
"!buildid.h",
|
2015-12-17 05:06:32 +00:00
|
|
|
"!mozilla-config.h",
|
2016-02-10 04:38:31 +00:00
|
|
|
"!source-repo.h",
|
2015-12-17 05:06:32 +00:00
|
|
|
]
|
2013-03-24 02:12:25 +00:00
|
|
|
|
2016-02-09 05:36:07 +00:00
|
|
|
GENERATED_FILES += [
|
|
|
|
"buildid.h",
|
2016-02-10 04:38:31 +00:00
|
|
|
"source-repo.h",
|
2016-02-09 05:36:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
GENERATED_FILES["buildid.h"].script = "build/variables.py:buildid_header"
|
2016-02-10 04:38:31 +00:00
|
|
|
GENERATED_FILES["source-repo.h"].script = "build/variables.py:source_repo_header"
|
2016-02-09 05:36:07 +00:00
|
|
|
|
2017-11-08 00:19:09 +00:00
|
|
|
if CONFIG["MOZ_BUILD_APP"]:
|
2014-01-13 22:38:40 +00:00
|
|
|
# Bring in the configuration for the configured application.
|
|
|
|
include("/" + CONFIG["MOZ_BUILD_APP"] + "/app.mozbuild")
|
2017-11-08 00:19:09 +00:00
|
|
|
else:
|
|
|
|
include("/toolkit/toolkit.mozbuild")
|
2014-08-24 00:11:05 +00:00
|
|
|
|
2023-11-17 11:31:55 +00:00
|
|
|
OBJDIR_PP_FILES[".cargo"] += [CONFIG["MOZ_OVERRIDE_CARGO_CONFIG"] or ".cargo/config.in"]
|
2019-08-22 21:27:24 +00:00
|
|
|
|
|
|
|
DEFINES["top_srcdir"] = TOPSRCDIR
|
2016-09-08 22:12:34 +00:00
|
|
|
|
2020-01-06 16:38:34 +00:00
|
|
|
SPHINX_TREES["contributing"] = "docs/contributing"
|
|
|
|
|
2020-02-11 09:11:44 +00:00
|
|
|
SPHINX_TREES["code-quality"] = "docs/code-quality"
|
|
|
|
|
2020-06-26 01:04:40 +00:00
|
|
|
SPHINX_TREES["testing-rust-code"] = "docs/testing-rust-code"
|
|
|
|
|
2020-07-07 07:38:27 +00:00
|
|
|
SPHINX_TREES["writing-rust-code"] = "docs/writing-rust-code"
|
|
|
|
|
2020-03-28 00:40:49 +00:00
|
|
|
SPHINX_TREES["bug-mgmt"] = "docs/bug-mgmt"
|
|
|
|
|
2023-07-26 18:22:32 +00:00
|
|
|
SPHINX_TREES["glossary"] = "docs/glossary"
|
|
|
|
|
|
|
|
SPHINX_TREES["overview"] = "docs/overview"
|
|
|
|
|
2020-05-28 13:03:58 +00:00
|
|
|
SPHINX_TREES["setup"] = "docs/setup"
|
|
|
|
|
2020-09-22 06:26:17 +00:00
|
|
|
SPHINX_TREES["crash-reporting"] = "docs/crash-reporting"
|
|
|
|
|
2021-03-30 16:02:41 +00:00
|
|
|
SPHINX_TREES["performance"] = "docs/performance"
|
|
|
|
|
2021-05-10 13:33:09 +00:00
|
|
|
SPHINX_TREES["metrics"] = "docs/metrics"
|
|
|
|
|
2021-10-08 19:53:53 +00:00
|
|
|
SPHINX_TREES["gtest"] = "docs/gtest"
|
|
|
|
|
2022-02-02 17:19:51 +00:00
|
|
|
SPHINX_TREES["nspr"] = "docs/nspr"
|
|
|
|
|
2022-07-14 15:45:44 +00:00
|
|
|
SPHINX_TREES["mots"] = "docs/mots"
|
|
|
|
|
2022-12-13 16:57:52 +00:00
|
|
|
SPHINX_TREES["update-infrastructure"] = "docs/update-infrastructure"
|
|
|
|
|
2014-08-24 00:11:05 +00:00
|
|
|
include("build/templates.mozbuild")
|