Commit Graph

757 Commits

Author SHA1 Message Date
Alex Franchuk
e8aae48787 Bug 1821091 - Send Glean crash pings from the crashreporter r=gsvelto,glandium
Differential Revision: https://phabricator.services.mozilla.com/D214442
2024-07-16 14:08:52 +00:00
serge-sans-paille
1549cd5949 Bug 1873959 - Only force generation of buildid.h and source-repo.h during export phase r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D198180
2024-01-16 13:49:03 +00:00
Narcis Beleuzu
8024f113c3 Backed out changeset 89e331898251 (bug 1873959) for causing python failures . CLOSED TREE 2024-01-12 18:51:12 +02:00
serge-sans-paille
735ff68ec3 Bug 1873959 - Only force generation of buildid.h during export phase r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D198180
2024-01-12 09:40:51 +00:00
Sylvestre Ledru
96a565d2f5 Bug 1863497 - sccache: enable --show-adv-stats when storing stats r=glandium
Depends on D192931

Differential Revision: https://phabricator.services.mozilla.com/D192932
2023-11-27 16:59:49 +00:00
Butkovits Atila
c2531b44be Backed out 3 changesets (bug 1863497) for causing bustages. CLOSED TREE
Backed out changeset ce9934edcec1 (bug 1863497)
Backed out changeset c959dafcf46f (bug 1863497)
Backed out changeset 1caa79ee637e (bug 1863497)
2023-11-16 15:46:36 +02:00
Sylvestre Ledru
ed874d92b1 Bug 1863497 - sccache: enable --show-adv-stats when storing stats r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D192932
2023-11-16 09:14:58 +00:00
Mike Hommey
cc280619c4 Bug 1861288 - Improve coverage of the pre-export and export phases in profiles. r=firefox-build-system-reviewers,ahochheiden
At the top-level, what we currently have is something akin to:
  export: some deps
    echo BUILDSTATUS TIER_START export
    make recurse_export
    ...

In practice, what this means is that `some` and `deps` are built outside
the export tier/phase.

Since recurse_export is itself a recipe with dependencies, we can "just"
move `some` and `deps` to become dependencies of recurse_export instead.
But since in non top-level directories, recurse_export is not a thing,
we still need to keep the dependencies on export there.

Unfortunately, we have one instance of something built during
recurse_export that relied on its undeclared/undeclarable dependencies
being built before recurse_export, so we need to accomodate for that.

Also, for some reason, recurse_pre-export was a two-colons recipe, while
the other recurse_* recipes were single-colon, so fix that.

Come to think of it, the same probably applies to misc and libs, which
this would mechanically fix alongside.

Incidentally, this also makes those things that ran before recurse_* run
in parallel of the other things that run during recurse_*.

Differential Revision: https://phabricator.services.mozilla.com/D191913
2023-10-27 00:01:35 +00:00
Florian Quèze
ec1134bf2f Bug 1850647 - add an optional argument to py_action to record the target file name for most actions, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D187306
2023-10-12 08:41:34 +00:00
Florian Quèze
f26d5aa7e6 Bug 1850647 - prepare py_action callers to py_action expanding to multiple lines, r=glandium.
- avoid using py_action with addprefix (process_install_manifest calls)
- use a foreach make loop instead of a shell script for loop (toolkit/components/telemetry)
- pass the directory in which MAKE_PACKAGE should run as an argument instead of changing the directory before calling the macro.

Differential Revision: https://phabricator.services.mozilla.com/D190513
2023-10-12 08:41:33 +00:00
Sandor Molnar
a9ab9f37a0 Backed out 8 changesets (bug 1850647, bug 1325181) for causing build bustages CLOSED TREE
Backed out changeset ab9d4ca38d83 (bug 1850647)
Backed out changeset 7465055478d9 (bug 1850647)
Backed out changeset 2008dd9ac32a (bug 1325181)
Backed out changeset c95204654c91 (bug 1850647)
Backed out changeset 0128ca1c9d18 (bug 1850647)
Backed out changeset e9277971c260 (bug 1850647)
Backed out changeset 6c15af4bc2c6 (bug 1850647)
Backed out changeset ce7ac5e23c1c (bug 1850647)
2023-10-11 12:25:58 +03:00
Florian Quèze
d40c2ed723 Bug 1850647 - add an optional argument to py_action to record the target file name for most actions, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D187306
2023-10-11 05:54:13 +00:00
Florian Quèze
e22c227b41 Bug 1850647 - avoid using py_action with addprefix to enable wrapping the actual command in BUILDSTATUS messages, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D190513
2023-10-11 05:54:12 +00:00
Nazım Can Altınova
9c891601be Bug 1853653 - Explain why mach buildsymbols is skipped r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188460
2023-09-19 10:41:15 +00:00
Mike Hommey
b25b67e371 Bug 1853088 - Remove win32 build from aarch64 windows builds. r=firefox-build-system-reviewers,media-playback-reviewers,taskgraph-reviewers,ahochheiden,gbrown,padenot
Now that we have a native aarch64 gmp plugin for widevine, we can revert
bug 1529194, bug 1527463, bug 1534522, bug 1607552.

