2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04: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/.
|
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("AUTHORS"):
|
|
|
|
BUG_COMPONENT = ("mozilla.org", "Licensing")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("LICENSE"):
|
|
|
|
BUG_COMPONENT = ("mozilla.org", "Licensing")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("aclocal.m4"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("Cargo.*"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2018-03-02 01:33:35 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("client.*"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("CLOBBER"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("*configure*"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-01-06 19:14:11 +03:00
|
|
|
with Files("docs/**"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "Generated Documentation")
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.exclusive = ["docs"]
|
2020-01-06 19:14:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("mach"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "Mach Core")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("*moz*"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("GNUmakefile"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("*gradle*"):
|
|
|
|
BUG_COMPONENT = ("GeckoView", "General")
|
|
|
|
SCHEDULES.exclusive = ["android"]
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("*.json"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2017-10-31 02:07:20 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("**/l10n.toml"):
|
|
|
|
BUG_COMPONENT = ("Core", "Localization")
|
2017-06-05 11:28:33 +03:00
|
|
|
FINAL = True
|
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("README.txt"):
|
|
|
|
BUG_COMPONENT = ("Core", "General")
|
2017-03-08 19:17:11 +03:00
|
|
|
|
2017-10-26 11:53:25 +03:00
|
|
|
with Files("nsprpub/**"):
|
|
|
|
BUG_COMPONENT = ("NSPR", "NSPR")
|
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
with Files("**/Makefile.in"):
|
|
|
|
BUG_COMPONENT = ("Firefox Build System", "General")
|
2015-02-26 22:43:45 +03:00
|
|
|
FINAL = True
|
|
|
|
|
2017-10-02 21:22:56 +03:00
|
|
|
with Files("**/*.rst"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["docs"]
|
2017-10-02 21:22:56 +03:00
|
|
|
|
|
|
|
with Files("**/*.md"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["docs"]
|
2017-12-20 03:39:21 +03:00
|
|
|
|
2020-08-12 17:36:12 +03:00
|
|
|
with Files("**/*.rs"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["rusttests"]
|
2020-08-12 17:36:12 +03:00
|
|
|
|
2019-05-18 01:29:33 +03:00
|
|
|
with Files("**/reftest.list"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
2020-04-24 21:54:51 +03:00
|
|
|
with Files("**/reftest-qr.list"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
2020-04-24 21:54:51 +03:00
|
|
|
|
2019-05-18 01:29:33 +03:00
|
|
|
with Files("**/crashtest*.list"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["crashtest"]
|
2020-03-24 17:55:28 +03:00
|
|
|
|
|
|
|
with Files("**/a11y.ini"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest-a11y"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/mochitest.ini"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest-plain"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/browser.ini"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest-browser-chrome"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
2020-06-09 20:14:09 +03:00
|
|
|
with Files("**/test*/**browser_*"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.exclusive = ["mochitest-browser-chrome"]
|
2020-06-09 20:14:09 +03:00
|
|
|
|
2019-05-18 01:29:33 +03:00
|
|
|
with Files("**/chrome.ini"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest-chrome"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/xpcshell.ini"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["xpcshell"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/reftest*/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["reftest"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/crashtest*/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["crashtest"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/mochitest*/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["mochitest"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/xpcshell/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
|
|
|
SCHEDULES.exclusive = ["xpcshell"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/tests/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/test/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/unit/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2019-05-18 01:29:33 +03:00
|
|
|
|
|
|
|
with Files("**/browser/tools/mozscreenshots/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2017-12-20 03:39:21 +03:00
|
|
|
|
2019-05-18 01:29:33 +03:00
|
|
|
with Files("**/devtools/shared/test-helpers/**"):
|
2020-10-24 03:36:18 +03:00
|
|
|
SCHEDULES.inclusive += ["test-verify", "test-verify-gpu"]
|
2017-12-20 03:39:21 +03:00
|
|
|
|
2013-10-24 01:43:32 +04:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"config/autoconf.mk",
|
|
|
|
"config/emptyvars.mk",
|
2013-10-24 01:43:32 +04:00
|
|
|
]
|
2013-02-26 01:20:01 +04:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
if CONFIG["ENABLE_CLANG_PLUGIN"]:
|
|
|
|
DIRS += ["build/clang-plugin"]
|
2014-10-02 04:14:07 +04:00
|
|
|
|
|
|
|
DIRS += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"build",
|
|
|
|
"config",
|
|
|
|
"python",
|
|
|
|
"testing",
|
|
|
|
"third_party/python",
|
2014-10-02 04:14:07 +04:00
|
|
|
]
|
2014-02-11 05:37:47 +04:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
if not CONFIG["JS_STANDALONE"]:
|
|
|
|
DIRS += ["taskcluster"]
|
2019-11-18 11:47:00 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
if not CONFIG["JS_STANDALONE"] or not CONFIG["MOZ_BUILD_APP"]:
|
2015-12-04 04:51:12 +03:00
|
|
|
CONFIGURE_DEFINE_FILES += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"mozilla-config.h",
|
2015-12-04 04:51:12 +03:00
|
|
|
]
|
2015-12-17 08:06:32 +03:00
|
|
|
EXPORTS += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"!buildid.h",
|
|
|
|
"!mozilla-config.h",
|
|
|
|
"!source-repo.h",
|
2015-12-17 08:06:32 +03:00
|
|
|
]
|
2013-03-24 06:12:25 +04:00
|
|
|
|
2016-02-09 08:36:07 +03:00
|
|
|
GENERATED_FILES += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"buildid.h",
|
|
|
|
"source-repo.h",
|
2016-02-09 08:36:07 +03:00
|
|
|
]
|
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
GENERATED_FILES["buildid.h"].script = "build/variables.py:buildid_header"
|
|
|
|
GENERATED_FILES["source-repo.h"].script = "build/variables.py:source_repo_header"
|
2016-02-09 08:36:07 +03:00
|
|
|
|
2015-10-06 06:13:33 +03:00
|
|
|
DIRS += [
|
2020-10-24 03:36:18 +03:00
|
|
|
"mfbt",
|
2015-10-06 06:13:33 +03:00
|
|
|
]
|
2014-07-17 03:42:17 +04:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
if CONFIG["MOZ_BUILD_APP"]:
|
2014-01-14 02:38:40 +04:00
|
|
|
# Bring in the configuration for the configured application.
|
2020-10-24 03:36:18 +03:00
|
|
|
include("/" + CONFIG["MOZ_BUILD_APP"] + "/app.mozbuild")
|
2017-11-08 03:19:09 +03:00
|
|
|
else:
|
2020-10-24 03:36:18 +03:00
|
|
|
include("/toolkit/toolkit.mozbuild")
|
2014-08-24 04:11:05 +04:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
OBJDIR_PP_FILES[".cargo"] += [".cargo/config.in"]
|
2019-08-23 00:27:24 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
DEFINES["top_srcdir"] = TOPSRCDIR
|
2016-09-09 01:12:34 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["contributing"] = "docs/contributing"
|
2020-01-06 19:38:34 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["code-quality"] = "docs/code-quality"
|
2020-02-11 12:11:44 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["testing-rust-code"] = "docs/testing-rust-code"
|
2020-06-26 04:04:40 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["writing-rust-code"] = "docs/writing-rust-code"
|
2020-07-07 10:38:27 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["bug-mgmt"] = "docs/bug-mgmt"
|
2020-03-28 03:40:49 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["setup"] = "docs/setup"
|
2020-05-28 16:03:58 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
SPHINX_TREES["crash-reporting"] = "docs/crash-reporting"
|
2020-09-22 09:26:17 +03:00
|
|
|
|
2020-10-24 03:36:18 +03:00
|
|
|
include("build/templates.mozbuild")
|