Граф коммитов

9463 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges eef15c6006 Bug 1676951: Improve "on Windows" * 2 sentence r=smacleod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96904
2020-11-12 20:39:19 +00:00
smolnar 1e6e466d99 Backed out 4 changesets (bug 1666347, bug 1667152, bug 1661624, bug 1666345) for causing mingw bustage. CLOSED TREE
Backed out changeset 19f707f5c097 (bug 1666347)
Backed out changeset 3732ee259759 (bug 1666345)
Backed out changeset 353d3c9e74b9 (bug 1661624)
Backed out changeset a651515586a8 (bug 1667152)
2020-11-12 19:55:58 +02:00
Ricky Stewart 15a9bfbe36 Bug 1666347 - Delete assorted dead code after removal of vendored `psutil` r=firefox-build-system-reviewers,mhentges
Most of the deletions here come from bug 1481612, the `--with-windows-wheel` option to `mach vendor python`, which according to that commit message "is very single-purpose: it's intended to let us vendor an unpacked
wheel for psutil on Windows". Since vendoring `psutil` is something we're no longer doing, we can safely just delete that added code.

Differential Revision: https://phabricator.services.mozilla.com/D90919
2020-10-27 21:15:08 +00:00
Ricky Stewart 55f90afcca Bug 1661624 - Include `psutil` in the `mach` `virtualenv`s r=firefox-build-system-reviewers,mhentges
Install `psutil` when setting up the `mach` `virtualenv`s and stop importing the in-tree version in the build.

Nothing in-tree currently assumes or mandates the installation of `psutil` (all uses of `psutil` are guarded with imports of the form `try : import psutil; except ImportError: psutil = None`), so there's no back-incompatibility concerns here. There will be an awkward period where telemetry will be lacking CPU/disk data for everyone until they re-run `mach bootstrap` or `mach create-mach-environment`, but that will come back as people gradually update their `virtualenv`s.

An alternative to circumvent that issue is REQUIRING that `psutil` be installed by adding an assertion in `mach` that `psutil` can be found (allowing us to remove all the conditional logic in-tree around whether `psutil` is installed), but I wouldn't claim that we're ready to do that and deal with whatever fallout might occur.

Differential Revision: https://phabricator.services.mozilla.com/D90914
2020-11-12 15:58:05 +00:00
David Major 02b04550c6 Bug 1676669 - Trim some context on downgrade-mangling-error.patch for clang-12 r=firefox-build-system-reviewers,rstewart
Some of the surrounding lines recently changed so the patch refuses to apply. We can live with less context so I'd rather trim it than make a new clang-12 version of this patch.

Differential Revision: https://phabricator.services.mozilla.com/D96725
2020-11-11 16:19:25 +00:00
Sylvestre Ledru c7deb74f61 Bug 1670807 - Look for gm4 in addition to m4 r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D94305
2020-11-10 19:19:31 +00:00
Butkovits Atila 5e745619d9 Backed out changeset f38410c45877 (bug 1670807) for linting failures. CLOSED TREE 2020-11-10 20:37:44 +02:00
Sylvestre Ledru 8340ccd1e1 Bug 1670807 - Look for gm4 in addition to m4 r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D94305
2020-11-10 18:05:58 +00:00
Andi-Bogdan Postelnicu 6121332b48 Bug 1626555 - Add `dom/webbrowserpersist` to the list of non-unified-build-compatible directories. r=sg
Depends on D96590

Differential Revision: https://phabricator.services.mozilla.com/D96593
2020-11-10 16:18:01 +00:00
Andi-Bogdan Postelnicu 649fe4a141 Bug 1626555 - Add `dom/webauthn` to the list of non-unified-build-compatible directories. r=sg
Depends on D96586

Differential Revision: https://phabricator.services.mozilla.com/D96590
2020-11-10 16:32:16 +00:00
Andi-Bogdan Postelnicu 265193a613 Bug 1626555 - Add `dom/vr` to the list of non-unified-build-compatible directories. r=sg
Depends on D96573

Differential Revision: https://phabricator.services.mozilla.com/D96586
2020-11-10 16:08:48 +00:00
Andi-Bogdan Postelnicu 446acb4cea Bug 1626555 - Add `dom/url` to the list of non-unified-build-compatible directories. r=sg
Depends on D96572

Differential Revision: https://phabricator.services.mozilla.com/D96573
2020-11-10 13:43:07 +00:00
Andi-Bogdan Postelnicu ff9bb66d6f Bug 1626555 - Add `dom/u2f` to the list of non-unified-build-compatible directories. r=sg
Depends on D96571

Differential Revision: https://phabricator.services.mozilla.com/D96572
2020-11-10 13:43:05 +00:00
Andi-Bogdan Postelnicu 9c73ee47bf Bug 1626555 - Add `dom/tests` to the list of non-unified-build-compatible directories. r=sg
Depends on D96570

