Commit Graph

958 Commits

Author SHA1 Message Date
Mike Hommey
0ef7e2a802 Bug 1924022 - Use urlopen's context parameter instead of cafile. r=firefox-build-system-reviewers,jcristau,ahochheiden
The latter was removed in python 3.13.

Differential Revision: https://phabricator.services.mozilla.com/D225318
2024-10-14 20:22:29 +00:00
Julien Cristau
dab34077b9 Bug 1913904 - update evolve during mach vcs-setup --update-only. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D219642
2024-09-17 08:49:35 +00:00
Ryan VanderMeulen
6dfc9102a9 Bug 1917252 - Update NDK to r27b. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D221314
2024-09-06 16:20:19 +00:00
Mike Hommey
46f3c64b1b Bug 1914501 - Don't run emerge when all packages have been filtered out. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D220203
2024-08-27 09:00:31 +00:00
mcarare
bd142be578 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-08 08:02:32 +00:00
Noemi Erli
934126cb32 Backed out 9 changesets (bug 1880805, bug 1880792) for causing Android build bustages CLOSED TREE
Backed out changeset 31bdbc9aeaa4 (bug 1880805)
Backed out changeset 774f35ca40c6 (bug 1880805)
Backed out changeset 245c3192541e (bug 1880805)
Backed out changeset b6ebbf12ab50 (bug 1880805)
Backed out changeset 17995dc18511 (bug 1880805)
Backed out changeset 42b34af74a6b (bug 1880805)
Backed out changeset 2f77befbf593 (bug 1880805)
Backed out changeset 974b02a7b0c6 (bug 1880792)
Backed out changeset bb02a20ea5fd (bug 1880792)
2024-08-07 21:36:15 +03:00
mcarare
ea282ca424 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-07 14:20:46 +00:00
Norisz Fay
e57b75b143 Backed out 9 changesets (bug 1880805, bug 1880792) for causing WR bustages
Backed out changeset b4a34334966e (bug 1880805)
Backed out changeset 930b186197c7 (bug 1880805)
Backed out changeset a123725cb63e (bug 1880805)
Backed out changeset 361853f53ba9 (bug 1880805)
Backed out changeset b23f3321ac09 (bug 1880805)
Backed out changeset ed4650fa6bec (bug 1880805)
Backed out changeset 413d884fda78 (bug 1880805)
Backed out changeset e7fff6a1e708 (bug 1880792)
Backed out changeset 781599462673 (bug 1880792)
2024-08-07 14:55:34 +03:00
mcarare
48cb18b4f9 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-07 10:45:53 +00:00
Narcis Beleuzu
1f68e6ad0c Backed out 9 changesets (bug 1880805, bug 1880792) for gradle-dependencies TL bustages. CLOSED TREE
Backed out changeset f94e6acf0cd3 (bug 1880805)
Backed out changeset 22e14524bf1f (bug 1880805)
Backed out changeset 774b263652b5 (bug 1880805)
Backed out changeset 77fe8fb48620 (bug 1880805)
Backed out changeset 3ae77f91197e (bug 1880805)
Backed out changeset 1ffaa88f56da (bug 1880805)
Backed out changeset 1dee3246c6a2 (bug 1880805)
Backed out changeset 9abb09c562ef (bug 1880792)
Backed out changeset 24a1c7a574c4 (bug 1880792)
2024-08-06 22:41:06 +03:00
mcarare
fe507f0539 Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D217428
2024-08-06 17:38:52 +00:00
Ryan VanderMeulen
34c60a8bc8 Bug 1893001 - Update NDK to r27. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D216899
2024-07-23 17:02:39 +00:00
Ryan VanderMeulen
40fc3f3e4c Bug 1893001 - Update Android bundletool to version 1.17.0. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D216898
2024-07-23 17:02:38 +00:00
Ryan VanderMeulen
0f15b77494 Bug 1908818 - Update JDK 17 to version 17.0.12+7. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D217051
2024-07-19 16:10:46 +00:00
ahochheiden
f759310e62 Bug 1902140 - Make ReFS detection work for volumes mounted on NTFS drives r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213523
2024-06-14 16:20:14 +00:00
ahochheiden
004a78a943 Bug 1866711 - On Windows, check that topsrcdir is on a ReFS drive (Dev Drive) during bootstrap r=firefox-build-system-reviewers,nalexander
The use of input() to pause the text scrolling is intentional. Users
might otherwise not see the message. It ensures the user makes an
informed decision and either switches to a Dev Drive, or hides the
recommendation.