Differential Revision: https://phabricator.services.mozilla.com/D188300
2023-09-19 08:29:07 +00:00
Sylvestre Ledru
79ebd2d939 Bug 1844122 - sccache: store the stats too r=padenot,taskgraph-reviewers,jcristau DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183882
2023-07-18 15:10:55 +00:00
Nick Alexander
183f12d9bd Bug 1751515 - Part 3: Do not install artifact test archive when --disable-tests. r=firefox-build-system-reviewers,glandium
When consuming artifacts from `Bs` jobs, there is no test archive.
The consumer still needs to specify "no tests", but this at least
allows the artifact build to proceed.

Differential Revision: https://phabricator.services.mozilla.com/D136930
2022-01-26 19:08:57 +00:00
Nick Alexander
dc28c12fdd Bug 1744325 - Remove outdated update-packaging cruft. r=bhearsum,firefox-build-system-reviewers,glandium
None of this is used now that `funsize` generates update MARs.  It
might have even been possible to remove this in Bug 1173459, years
ago.

Differential Revision: https://phabricator.services.mozilla.com/D132836
2021-12-10 17:31:08 +00:00
Mike Hommey
a533a4b14a Bug 1690870 - Stop getting artifacts for host binaries. r=firefox-build-system-reviewers,andi
Ever since all builds we get artifacts from have been cross-compiled, those
artifacts have been for Linux. They are not of any use on Mac or Windows hosts,
so it's unnecessary to get them. And we might as well be consistent across
platforms, and not get them on Linux either, even if they are native.

Differential Revision: https://phabricator.services.mozilla.com/D129790
2021-10-28 11:05:04 +00:00
criss
6f11994c29 Backed out 3 changesets (bug 1690870) for causing build bustages. CLOSED TREE
Backed out changeset 258ae2eb6cd4 (bug 1690870)
Backed out changeset eb0be4532ace (bug 1690870)
Backed out changeset 05556177ebe6 (bug 1690870)
2021-10-28 13:46:19 +03:00
Mike Hommey
dfacf7c003 Bug 1690870 - Stop getting artifacts for host binaries. r=firefox-build-system-reviewers,andi
Ever since all builds we get artifacts from have been cross-compiled, those
artifacts have been for Linux. They are not of any use on Mac or Windows hosts,
so it's unnecessary to get them. And we might as well be consistent across
platforms, and not get them on Linux either, even if they are native.

Differential Revision: https://phabricator.services.mozilla.com/D129790
2021-10-28 10:24:52 +00:00
Sebastian Hengst
229fe39c18 Bug 1675086 - drop reference to 'pgo' from Windows AArch EME artifact build. r=nalexander
Linux switched to the 3-tier PGO build in bug 1516114, Windows in bug 1557785. These use the 'shippable' platform and the 'pgo' one is not used anymore on these platforms.

Depends on D95802

Differential Revision: https://phabricator.services.mozilla.com/D95803
2020-11-03 22:46:57 +00:00
Ricky Stewart
efcaf31d7e Bug 1674236 - Call $(PYTHON3) mach instead of mach in a few places in Makefiles r=nalexander
If you just call into `mach` directly, `mach` will select the `python3` binary at the front of the `PATH`, which may not be the configured `PYTHON3` binary. Instead, we explicitly call `$(PYTHON3) mach`.