Differential Revision: https://phabricator.services.mozilla.com/D96571
2020-11-10 13:42:06 +00:00
Andi-Bogdan Postelnicu 3e53bbe010 Bug 1626555 - Add `dom/system` to the list of non-unified-build-compatible directories. r=sg
Depends on D96569

Differential Revision: https://phabricator.services.mozilla.com/D96570
2020-11-10 13:41:58 +00:00
Andi-Bogdan Postelnicu b9bd386da7 Bug 1626555 - Add `dom/svg` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96569
2020-11-10 13:44:03 +00:00
Emilio Cobos Álvarez 440671e906 Bug 1676307 - Search for sccache in the toolchain search path. r=firefox-build-system-reviewers,mhentges
So that ac_add_options --with-ccache=sccache just works.

Differential Revision: https://phabricator.services.mozilla.com/D96501
2020-11-10 13:11:49 +00:00
Emilio Cobos Álvarez 1fe5a936f7 Bug 1676307 - Move compiler wrapper config after toolchain search path definition. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D96500
2020-11-10 12:54:10 +00:00
Bogdan Tara 1bda053029 Backed out 2 changesets (bug 1676307) for stackwalk related bustage CLOSED TREE
Backed out changeset 3b7922a9af19 (bug 1676307)
Backed out changeset 74e377213d81 (bug 1676307)
2020-11-10 14:42:43 +02:00
Emilio Cobos Álvarez c2b9d3eb7f Bug 1676307 - Search for sccache in the toolchain search path. r=firefox-build-system-reviewers,mhentges
So that ac_add_options --with-ccache=sccache just works.

Differential Revision: https://phabricator.services.mozilla.com/D96501
2020-11-10 12:10:47 +00:00
Emilio Cobos Álvarez 73c892ab3f Bug 1676307 - Move compiler wrapper config after toolchain search path definition. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D96500
2020-11-10 12:09:05 +00:00
Andi-Bogdan Postelnicu 06adde3adb Bug 1626555 - Add `dom/storage` to the list of non-unified-build-compatible directories. r=sg
Depends on D96442

Differential Revision: https://phabricator.services.mozilla.com/D96530
2020-11-10 12:00:30 +00:00
Andi-Bogdan Postelnicu e70abab259 Bug 1626555 - Add `dom/smil` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96442
2020-11-10 11:20:23 +00:00
Andi-Bogdan Postelnicu d81fefc9bc Bug 1626555 - Add `dom/serviceworkers` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96441
2020-11-10 11:55:00 +00:00
Mike Hommey af02c91f37 Bug 1665754 - Setup an Apple silicon macos build. r=firefox-build-system-reviewers,dmajor
Baby steps. This adds an unsigned non-universal Apple silicon-only macos
build.

Differential Revision: https://phabricator.services.mozilla.com/D96339
2020-11-10 08:46:22 +00:00
Mike Hommey cc86146345 Bug 1676290 - Don't use a toolchain prefix when cross-compiling from mac to mac. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D96477
2020-11-09 23:43:56 +00:00
Andi-Bogdan Postelnicu 5e91efd61f Bug 1626555 - Add `dom/security` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 21:03:52 +00:00
Brindusan Cristian ca85f574a0 Backed out changeset 3a087ad91d30 (bug 1626555) for build bustages. CLOSED TREE 2020-11-09 21:09:33 +02:00
Andi-Bogdan Postelnicu 6ffdaf663d Bug 1626555 - Add `dom/security` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 17:57:01 +00:00
Andi-Bogdan Postelnicu 6c639eb537 Bug 1626555 - Add `dom/script` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96401
2020-11-09 16:50:39 +00:00
Andi-Bogdan Postelnicu 04b093b6a4 Bug 1626555 - Add `dom/res` to the list of non-unified-build-compatible directories. r=sg
Depends on D96398

Differential Revision: https://phabricator.services.mozilla.com/D96399
2020-11-09 12:24:01 +00:00
Andi-Bogdan Postelnicu eddf5c3167 Bug 1626555 - Add `dom/reporting` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96398
2020-11-09 12:14:27 +00:00
Mike Hommey af94e85e8d Bug 1675675 - Only put mach_bootstrap paths in PYTHONPATH for mach python --no-virtualenv. r=firefox-build-system-reviewers,rstewart
With PYTHONPATH containing other directories, such as the python ones,
bad things can happen when the python script that is being run then
goes on to subprocess.Popen a python process for a different virtualenv,
or a different version, or whatever.

Differential Revision: https://phabricator.services.mozilla.com/D96155
2020-11-06 17:30:58 +00:00
Andrew Halberstadt 331bc892dd Bug 1675319 - [manifestparser] Properly support multiline skip-if statements, r=jmaher,extension-reviewers,zombie
This supports one manifestparser expression per line in the 'skip-if',
'fail-if' and 'run-if' keys. As a side effect the:

    skip-if = foo ||
        bar

syntax is no longer supported. Instead it can be:

    skip-if =
        foo  # bug 123
        bar  # bug 456