Differential Revision: https://phabricator.services.mozilla.com/D194716
2024-05-15 17:32:29 +00:00
Ryan VanderMeulen
ded46257b8 Bug 1895621 - Update Android bundletool to version 1.16.0. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D209763
2024-05-13 20:37:00 +00:00
Mike Hommey
2e05ea66d4 Bug 1890935 - Bump the minimum version of Rust to 1.76. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D207239
2024-04-30 07:29:43 +00:00
Ryan VanderMeulen
d49f4481b3 Bug 1892371 - Update to JDK 17.0.11. r=geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D208279
2024-04-23 21:19:48 +00:00
serge-sans-paille
e003bc34c6 Bug 1891778 - Move mozilla_build_version out of mozbuild/util.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207594
2024-04-19 09:08:57 +00:00
Stanca Serban
4d62b8911e Backed out 2 changesets (bug 1890935, bug 1882209) for causing Android build bustages. CLOSED TREE
Backed out changeset 05cb55554fc0 (bug 1882209)
Backed out changeset 67b0625e2cfa (bug 1890935)
2024-04-19 08:07:52 +03:00
Mike Hommey
34dd45ff4c Bug 1890935 - Bump the minimum version of Rust to 1.76. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D207239
2024-04-19 04:21:20 +00:00
Connor Sheehan
ae95f7d117 Bug 1889954: set HGRCPATH=! when updating v-c-t r=firefox-build-system-reviewers,glandium
`HGPLAIN` disables configuration settings that change the default Mercurial
output, whereas `HGRCPATH=!` disables all extensions entirely. Since we are
updating v-c-t to update custom Mercurial extensions, we should disable all
extensions to avoid hitting bugs that would be fixed by updating v-c-t.

Differential Revision: https://phabricator.services.mozilla.com/D206918
2024-04-09 03:14:40 +00:00
Paul Adenot
b972f7b00d Bug 1883061 - Don't attempt to install the package with sudo apt-get if they are all already installed on debian. r=glandium
This saves typing a password the majority of the time.

Differential Revision: https://phabricator.services.mozilla.com/D203281
2024-03-07 09:37:11 +00:00
Norisz Fay
9cd4ea81e2 Bug 1882186 - Fix black lint failure in bootstrap.py r=fix CLOSED TREE 2024-02-27 05:05:40 +02:00
Mike Hommey
1692f7d305 Bug 1882186 - Disambiguate that we are checking out a branch, not a file. r=firefox-build-system-reviewers,ahochheiden
If for some reason the branch doesn't exist, git will complain about a
file with that name not being found. (see e.g. bug 1880502 for an
example of how that may happen)

Differential Revision: https://phabricator.services.mozilla.com/D202762
2024-02-27 02:38:48 +00:00
Mike Hommey
6c8e9a5608 Bug 1882186 - Set fetch.prune=true during git clone. r=firefox-build-system-reviewers,ahochheiden
The bootstrap script sets it after the clone, but not having it set
during the clone makes git-cinnabar show a message about setting it,
which is kind of useless since we're doing it for the user already.

Differential Revision: https://phabricator.services.mozilla.com/D202761
2024-02-27 02:38:47 +00:00
Ryan VanderMeulen
66bb6ab5f5 Bug 1881351 - Update to JDK 17.0.10. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202346
2024-02-22 13:47:35 +00:00
Ryan VanderMeulen
a5a6bab9d7 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-20 14:10:07 +00:00
Ryan VanderMeulen
d98713f2b9 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-20 14:10:06 +00:00
Cristian Tuns
3491328262 Backed out 5 changesets (bug 1822171) for causing Android failures with "Uncaught exception: Traceback (most recent call last)" CLOSED TREE
Backed out changeset cedd2977706a (bug 1822171)
Backed out changeset ba5550494437 (bug 1822171)
Backed out changeset 126552a59648 (bug 1822171)
Backed out changeset 072153b2a9fe (bug 1822171)
Backed out changeset 577745e56c02 (bug 1822171)
2024-02-19 15:05:47 -05:00
Sebastian Hengst
43d46df43a Backed out changeset bef8b1b461b8 (bug 1822171) for causing frequent connection issues to Android in testing. CLOSED TREE 2024-02-19 19:11:05 +01:00
Ryan VanderMeulen
ba1657eb48 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-19 16:09:51 +00:00
Ryan VanderMeulen
d2f6d19529 Bug 1822171 - Update Android bundletool and commandlinetools to the latest releases. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202073
2024-02-19 16:09:51 +00:00
Kershaw Chang
3bf0a840e4 Bug 1880110 - Bump the minimum version of Rust to 1.74.0, r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D201947
2024-02-19 14:33:05 +00:00
ahochheiden
377b24d2da Bug 1877348 - Remove the try/except wrappers that end up calling distutils.core.setup r=firefox-build-system-reviewers,glandium
This is one of the last references to `distutils` within `mach`, so
let's get rid of it to be thorough.

