Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Connor Sheehan 1266f6cfb7 Bug 1684584: move call to `_check_clobber` to `mach build` instead of running in `_run_client_mk` r=firefox-build-system-reviewers,mhentges
The `AUTOCLOBBER` mozconfig option is reliably causing builds to fail when
a clobber is triggered. When we auto-clobber a build we do so after running
`configure` but before running `make client.mk`. This means we destroy all
the gathered information from the `configure` step in the objdir and then
attempt to run `make` using the previously destroyed information.

This commit moves the call to `_check_clobber` to an earlier stage in the
build process, before `configure` is called, so any clobber that takes place
will happen before setting up the objdir via `configure`.

Since `_check_clobber` is only called once in the codebase, and both cases
are now adding clobber metrics one after another, we remove the metrics
gathering from `_check_clobber` and rely on callers to set metrics instead.

Also clean up some nested `if` statements that can be flattened.

Differential Revision: https://phabricator.services.mozilla.com/D100794
2021-01-06 17:19:34 +00:00
.cargo Bug 1684261 - Fix build with rust nightly. r=jrmuizel 2020-12-26 18:16:05 +00:00
.vscode Bug 1685030 - Remove `rust` from `vscode` extensions list. r=sylvestre DONTBUILD 2021-01-05 17:28:05 +00:00
accessible Bug 1683723 - Replace deprecated Cocoa enum constants with their modern replacements. r=spohl 2021-01-05 21:17:11 +00:00
browser Backed out changeset a44cf82afb80 (bug 1681784) for causing bc failures in activity-stream.css 2021-01-06 19:54:34 +02:00
build Bug 1685165 - Support clang-12 in TestNoRefcountedInsideLambdas.cpp r=static-analysis-reviewers,andi 2021-01-05 21:47:22 +00:00
caps Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika 2020-12-17 14:58:18 +00:00
chrome Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
config Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
devtools Bug 1684463 - [devtools] Part 3: Split making the attribute editable logic out into _setupAttributeEditor. r=jdescottes 2021-01-06 10:53:42 +00:00
docs Bug 1684645 - Fix the regex for sphinx-copybutton.r=sylvestre DONTBUILD 2021-01-02 15:39:07 +00:00
docshell Backed out changeset 5eacf74bc04f (bug 1643450) for causing android mochitest failures in test_window_open_from_closing.html 2021-01-06 19:44:21 +02:00
dom Bug 1681772 - Put an hard-coded but non-empty label for audio devices on Android. r=jib 2021-01-06 18:17:02 +00:00
editor Bug 1685231: Fix the typo "ot" in various code-comments (to "to", "of", or "not"). r=mccr8 2021-01-06 04:54:51 +00:00
extensions Bug 1683540 - Make `extensions` buildable outside of `unified-build` environment. r=sg 2021-01-04 14:18:58 +00:00
gfx Bug 1684003 - Recycle ID3D11Query in CompositorD3D11 r=nical 2021-01-06 04:54:27 +00:00
gradle/wrapper
hal Bug 1683553 - Make `hal` buildable outside of `unified-build` environment. r=gsvelto 2021-01-04 14:20:19 +00:00
image Bug 1685176 - Update the fuzzy for pal8v4.bmp on aarch64-windows r=jmaher,tnikkel 2021-01-05 22:18:25 +00:00
intl Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
ipc Bug 1683032 - Always check active count in IdleSchedulerParent r=smaug 2021-01-06 05:07:20 +00:00
js Bug 1685190 - Add PUNPCKLQDQ/PUNPCKHQDQ shuffle analysis. r=lth 2021-01-06 17:06:57 +00:00
layout Bug 1685231: Fix the typo "ot" in various code-comments (to "to", "of", or "not"). r=mccr8 2021-01-06 04:54:51 +00:00
media Bug 1681943: Gtests for bug. r=mjf 2020-12-18 18:00:22 +00:00
memory Bug 1682556 - Increase vm_copy() threshold. r=glandium 2020-12-23 01:35:22 +00:00
mfbt Bug 1684110 - Stop using some 'A'-functions in mfbt/. r=dmajor 2021-01-04 14:40:48 +00:00
mobile Bug 1624562 - Remove Fennec theme files. r=geckoview-reviewers,agi 2021-01-05 20:14:15 +00:00
modules Bug 1684973 - Return mouse offset coordinates in SVG relative to the SVG root. r=smaug 2021-01-05 15:44:28 +00:00
mozglue Bug 1329600 - Scaffolding to output CPU measurements in samples - r=canaltinova 2021-01-04 07:19:16 +00:00
netwerk Bug 1681267 - Improve error message when the hook can't get the webnetem secret. r=davehunt 2021-01-06 14:30:28 +00:00
nsprpub Bug 1660371 - NSPR_4_29_RTM. r=kjacobs UPGRADE_NSPR_RELEASE DONTBUILD 2020-09-17 15:26:54 +00:00
other-licenses Bug 1461690 Part 3: HttpPostFile plugin for uploading uninstall ping via POST. r=mhowell 2020-10-20 23:20:25 +00:00
parser Bug 1489437 - Part 2: HTML parser should invoke custom element's callbacks before appending child nodes if it is not created for fragment; r=smaug 2021-01-05 21:40:26 +00:00
python Bug 1684584: move call to `_check_clobber` to `mach build` instead of running in `_run_client_mk` r=firefox-build-system-reviewers,mhentges 2021-01-06 17:19:34 +00:00
remote Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
security Bug 1329600 - Capture CPU usage on Linux - r=canaltinova,gcp 2021-01-04 11:37:46 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2021-01-04 14:45:13 +00:00
servo Bug 1684220 - Remove some dead plugins code. r=smaug 2021-01-04 20:12:05 +00:00
startupcache Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
storage Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
taskcluster Bug 1685302: Increase update verify chunks on macOS. r=taskgraph-reviewers,aki 2021-01-06 17:41:57 +00:00
testing Bug 1638962 - [geckodriver] Remove broken geckodriver-test mach command. r=webdriver-reviewers,jgraham 2021-01-06 12:36:17 +00:00
third_party Backed out 3 changesets (bug 1680802, bug 1680630) for turning Bug 1521378 into permafail. CLOSED TREE 2021-01-04 18:47:44 +02:00
toolkit Backed out changeset 4de429b6ad64 (bug 1572798) for causing browser chrome failures CLOSED TREE 2021-01-06 07:05:57 +02:00
tools Bug 1685198 - Fix failure on first sync for new repo. r=jrmuizel 2021-01-06 01:31:35 +00:00
uriloader Bug 1672384 - Links to PDFs from other PDFs don't show the option 'Open with Firefox' r=Gijs 2021-01-06 12:58:09 +00:00
view Bug 1683226 - part 16: Get rid of `WidgetPluginEvent` r=smaug 2020-12-29 21:19:45 +00:00
widget Bug 1685031 - Remove unused shutdown observer in nsAndroidBridge. r=geckoview-reviewers,agi 2021-01-05 20:14:12 +00:00
xpcom Bug 1518099 - Add support for lighter operator in feComposite r=jrmuizel,emilio 2021-01-05 20:49:00 +00:00
xpfe/appshell Bug 1671603: display skeleton ui elements in correct position when RTL is enabled r=dthayer 2020-12-22 17:22:07 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
.clang-format
.clang-format-ignore Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
.cron.yml Bug 1680028 - run l10n-bumper daily instead of hourly. r=releng-reviewers,jmaher,aki 2020-12-02 20:22:57 +00:00
.eslintignore Bug 1669956 - [devtools] Enable eslint for devtools/client/shared/components/reps. r=jdescottes. 2020-10-14 11:33:16 +00:00
.eslintrc.js Bug 1683340 - Enable ESLint rule no-async-promise-executor for the remaining dom/ files. r=nika 2020-12-18 18:31:21 +00:00
.flake8 Bug 1673700 - Don't use double quotes around strings in definition of `fork_interpose` r=firefox-build-system-reviewers,glandium 2020-10-29 15:47:14 +00:00
.git-blame-ignore-revs Bug 1648010 - Add revisions for the replacement of literal string macros by string literals to the ignore sets. r=marco,glandium DONTBUILD 2020-12-01 09:04:42 +00:00
.gitattributes
.gitignore Bug 1666347 - Delete assorted dead code after removal of vendored `psutil` r=firefox-build-system-reviewers,rstewart 2020-11-27 16:21:07 +00:00
.hg-annotate-ignore-revs Bug 1648010 - Add revisions for the replacement of literal string macros by string literals to the ignore sets. r=marco,glandium DONTBUILD 2020-12-01 09:04:42 +00:00
.hg-format-source
.hgignore Bug 1666347 - Delete assorted dead code after removal of vendored `psutil` r=firefox-build-system-reviewers,rstewart 2020-11-27 16:21:07 +00:00
.hgtags No bug - tagging 22fc47c968f29a47ed15b282e2148aa5024d861e with FIREFOX_NIGHTLY_85_END a=release DONTBUILD CLOSED TREE 2020-12-14 15:47:54 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1666809 - Insert decision task indexes directly via taskluster API rather than index-task, r=taskgraph-reviewers,aki 2020-09-24 19:19:36 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-08-24 14:18:41 +00:00
Cargo.lock Bug 1685214 - Add some documentation to qcms and bump the crate version. r=aosmond 2021-01-06 01:36:30 +00:00
Cargo.toml Bug 1684261 - Fix build with rust nightly. r=jrmuizel 2020-12-26 18:16:05 +00:00
GNUmakefile
LICENSE
Makefile.in Bug 1675086 - drop reference to 'pgo' from Windows AArch EME artifact build. r=nalexander 2020-11-03 22:46:57 +00:00
README.txt Bug 1659631 - readme: update the wording to firefox, DONTBUILD.r=sylvestre 2020-08-18 04:04:36 +00:00
aclocal.m4
build.gradle Bug 1671460 - Update to apilint 0.4.0. r=snorp 2020-11-02 19:42:25 +00:00
client.mk Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
client.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
configure.in Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
configure.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
gradle.properties Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi 2020-09-18 22:29:04 +00:00
gradlew
gradlew.bat
mach Bug 1638962 - [geckodriver] Remove broken geckodriver-test mach command. r=webdriver-reviewers,jgraham 2021-01-06 12:36:17 +00:00
moz.build Bug 1679938 - Don't recurse the build into mfbt for projects that don't need it. r=firefox-build-system-reviewers,mhentges 2020-12-01 23:52:03 +00:00
moz.configure Bug 1677742 - Followups for new pass manager LTO r=glandium 2020-11-21 02:13:04 +00:00
mozilla-config.h.in
old-configure.in Backed out 2 changesets (bug 1681445) for causing Bug 1684265 2020-12-28 18:41:59 +02:00
package-lock.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
package.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.