Differential Revision: https://phabricator.services.mozilla.com/D95927
2020-11-05 19:55:08 +00:00
Mitchell Hentges 0bf01c3c96 Bug 1670264: Validate detected Java directory to ensure it's a JDK r=nalexander
Also consolidates bootstrap and configure Java-detection logic so
there's less surprises.

Differential Revision: https://phabricator.services.mozilla.com/D94664
2020-11-03 23:32:43 +00:00
Steve Fink cb4e64b5f5 Bug 1666108 - Eliminate -Wimplicit-function-declaration warnings r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D95092
2020-11-04 00:54:57 +00:00
Kartikaya Gupta 2fd4f2fc5c Bug 1418001 - Generate analysis for file inclusions. r=asuth,andi
This introduces a new mangled symbol of the form FILE_<hash>. It's defined
on line 1 of each visited source file, and it's referenced in places that
the preprocessor tells us there was an #include. Both angle-bracket includes
and quote includes are supported here.

Differential Revision: https://phabricator.services.mozilla.com/D95529
2020-11-03 15:57:32 +00:00
Kartikaya Gupta a979c5ff70 Bug 1418001 - Refactor to allow visitIdentifier callers to pass a full SourceRange. r=asuth,andi
In the next patch I'll want to be able to provide the entire source rather than
having visitIdentifier just use the token at `Loc`. The existing call sites
create a SourceRange from the SourceLocation and indicate (by not setting the
LocRangeEndValid flag) that the visitIdentifier function should retain it's
old behaviour of using the token to figure out the range.

Depends on D95527

Differential Revision: https://phabricator.services.mozilla.com/D95528
2020-11-02 20:38:37 +00:00
Kartikaya Gupta b28eaef8b0 Bug 1418001 - Refactor to make file type detection more explicit. r=asuth,andi
This extracts a relativizePath function that normalizes a file path to be
relative to the source/objdir, and returns the type of the file.

Differential Revision: https://phabricator.services.mozilla.com/D95527
2020-11-02 20:38:36 +00:00
David Major 5fde4e00e2 Bug 1674907 - Clean up C++17 ifdefs in TestNoRefcountedInsideLambdas.cpp r=static-analysis-reviewers,sg
I'll need to update this file for clang-12, and in order to prevent the need for adding more of these ifdefs, let's just assume they are true and remove the checks. Our codebase has been on C++17 for a while now.

Differential Revision: https://phabricator.services.mozilla.com/D95592
2020-11-03 09:25:50 +00:00
Ricky Stewart 119ff36277 Bug 1674498 - Remove references to `jarsigner` from `configure` and delete the `debug_sign_tool` r=geckoview-reviewers,nalexander,snorp
This is no longer used by Android devs.

Differential Revision: https://phabricator.services.mozilla.com/D95417
2020-11-02 16:50:56 +00:00
Andi-Bogdan Postelnicu e685a3df8c Bug 1626555 - Add `dom/power` to the list of non-unified-build-compatible directories. r=sg
Depends on D95169

Differential Revision: https://phabricator.services.mozilla.com/D95170
2020-10-29 16:22:53 +00:00
Andi-Bogdan Postelnicu 7411bbd17a Bug 1626555 - Add `dom/plugins` to the list of non-unified-build-compatible directories. r=sg
Depends on D95168

Differential Revision: https://phabricator.services.mozilla.com/D95169
2020-10-29 16:22:45 +00:00
Andi-Bogdan Postelnicu b710a4fe2a Bug 1626555 - Add `dom/permission` to the list of non-unified-build-compatible directories. r=sg
Depends on D95167

Differential Revision: https://phabricator.services.mozilla.com/D95168
2020-10-29 16:21:52 +00:00
Andi-Bogdan Postelnicu e10c399e77 Bug 1626555 - Add `dom/performance` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D95167
2020-10-29 17:37:02 +00:00
Andi-Bogdan Postelnicu 9495897723 Bug 1626555 - Add `dom/payments` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D95155
2020-10-29 16:15:45 +00:00
Andi-Bogdan Postelnicu 89f454c02b Bug 1626555 - Add `dom/{notification, offline}` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D95154
2020-10-29 15:21:57 +00:00
Andi-Bogdan Postelnicu fea9419ddc Bug 1626555 - Add `dom/network` to the list of non-unified-build-compatible directories. r=sg
Depends on D95145

Differential Revision: https://phabricator.services.mozilla.com/D95153
2020-10-29 15:21:44 +00:00
Andi-Bogdan Postelnicu 53ece981b4 Bug 1626555 - Add `dom/midi` to the list of non-unified-build-compatible directories. r=sg
Depends on D95137

Differential Revision: https://phabricator.services.mozilla.com/D95145
2020-10-29 15:24:40 +00:00
Andi-Bogdan Postelnicu c952a3b5d0 Bug 1626555 - Add `dom/messagechannel` to the list of non-unified-build-compatible directories. r=sg
Depends on D95057

Differential Revision: https://phabricator.services.mozilla.com/D95137
2020-10-29 14:15:23 +00:00