In at least one place, [we call into a Python 2-only `mach` command](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/Makefile.in#142). We should do the same in that case once `mach android` is converted to Python 3 (see bug 1638947).

The Gradle files are another place where we [call directly into `mach`](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/settings.gradle#5) that should also be fixed. The comment in `settings.gradle` ("gradle is called before parsing config.status, we cannot use PYTHON") suggests this may not be possible though. I'll follow up about that.

Differential Revision: https://phabricator.services.mozilla.com/D95216
2020-10-30 16:08:14 +00:00
Ricky Stewart
362abcf949 Bug 1670357 - Remove make targets for cleaning: clean, realclean, clobber, distclean, clobber_all, everything r=firefox-build-system-reviewers,mhentges
The `clobber` targets are superseded by `mach clobber`, so we don't need them for any reason. The `clean` target is meant to get you to a post-`configure` state, but it doesn't really work, and if it's necessary for you to be in that state for some reason you can just clobber and re-`configure`, so it doesn't seem worth it to get it working again. Instead, delete all of them. Also delete `everything` which is not useful when `clobber` doesn't exist.

Differential Revision: https://phabricator.services.mozilla.com/D93514
2020-10-15 20:37:18 +00:00
Mike Hommey
8b395e71b1 Bug 1664077 - Remove xpcom-private.h. r=sg
It's not necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D90206
2020-09-15 14:53:10 +00:00
Mike Hommey
38cc2e0609 Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85252
2020-07-31 20:27:54 +00:00
Mike Hommey
13b57c569e Bug 1654994 - Make full symbols archive opt-in rather than opt-out. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D85354
2020-07-31 10:01:54 +00:00
Dorel Luca
0226b8feef Backed out 6 changesets (bug 1654994) for build bustage on fuzzy builds. DONTBUILD
Backed out changeset cd3e1074b785 (bug 1654994)
Backed out changeset 45ee50e76d61 (bug 1654994)
Backed out changeset 77f1b667baec (bug 1654994)
Backed out changeset 9fca8b0bf8c1 (bug 1654994)
Backed out changeset 7131943d8db9 (bug 1654994)
Backed out changeset 435b90f6ca70 (bug 1654994)
2020-07-31 12:36:14 +03:00
Mike Hommey
311e167747 Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85252
2020-07-30 22:21:28 +00:00
Mike Hommey
fb02e02524 Bug 1654994 - Make full symbols archive opt-in rather than opt-out. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D85354
2020-07-30 11:30:34 +00:00
Ricky Stewart
2dfdfd49c8 Bug 1654371 - Get verbose output from mach artifact install in artifact builds if we're doing verbose build logging r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84419
2020-07-21 19:49:55 +00:00
Nick Alexander
b41ff18a94 Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium
This is strictly a quality of life improvement when cross-compiling to
Windows targets.  A common scenario is mounting an object directory
into a Windows VM, which requires additional VM configuration to
handle (absolute) symlinks.  With this patch, `export NSDISTMODE=copy`
in a mozconfig sidesteps any such symlink issues.

Differential Revision: https://phabricator.services.mozilla.com/D77118
2020-07-07 02:16:12 +00:00
Coroiu Cristina
3cce853af2 Backed out 4 changesets (bug 1641291) for build bustages and SM failures on a CLOSED TREE
Backed out changeset 9c0a44614576 (bug 1641291)
Backed out changeset 0dcf604b880e (bug 1641291)
Backed out changeset d830bee40b5c (bug 1641291)
Backed out changeset fe38c82c2dad (bug 1641291)
2020-06-03 22:09:52 +03:00
Nick Alexander
26518d1bde Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium
This is strictly a quality of life improvement when cross-compiling to
Windows targets.  A common scenario is mounting an object directory
into a Windows VM, which requires additional VM configuration to
handle (absolute) symlinks.  With this patch, `export NSDISTMODE=copy`
in a mozconfig sidesteps any such symlink issues.

Differential Revision: https://phabricator.services.mozilla.com/D77118
2020-06-03 18:18:23 +00:00
Ricky Stewart
4d4b22b3de Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-05-05 20:04:30 +00:00
Ricky Stewart
fd72a5d35e Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-05-05 19:53:22 +00:00
Bogdan Tara
f137fa0613 Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE
Backed out changeset 332ce0963b4e (bug 1633039)
Backed out changeset a9904cbc40d9 (bug 1633037)
Backed out changeset d06b0ec349f8 (bug 1599658)
Backed out changeset 8fd300cad80f (bug 1633016)
Backed out changeset f8820941c703 (bug 1632916)
Backed out changeset ac9c2c8746ed (bug 1632920)
2020-05-02 01:49:29 +03:00
Ricky Stewart
0daacc12c3 Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72487
2020-04-30 15:27:13 +00:00
Ricky Stewart
bb4e86d85a Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72479
2020-04-30 15:25:22 +00:00
Mike Hommey
0fb4a38faf Bug 1621436 - Run process_install_manifest with python3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70156

--HG--
extra : moz-landing-system : lando
2020-04-09 00:21:12 +00:00
Andrea Marchesini
d7badaf4fb Bug 1623593 - Get rid of NECKO_COOKIES compilation flag, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67451

--HG--
extra : moz-landing-system : lando
2020-03-24 16:30:03 +00:00
Mike Shal
419f244300 Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:32 +00:00
Mike Shal
2723002de4 Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:22 +00:00
Mike Shal
4017368b2f Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:13 +00:00
Daniel Varga
09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Mike Shal
d58365f0ce Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:39 +00:00
Mike Shal
fd97dcb49c Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:29 +00:00
Mike Shal
a1ea58eb94 Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:22 +00:00
Nathan Froyd
179cc1aa78 Bug 1618280 - make make distclean work again; r=dmajor
We were using `config.status*` as a catchall in `DIST_GARBAGE` for
`config.status` and `config.statusd`.  Unfortunately, the latter was a
directory, so `rm config.status*` error'd out.  We can fix this easily
by putting `config.statusd` in `GARBAGE_DIRS`, which will use `rm -r`,
as intended.

Differential Revision: https://phabricator.services.mozilla.com/D64422

--HG--
extra : moz-landing-system : lando
2020-02-26 18:14:36 +00:00
Mike Shal
a33fa339c3 Bug 1557788 - Remove spurious MOZ_PROFILE_USE ifndefs; r=firefox-build-system-reviewers,chmanchester
One of these appears to be mistakenly leftover from bug 861178
which was intended to avoid purging dist/, but the code inside the ifndef
no longer does that.

The other is from bug 1246881 to avoid re-writing the buildid.h file
during the profile-use build, but now that there are two separate
builds, they will each have their own buildid.h / source-repo.h files.

Differential Revision: https://phabricator.services.mozilla.com/D56116

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:53 +00:00