Differential Revision: https://phabricator.services.mozilla.com/D199951
2024-02-08 21:07:27 +00:00
Jeff Muizelaar
5ceb871e41 Bug 1865886. Add an android-31 emulator package and add google_apis. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199254
2024-01-29 15:04:15 +00:00
Noemi Erli
b300d36d38 Backed out 4 changesets (bug 1865886) for causing python failures CLOSED TREE
Backed out changeset 7cc03b5ce4a9 (bug 1865886)
Backed out changeset e2529b2ccc91 (bug 1865886)
Backed out changeset df1b87110c9d (bug 1865886)
Backed out changeset 7bf33179c4b8 (bug 1865886)
2024-01-27 01:39:25 +02:00
Jeff Muizelaar
72ff322a1a Bug 1865886. Add an android-31 emulator package and add google_apis. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199254
2024-01-26 22:18:17 +00:00
Julian Nagele
4360daf5c0 Bug 1869093 - When bootstrapping on Arch Linux check if packages are already installed before try to install them. r=ahochheiden,firefox-build-system-reviewers,sergesanspaille
pacman_install() uses sudo pacman -S to install packages, which requires the user to enter their password for sudo even if there's nothing to do. Checking for installed packages using pacman -Q allows us to skip calling sudo when all packages are  already installed.

Differential Revision: https://phabricator.services.mozilla.com/D199242
2024-01-23 17:46:15 +00:00
mcarare
88903cc4ad Bug 1873677 - GeckoView Android API 34 (Android 14) r=jgraham,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D198175
2024-01-16 08:21:36 +00:00
Michael Froman
0491783ce3 Bug 1870874 - use expanduser() when comparing extension paths in bootstrap.py r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D196994
2023-12-21 16:31:06 +00:00
Ryan VanderMeulen
e0866e30d7 Bug 1870252 - Pull the JDK 17.0.9+9.1 build when bootstrapping on Windows. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D196587
2023-12-18 01:40:31 +00:00
ahochheiden
e074614f1f Bug 1870175 - Only run check_for_hgrc_state_dir_mismatch() if hg is installed r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D196507
2023-12-15 20:50:52 +00:00
Kagami Sascha Rosylight
d54a820b52 Bug 1870318 - Remove remaining warning about targeting Android on Windows r=nalexander DONTBUILD
The followup after D185162. This is the last mention of the bug 1169873 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D196595
2023-12-15 19:08:45 +00:00
Mike Hommey
b7d63569fc Bug 1868680 - Stop prewarming the ARM AVD. r=geckoview-reviewers,owlish
prewarming the AVDs was done for CI, where AVDs are used only once in
each task using them, and the cost of first use is high. Prewarming
reduces that overhead.

However, the ARM AVD is not used on CI (anymore?), so we don't need
them prewarmed. This unblocks the situation wrt the failure to run
the emulator on CI, while not addressing the underlying issues, so that
CoT keys can be rotated without waiting for the full situation to be
resolved.

Differential Revision: https://phabricator.services.mozilla.com/D195820
2023-12-12 22:15:37 +00:00
ahochheiden
082c434e2e Bug 1842692 - Check if the paths for extensions in the hg config are referencing the current .mozbuild directory r=firefox-build-system-reviewers,sheehan,glandium
Setting `MOZBUILD_STATE_PATH` and/or moving the `state_dir` can cause
problems with installed hg extensions due to stale references in the
mercurial.ini file. Doing this check should allow the user the fix
the problem without having to deciper the confusing errors that
appear as a result.

An environment variable (MACH_IGNORE_HGRC_STATE_DIR_MISMATCH) was
added to ignore this check if for some reason a user intentionally wants
to use extensions installed elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D183210
2023-12-12 22:02:47 +00:00
Joel Maher
009710fe6f Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196124
2023-12-12 17:40:03 +00:00
ahochheiden
94030d06be Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-12-12 03:52:00 +00:00
Andrew Halberstadt
757f0bf16a Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre
These were not caught due to bug 1865672.

Depends on D195431

Differential Revision: https://phabricator.services.mozilla.com/D195432
2023-12-04 14:51:39 +00:00