gecko-dev/python
Mike Hommey 297fff3aa4 Bug 1902211 - Don't add compiler flags to host linker flags. r=firefox-build-system-reviewers,sergesanspaille
On clang-cl builds, the compiler and the linker are two completely different
things. The linker thankfully ignores the flags it doesn't know but
it's not optimal that it has to complain about them.

The historical reason we add compiler flags to linker flags is that some
flags, mostly related to optimization, such as -flto or --profile-generate,
need to be applied to both. This generally keeps being true for builds
using clang or GCC, although ideally we'd set things separately.

Anyways, generally speaking, we don't expect such flags to be necessary
for host linking, so let's start by cleaning up those. This does affect
all builds, but shouldn't matter.

It is worth noting that commands to link target things on clang-cl
builds actually use a different set of flags, so the linker doesn't end
up complaining about unknown arguments there.

Differential Revision: https://phabricator.services.mozilla.com/D213524
2024-06-13 20:21:56 +00:00
..
docs Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol 2023-12-13 18:32:20 +00:00
gdbpp/gdbpp Bug 1871014 - Fix GDB pretty printer for nsWeakPtr. r=nalexander 2023-12-22 09:10:29 +00:00
l10n Bug 1901717 - add esr128 to cross-channel. r=flod 2024-06-12 16:26:43 +00:00
lldbutils Bug 1824877 Part 2 - Rename nsHTMLScrollFrame to mozilla::ScrollContainerFrame. r=dholbert 2024-05-15 17:50:48 +00:00
mach Bug 1898258 - Add and document mach gen-uuid. r=smaug 2024-05-22 14:52:20 +00:00
mozboot Bug 1866711 - On Windows, check that topsrcdir is on a ReFS drive (Dev Drive) during bootstrap r=firefox-build-system-reviewers,nalexander 2024-05-15 17:32:29 +00:00
mozbuild Bug 1902211 - Don't add compiler flags to host linker flags. r=firefox-build-system-reviewers,sergesanspaille 2024-06-13 20:21:56 +00:00
mozlint Backed out 8 changesets (bug 1899681, bug 1888570, bug 1898817) as requested by the dev CLOSED TREE 2024-06-12 21:19:10 +03:00
mozperftest Backed out 8 changesets (bug 1899681, bug 1888570, bug 1898817) as requested by the dev CLOSED TREE 2024-06-12 21:19:10 +03:00
mozrelease Bug 1884138 - make scriptworker-canary ignore tree closure on try r=releng-reviewers,gbrown 2024-05-24 13:24:22 +00:00
mozterm Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
mozversioncontrol Bug 1896978 - Return empty list of changed files instead of nothing in SrcRepository r=ahochheiden 2024-05-29 20:16:14 +00:00
sites Bug 1892230 - Update to Glean v60.1.1 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,daabel 2024-05-31 16:25:30 +00:00
mach_commands.py
moz.build Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025