Commit Graph

12017 Commits

Author SHA1 Message Date
serge-sans-paille
14a5e3b5ca Bug 1915842 - Remove unused reference to MOZ_HAZARD from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220694
2024-09-05 09:16:14 +00:00
serge-sans-paille
fdc7c7ad65 Bug 1915841 - Remove unused set_config("JS_WITHOUT_NSPR",...) from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220693
2024-09-05 09:16:14 +00:00
serge-sans-paille
cf0d340698 Bug 1915839 - Remove unused reference to MOZILLA_VERSION_U and MOZILLA_SYMBOLVERSION from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220692
2024-09-05 09:16:13 +00:00
serge-sans-paille
28b56acdaf Bug 1915838 - Remove unused reference to VCS_SPARSE_CHECKOUT from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220691
2024-09-05 09:16:13 +00:00
serge-sans-paille
7f91b54319 Bug 1915837 - Remove unused reference to PYTHON3_VERSION from configure r=glandium
Unused since #1755530

Differential Revision: https://phabricator.services.mozilla.com/D220690
2024-09-05 09:16:13 +00:00
serge-sans-paille
e8a7d310c5 Bug 1915836 - Remove unused reference to linux perf_event from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220689
2024-09-05 09:16:12 +00:00
serge-sans-paille
5cbdf876c1 Bug 1915833 - Remove unused define of MOZ_MOZSEARCH_PLUGIN from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220688
2024-09-05 09:16:12 +00:00
serge-sans-paille
e215f21735 Bug 1915832 - Remove unused reference to MOZ_ANDROID_GOOGLE_VR_INCLUDE from configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D220687
2024-09-05 09:16:11 +00:00
serge-sans-paille
46b1ffeb92 Bug 1915578 - Fix libatomic configure check r=glandium
Original patch by Simon McVittie <smcv@debian.org>

Differential Revision: https://phabricator.services.mozilla.com/D220988
2024-09-05 06:06:37 +00:00
Fatih
39333ba7c0 Bug 1816916: Hide onion referers by default r=freddyb,tjr
Differential Revision: https://phabricator.services.mozilla.com/D169919
2024-09-04 15:55:18 +00:00
Noemi Erli
fdd5552b6b Backed out changeset eaddabaa522f (bug 1915571) for causing toolchains bustage CLOSED TREE 2024-09-04 10:19:27 +03:00
Mike Hommey
b63013a227 Bug 1915571 - Move mac and windows clang stage 2 build to cross-compiles. r=firefox-build-system-reviewers,sergesanspaille
By doing so, we don't really need a stage 1 clang for mac and windows
(with the downside that the final PGOed clang becomes the
clang-toolchain artifact on those platforms), and cross-compiling stage
2 is much faster as a cross-compile, leaving only stage 3 to be native.

While here, for the one build type that still does stage 2 and 3 in one
task, we actually prefer taking the llvm-profdata from stage 1, as it
doesn't contain profile instrumentation (it should actually have been
this way since the beginning).

Differential Revision: https://phabricator.services.mozilla.com/D220654
2024-09-04 05:43:03 +00:00
Mike Hommey
62718af062 Bug 1915778 - Clean up the clang toolchain json configs. r=firefox-build-system-reviewers,sergesanspaille
By separating the "use this compiler" configuration from other items,
we avoid redundancies, and at the same time simplify how the aarch64
variants are configured by having the $os_variant.json files only
contain the `target`.

Overall, each build now only uses at most 4 configs:
- one for the compiler it uses
- one for the target (optional when the host is the same as the target)
- one for the patches applied to the clang/llvm source
- one for the build type (stage-1, profile or stage-4-pgo)

And a similar pattern for clang-tidy.

Also remove the setting for ld, which hasn't been used since bug
1799423, and ranlib and ar for builds using clang-cl, as it's not used
either.

Differential Revision: https://phabricator.services.mozilla.com/D220652
2024-09-04 05:43:03 +00:00
Mike Hommey
c20bfbc4a6 Bug 1915778 - Allow paths without .exe on Windows. r=firefox-build-system-reviewers,sergesanspaille
This will be more convenient for the cleanup to come.

Differential Revision: https://phabricator.services.mozilla.com/D220651
2024-09-04 05:43:02 +00:00
Mike Hommey
2ba34672d5 Bug 1914947 - Build Intel mac clang on arm64 workers. r=firefox-build-system-reviewers,sergesanspaille
That's actually much faster.

Differential Revision: https://phabricator.services.mozilla.com/D220531
2024-09-04 05:29:59 +00:00
Mike Hommey
31d5d844eb Bug 1914947 - Add stage1 and profile tasks for macosx64 and macosx64-aarch64. r=firefox-build-system-reviewers,sergesanspaille
This splits the clang build in the necessary steps to get native
profiles for Intel and Arm64 mac, similarly to Linux.

Stage 1s are cross-compiled, and the profile step runs natively.

Differential Revision: https://phabricator.services.mozilla.com/D220530
2024-09-04 05:29:59 +00:00
Mike Hommey
31c8ce0b83 Bug 1894131 - Update builders to rustc 1.80.1. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217335
2024-09-02 23:44:44 +00:00
Tamas Szentpeteri
dec1da68a4 Backed out changeset f970c5107aa7 (bug 1894131) for causing linting vendor failure. CLOSED TREE 2024-09-03 02:37:37 +03:00
Mike Hommey
65aff1772e Bug 1894131 - Update builders to rustc 1.80.1. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217335
2024-09-02 20:57:58 +00:00
Erich Gubler
09a834cae0 Bug 1915609 - build: update web-sys dummy crate's features from upstream 0.3.55 to 0.3.70 r=webgpu-reviewers,glandium,nical
Differential Revision: https://phabricator.services.mozilla.com/D220568
2024-08-30 14:56:35 +00:00
serge-sans-paille
f6c64403f3 Bug 1914278 - Remove obsolete glue between moz.configure and old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219820
2024-08-29 07:42:34 +00:00
serge-sans-paille
c80979206d Bug 1914121 - Remove unused add_old_configure_assignment r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219819
2024-08-29 07:42:33 +00:00
serge-sans-paille
56b7a9d701 Bug 1907180 - Remove obsolete AC_CANONICAL_SYSTEM from old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216219
2024-08-29 07:42:33 +00:00
Tamas Szentpeteri
f22a1bdbed Backed out 2 changesets (bug 1914115, bug 1553850) as requested by Gerard for causing snap canonical builds bustages.
Backed out changeset 375467d198b4 (bug 1914115)
Backed out changeset 7ab954ad623a (bug 1553850)
2024-08-28 21:30:02 +03:00
Julien Cristau
7721f98511 Bug 1914953 - add sccache support in northamerica-northeast1. r=ahal
The service account name doesn't match the buckets, due to length limits
in gcp.

Differential Revision: https://phabricator.services.mozilla.com/D220139
2024-08-28 16:44:54 +00:00
Benjamin VanderSloot
15a52ac6b8 Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-28 15:11:52 +00:00
Kagami Sascha Rosylight
ab708f079e Bug 1913225 - Detect arm64 MSVC r=glandium,firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D219204
2024-08-28 06:31:11 +00:00
John Schanck
a8969ce634 Bug 1911746 - land NSS NSS_3_104_BETA1 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D220342
2024-08-27 23:51:01 +00:00
Iulian Moraru
0c16dbffa5 Backed out 6 changesets (bug 1907326, bug 1873984, bug 1873986, bug 1899969, bug 1873982) for causing multiple wd assertion failures.
Backed out changeset fa6623f6fbd3 (bug 1873982)
Backed out changeset eba7918d1a27 (bug 1873986)
Backed out changeset 6da85e97c413 (bug 1907326)
Backed out changeset 7781c1ae8573 (bug 1899969)
Backed out changeset 111b1d2a8acd (bug 1873984)
Backed out changeset 6f566eb5a71f (bug 1907326)
2024-08-28 02:37:51 +03:00
Benjamin VanderSloot
0f71a3252e Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-27 19:11:34 +00:00
Norisz Fay
1679bdbe56 Backed out 6 changesets (bug 1873986, bug 1907326, bug 1873984, bug 1899969, bug 1873982) for causing mochitest failure on test_https_synth_fetch_from_cached_sw.html
Backed out changeset c21d648be7d8 (bug 1873982)
Backed out changeset 2085dd0f17aa (bug 1873986)
Backed out changeset c16a498708f2 (bug 1907326)
Backed out changeset 710052f24e76 (bug 1899969)
Backed out changeset 49c60fc62f3f (bug 1873984)
Backed out changeset 34d80bc1d5a0 (bug 1907326)
2024-08-27 19:42:06 +03:00
Benjamin VanderSloot
d4c826a7ed Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-27 14:52:08 +00:00
Teodor Tanasoaia
34fb7173c1 Bug 1914434 - Update wgpu to revision cc11260547ae7cc2814888208f244227ed32a1d0. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D220026
2024-08-27 09:57:08 +00:00
Mike Hommey
d69443aaf6 Bug 1915065 - Separate out aarch64 Visual Studio. r=firefox-build-system-reviewers,sergesanspaille
This restores vs2022.yaml to what it used to be before bug 1913701,
avoiding the toolchain churn.

At the same time, avoid generate_yaml creating files with CR-LF endings
when run on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D220208
2024-08-27 08:59:57 +00:00
Stanca Serban
44d0b6c8bd Backed out 6 changesets (bug 1873982, bug 1873984, bug 1907326, bug 1873986, bug 1899969) for causing multiple failures. CLOSED TREE
Backed out changeset 6f62ee42e191 (bug 1873982)
Backed out changeset 49abb24e8d16 (bug 1873986)
Backed out changeset c291a4fdda58 (bug 1907326)
Backed out changeset 9eea8ecac9fd (bug 1899969)
Backed out changeset 520ee18d5bd3 (bug 1873984)
Backed out changeset 72f2e86ed2fe (bug 1907326)
2024-08-27 00:08:08 +03:00
Benjamin VanderSloot
3f0a7fe49c Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Depends on D217979

Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-08-26 18:52:45 +00:00
Kagami Sascha Rosylight
1d2cd54c67 Bug 1913701 - Add HostARM64 MSVC to vs-toolchain r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D219556
2024-08-26 10:16:44 +00:00
Kagami Sascha Rosylight
6bc82eb120 Bug 1913646 - Add win64-aarch64-clang-18 task r=firefox-build-system-reviewers,sergesanspaille
For now this uses Linux x64 profile for PGO as the macosx64-aarch64 task does, because we don't have aarch64 Windows worker now.

Differential Revision: https://phabricator.services.mozilla.com/D219012
2024-08-26 09:56:11 +00:00
Florian Quèze
04b3dd73c0 Bug 1913624 - Remove expired telemetry histograms HTTP_NET_VS_CACHE_*_V2, r=chutten,necko-reviewers,TravisLong,kershaw.
Depends on D219450

Differential Revision: https://phabricator.services.mozilla.com/D219451
2024-08-23 16:27:16 +00:00
Alexandre Lissy
a85b25946f Bug 1914115 - Ensure UPLOAD_PATH is set before using it for profile logs r=perftest-reviewers,fbilt,firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D219722
2024-08-22 16:49:01 +00:00
Jonathan Kew
cad7f0e477 Bug 727831 - Add a perf-reftest for resizing a textarea with large contents. r=layout-reviewers,perftest-reviewers,emilio,sparky
In my local build, this reports timings of around 800ms using current mozilla-central,
and drops to around 80ms with the patch applied.

Differential Revision: https://phabricator.services.mozilla.com/D219749
2024-08-22 12:55:40 +00:00
serge-sans-paille
c3579f8499 Bug 1912973 - Move MOZ_APP_MAXVERSION from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219104
2024-08-21 13:01:49 +00:00
Iulian Moraru
c6f5d22f1c Backed out changeset 9e721ec9d3bf (bug 1912973) for causing android build bustages related to MOZ_APP_MAXVERSION. CLOSED TREE 2024-08-20 14:13:41 +03:00
serge-sans-paille
312784291e Bug 1912973 - Move MOZ_APP_MAXVERSION from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219104
2024-08-20 09:32:56 +00:00
Alexandre Lissy
a67a155f0d Bug 1553850 - Enable use of sandbox during profiling step r=perftest-reviewers,afinder,glandium
Differential Revision: https://phabricator.services.mozilla.com/D218308
2024-08-20 08:15:40 +00:00
Tooru Fujisawa
2a3fbd882d Bug 1913656 - Do not set default value for MOZ_OPTIMIZE_FLAGS environment variable to make the default state falsy. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D219412
2024-08-19 19:53:49 +00:00
serge-sans-paille
4a0d1f8625 Bug 1907056 - Move ACCEPTED_MAR_CHANNEL_IDS from old-configure to moz.configure r=glandium
As a side effect, also move MAR_CHANNEL_ID.

Differential Revision: https://phabricator.services.mozilla.com/D216163
2024-08-18 07:50:10 +00:00
Norisz Fay
656046e73a Backed out 4 changesets (bug 1912973, bug 1907053, bug 1907031, bug 1907056) for causing android bustage CLOSED TREE
Backed out changeset ef6c3a10868c (bug 1912973)
Backed out changeset 742dcfec2f86 (bug 1907056)
Backed out changeset 2d576d9875c0 (bug 1907053)
Backed out changeset bb08fdac8cfd (bug 1907031)
2024-08-17 12:07:06 +03:00
serge-sans-paille
737d7f930b Bug 1912973 - Move MOZ_APP_MAXVERSION from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219104
2024-08-17 08:10:00 +00:00
serge-sans-paille
20161c27fd Bug 1907056 - Move ACCEPTED_MAR_CHANNEL_IDS from old-configure to moz.configure r=glandium
As a side effect, also move MAR_CHANNEL_ID.

Differential Revision: https://phabricator.services.mozilla.com/D216163
2024-08-17 08:10:00 +00:00
Dana Keeler
845c74041d Bug 1913015 - telemetry to validate vetted government CAs proposal r=jschanck,Gijs
Some governments have PKI with roots that do not meet the requirements to be in
Mozilla's Root CA Program but still generally follow industry practices (and
are trusted by other root CA programs). Many users need to visit sites with
certificates issued by these roots. Currently, they either must manually
install these roots or click through certificate error pages. We may have an
opportunity to improve this experience by detecting sites affected by this and
giving users the option to trust the relevant roots.

This patch extends the telemetry we collect on certificate error pages to
include an indication of whether or not trusting the India CCA roots would
(probably) turn an unknown issuer error into a successful connection.

Differential Revision: https://phabricator.services.mozilla.com/D219116
2024-08-16 17:07:35 +00:00
Sandor Molnar
0762dc542a Backed out 4 changesets (bug 1912973, bug 1907056, bug 1907053, bug 1907031) for causing AB build bustages. CLOSED TREE
Backed out changeset 761ecb6611e8 (bug 1912973)
Backed out changeset 902f0b5cce41 (bug 1907056)
Backed out changeset bafa1244878a (bug 1907053)
Backed out changeset e3ebc30e2b57 (bug 1907031)
2024-08-16 18:09:53 +03:00
serge-sans-paille
5f88469aca Bug 1912973 - Move MOZ_APP_MAXVERSION from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D219104
2024-08-16 14:24:44 +00:00
serge-sans-paille
f9a4bcdb58 Bug 1907056 - Move ACCEPTED_MAR_CHANNEL_IDS from old-configure to moz.configure r=glandium
As a side effect, also move MAR_CHANNEL_ID.

Differential Revision: https://phabricator.services.mozilla.com/D216163
2024-08-16 14:24:44 +00:00
serge-sans-paille
95a7613454 Bug 1907030 - Move some old_configure options to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216160
2024-08-15 23:27:17 +00:00
serge-sans-paille
5814be30be Bug 1906828 - Move HOST_CC and HOST_CXX from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216099
2024-08-15 09:40:00 +00:00
serge-sans-paille
09cc177dea Bug 1907067 - Remove AC_PROG_CC, AC_PROG_CXX and MOZ_CROSS_COMPILER from old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216164
2024-08-15 09:39:59 +00:00
Kagami Sascha Rosylight
65aaa32d0e Bug 1913154 - Add aarch64 field for host_dir r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219202
2024-08-15 07:53:01 +00:00
serge-sans-paille
8f0984572a Bug 1906824 - Move MOZ_OPTIMIZE_FLAGS from old-configure to moz.configure r=glandium
As js has different flags compared to the remaining parts of the
codebase, set a specific variable (namely MOZ_JS_OPTIMIZE_FLAGS) and use
it instead of MOZ_OPTIMIZE_FLAGS using a specific hook in
python/mozbuild/mozbuild/frontend/context.py

Also:

- harmonize moz_optimize_flags type to always return a list.
- moz_optimize now either returns "1" or None (no use case distinguishes
  between returning 1 or 2)

Differential Revision: https://phabricator.services.mozilla.com/D216098
2024-08-14 21:14:42 +00:00
Cosmin Sabou
2ddad4db70 Backed out changeset d5d4782604fd (bug 1906824) for causing bustages on BigIntType. CLOSED TREE 2024-08-14 01:30:14 +03:00
serge-sans-paille
56ef5fe6c9 Bug 1906824 - Move MOZ_OPTIMIZE_FLAGS from old-configure to moz.configure r=glandium
As js has different flags compared to the remaining parts of the
codebase, set a specific variable (namely MOZ_JS_OPTIMIZE_FLAGS) and use
it instead of MOZ_OPTIMIZE_FLAGS using a specific hook in
python/mozbuild/mozbuild/frontend/context.py

Also:

- harmonize moz_optimize_flags type to always return a list.
- moz_optimize now either returns "1" or None (no use case distinguishes
  between returning 1 or 2)

Differential Revision: https://phabricator.services.mozilla.com/D216098
2024-08-13 22:04:33 +00:00
Kagami Sascha Rosylight
b2b33c7139 Bug 1912641 - Give aarch64-pc-windows-msvc for aarch64 Windows r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D219021
2024-08-13 16:31:53 +00:00
Jesse Schwartzentruber
e3008fe2be Bug 1906897 - Add AFL++ builds for fuzzing debug and fuzzing coverage r=taskgraph-reviewers,bhearsum,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D217647
2024-08-13 14:32:35 +00:00
Jan-Erik Rediger
bb903b4fba Bug 1911767 - Update to Glean v60.5.0 r=chutten,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,ahal
Differential Revision: https://phabricator.services.mozilla.com/D218649
2024-08-08 14:58:04 +00:00
Valentin Gosu
10a45dcf15 Bug 1901507 - Upgrade ohttp crate to latest version (0.5.1) r=necko-reviewers,glandium,supply-chain-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D213526
2024-08-08 12:52:30 +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
Jim Blandy
682adc2e3b Bug 1910150: Update windows-rs to 0.58. r=glandium,supply-chain-reviewers
Update the `windows` Microsoft Windows binding crate to 0.58.

- Update `taskcluster/kinds/fetch/toolchains.yml` to request version
  0.58 of the `windows` crate.
- Update `build/rust/windows/Cargo.toml` to present itself as 0.58.
- Vendor the following new crates into `third_party/rust`:
    - windows-core
    - windows-implement
    - windows-interface
    - windows-result
    - windows-strings
- Update `supply-chain/imports.lock` as necessary.

Differential Revision: https://phabricator.services.mozilla.com/D218694
2024-08-07 16:00:47 +00: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
Mike Hommey
4cbd3256d4 Bug 1911708 - Add missing serde feature to hex that gets pulled in via gkrust-gtest. r=firefox-build-system-reviewers,sergesanspaille
Also enable the default feature for indexmap.

Differential Revision: https://phabricator.services.mozilla.com/D218609
2024-08-07 01:38:17 +00:00
Mike Hommey
9dc561524d Bug 1910056 - Change the windows-rs hack to be more future proof. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D218009
2024-08-07 00:33:44 +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
Iulian Moraru
97a86f9e91 Backed out 4 changesets (bug 1743983) for causing multiple failures. CLOSED TREE
Backed out changeset ace3ac2e2e26 (bug 1743983)
Backed out changeset 5da5022a4f08 (bug 1743983)
Backed out changeset 7c90923fce11 (bug 1743983)
Backed out changeset b476928598ab (bug 1743983)
2024-08-06 01:49:21 +03:00
Alex Franchuk
da48c8365f Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-08-05 19:59:06 +00:00
serge-sans-paille
28c2dc53b1 Bug 1906817 - Move MOZ_CONFIGURE_OPTIMIZE_FLAGS check from old-configure to moz.configure r=glandium
This only checks MOZ_CONFIGURE_OPTIMIZE_FLAGS while previous version was
also checking -O2 / -O3 flags, which is probably not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D216097
2024-08-02 06:59:32 +00:00
serge-sans-paille
499a5548e9 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-08-01 15:12:50 +00:00
serge-sans-paille
0ee36a531c Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
As a side effect, defaults to empty list for those flags when not set.

Differential Revision: https://phabricator.services.mozilla.com/D216096
2024-08-01 15:12:49 +00:00
Mike Hommey
7c72645ded Bug 1910513 - Update tokio to 1.39.2. r=nika,supply-chain-reviewers
This also update mio to 1.0.1 and tokio-macros to 2.4.0

Differential Revision: https://phabricator.services.mozilla.com/D218157
2024-07-31 02:53:18 +00:00
Mike Hommey
24202c4718 Bug 1910513 - Update tempfile to 3.10.1 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218155
2024-07-31 02:53:17 +00:00
Mike Hommey
da24844079 Bug 1910513 - Update parking_lot_core to 0.9.10 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218153
2024-07-31 02:53:16 +00:00
Mike Hommey
7a56438182 Bug 1910513 - Update num-cpus to 1.16.0 r=supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218151
2024-07-31 02:53:15 +00:00
Mike Hommey
b25a90a8e0 Bug 1910513 - Patch hermit-abi to an empty crate. r=nika
Like the redox_* crates, it's a crate to support a target we don't
support. This saves us from having to audit updates to the crate.

Differential Revision: https://phabricator.services.mozilla.com/D218150
2024-07-31 02:53:15 +00:00
Mike Hommey
41a5fbcea6 Bug 1910552 - Update mapped_hyph to current master. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D218044
2024-07-30 19:16:27 +00:00
Stanca Serban
8b55feba4b Backed out 6 changesets (bug 1873982, bug 1899969, bug 1873984, bug 1873986, bug 1907326) for causing multiple failures. CLOSED TREE
Backed out changeset 1fe7251ea3ad (bug 1873982)
Backed out changeset b890ee1a857c (bug 1873986)
Backed out changeset 374fe982e085 (bug 1907326)
Backed out changeset 2a8b3a05a912 (bug 1899969)
Backed out changeset ca3864e4b51b (bug 1873984)
Backed out changeset 45280ba322e5 (bug 1907326)
2024-07-30 15:41:05 +03:00
Leander Schwarz
30daba5e8e Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-07-30 11:53:53 +00:00
Mathew Hodson
506c5b6d3f Bug 1908980 - Only add mingw flags when building for Windows r=sergesanspaille
This was causing Fenix builds to fail on Windows hosts.
Fixes "ld.lld: error: unknown argument '--no-insert-timestamp"

Differential Revision: https://phabricator.services.mozilla.com/D217904
2024-07-30 08:54:14 +00:00
Mike Hommey
85d787b761 Bug 1910523 - Update audioipc to c200b1e. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D218032
2024-07-30 07:21:31 +00:00
Iulian Moraru
2d143372b8 Backed out 2 changesets (bug 1873982, bug 1873986) for causing mochitest-plain failures on test_CrossSiteXHR.html. CLOSED TREE
Backed out changeset 407b6a12da91 (bug 1873982)
Backed out changeset ffefd3a5891d (bug 1873986)
2024-07-29 17:06:33 +03:00
Leander Schwarz
79f81bcfbb Bug 1873986 - Fix dom/tests/mochitest/fetch/ when by blocking 3pc by default in TCP. r=bvandersloot,necko-reviewers,tschuster,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D215353
2024-07-29 12:58:20 +00:00
Otto Länd
2c61e59a48 Bug 1905842: apply code formatting via Lando
# ignore-this-changeset
2024-07-28 06:52:26 +00:00
Nico Grunbaum
ec8644fd43 Bug 1905842 - add dotprod and SVE CPU config;r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215667
2024-07-28 06:49:12 +00:00
Mike Hommey
a9e0776166 Bug 1909574 - Refresh rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217772
2024-07-26 19:42:26 +00:00
Mike Hommey
3b975ef842 Bug 1909834 - Disable unused argument warning for clang-plugin tests. r=firefox-build-system-reviewers,ahochheiden
clang trunk stopped claiming -c when using -fsyntax-only, and now emits
an "argument unused during compilation" warning, which -Werror turns
into an error.

Removing the -c flag is tricky, but disabling the unused argument
warning is trivial.

Differential Revision: https://phabricator.services.mozilla.com/D217764
2024-07-26 19:41:45 +00:00
Tamas Szentpeteri
0afea6cd29 Backed out changeset e976ff886caa (bug 1906897) for causing python failures related to ccov builds. CLOSED TREE 2024-07-26 19:43:15 +03:00
Jesse Schwartzentruber
380fac3a6b Bug 1906897 - Add AFL++ builds for fuzzing debug and fuzzing coverage r=taskgraph-reviewers,bhearsum,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D217647
2024-07-26 13:55:37 +00:00
Mathew Hodson
d4df376b69 Bug 1908274 - Move MOZ_DEBUG_LDFLAGS to flags.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D217670
2024-07-26 08:58:27 +00:00
Nicolas Guichard
3d503d5331 Bug 1583635 - Update MozsearchIndexer to export macro expansions. r=asuth
This updates the mozsearch clang plugin from the GitHub repository to
add support for macros.

This also includes changes that happened since the last sync and were
not propagated to mozilla-central yet.

Differential Revision: https://phabricator.services.mozilla.com/D217752
2024-07-25 20:10:20 +00:00
Iulian Moraru
79f37e7fcd Backed out 2 changesets (bug 1906804, bug 1882553) for causing artifact build bustages. CLOSED TREE
Backed out changeset 47260bf5693c (bug 1882553)
Backed out changeset 16b093f86271 (bug 1906804)
2024-07-24 10:07:42 +03:00
serge-sans-paille
b20b4b4303 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-24 05:35:34 +00:00
serge-sans-paille
af5aa29220 Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216096
2024-07-24 05:35:33 +00:00
Mike Hommey
021390ecfc Bug 1909380 - Don't set NSPR_LIBS multiple times with --with-system-nspr. r=firefox-build-system-reviewers,ahochheiden
NSPR_LIBS is set via pkg_check_modules("NSPR"...) in the
--with-system-nspr case, which conflicts with the other way we're
setting it.

Differential Revision: https://phabricator.services.mozilla.com/D217354
2024-07-23 22:07:33 +00:00
Cristina Horotan
c3b1e4aaa2 Backed out 2 changesets (bug 1906804, bug 1882553) for causing build bustages
Backed out changeset 1c8040b6090f (bug 1882553)
Backed out changeset f9fc828b8987 (bug 1906804)
2024-07-23 09:49:15 +03:00
Alexandre Lissy
91fc17b0a3 Bug 1908709 - Update PGO sandbox disabling with Utility and remove NPAPI r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216985
2024-07-23 06:09:53 +00:00
serge-sans-paille
b647e2ff29 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-23 05:47:55 +00:00
serge-sans-paille
9cda650b40 Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216096
2024-07-23 05:47:55 +00:00
serge-sans-paille
fb108919fc Bug 1906803 - Move wasi specific cxxflags from old-configure to moz.build r=glandium
Don't limit them to js, as a simplification to the build process.

Differential Revision: https://phabricator.services.mozilla.com/D216095
2024-07-23 05:47:54 +00:00
Mike Hommey
1c798c12cb Bug 1907258 - Check that flags are not "empty" before splitting them. r=firefox-build-system-reviewers,ahochheiden
The various *FLAGS variables are defined as nargs=1, which guarantees
that if they are set they are going to have a value. They also come with
a default value of "", which works just fine in the default case.

Things change, though, when the variable is explicitly set to an empty
value, which then makes it a NegativeOptionValue, which is different
from the default and needs to be handled.

Differential Revision: https://phabricator.services.mozilla.com/D217328
2024-07-23 04:33:49 +00:00
serge-sans-paille
0f9fb873ff Bug 1904589 - Remove MOZ_PGO_OPTIMIZE_FLAGS. r=glandium
Instead, position MOZ_OPTIMIZE_FLAGS to -O3 under PGO on Linux.

This creates a dependency on PGO from toolchain.configure, break it by
splitting moz_optimize in two functions, one for the optimization status
and one for the optimization flags.

Differential Revision: https://phabricator.services.mozilla.com/D214843
2024-07-19 01:22:00 +00:00
serge-sans-paille
bdadc273bc Bug 1906798 - Move -arch:sse2 enforcement from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216093
2024-07-17 23:59:54 +00:00
serge-sans-paille
6d25ac376b Bug 1906797 - Move _AMD64_ and the likes from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216092
2024-07-17 23:59:53 +00:00
serge-sans-paille
d97a16f5eb Bug 1905105 - Move LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215125
2024-07-17 23:59:53 +00:00
serge-sans-paille
a69198bff2 Bug 1906659 - Move js shell configuration from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215940
2024-07-17 23:59:52 +00:00
Mike Hommey
ca06d39b2a Bug 1906640 - MOZ_DEBUG_LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215938
2024-07-17 23:45:26 +00:00
serge-sans-paille
e84f42f0da Bug 1905600 - begin migration of CFLAGS, CXXFLAGS and LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215378
2024-07-17 23:45:25 +00:00
Mike Hommey
215a704713 Bug 1907753 - Fix clang plugin after removal of StringRef::equals on clang trunk. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D216632
2024-07-17 19:56:19 +00:00
John Schanck
d2f290b2ba Bug 1906193 - land NSS 525c5044cc9e UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D216835
2024-07-17 18:19:14 +00:00
Sylvestre Ledru
45030f6970 Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
This new version of clang 17 also slightly changed the formatting.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
serge-sans-paille
edf83501d1 Bug 1906605 - Move extra windows flag configuration from old.configure to moz.configure r=glandium
Dropping HAVE__MSIZE as it is no longer used since #1062473

Differential Revision: https://phabricator.services.mozilla.com/D215937
2024-07-17 00:19:04 +00:00
Tamas Szentpeteri
8cc793e0b0 Backed out changeset aeb0b38cc281 (bug 1906605) for causing MinGW bustages on ShellHeaderOnlyUtils.h. CLOSED TREE 2024-07-17 02:49:36 +03:00
serge-sans-paille
a8d0467be8 Bug 1906605 - Move extra windows flag configuration from old.configure to moz.configure r=glandium
Dropping HAVE__MSIZE as it is no longer used since #1062473

Differential Revision: https://phabricator.services.mozilla.com/D215937
2024-07-16 22:14:36 +00:00
serge-sans-paille
47dffea6d9 Bug 1906599 - Move MOZ_OPTIMIZE_LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215936
2024-07-16 22:14:35 +00:00
serge-sans-paille
bd5f7c69a9 Bug 1906596 - Move WIN32_CONSOLE_EXE_LDFLAGS and WIN32_GUI_EXE_LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215935
2024-07-16 22:14:35 +00:00
serge-sans-paille
68a1dd3f3c Bug 1903655 - Move special win32 checks from old-configure to moz.configure r=ahochheiden
Remove some redundant AC_TRY_COMPILE in the process, as we already
perform compile checks in moz.configure.

Differential Revision: https://phabricator.services.mozilla.com/D214326
2024-07-16 22:14:34 +00:00
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
Mathew Hodson
5efb92a2a1 Bug 1906524 - Define asm flags in one place r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215855
2024-07-11 14:57:50 +00:00
Mathew Hodson
cf97e45040 Bug 1906515 - Correctly set HOST_CFLAGS in config r=glandium
Since host_cflags was defined twice, the version for C++ sources
was being used for both HOST_CXXFLAGS and HOST_CFLAGS.

Differential Revision: https://phabricator.services.mozilla.com/D215852
2024-07-11 14:57:03 +00:00
ahochheiden
106baffe33 Bug 1894154 - Enable telemetry in CI r=firefox-build-system-reviewers,glandium
Also collect boolean flag `moz_automation` to allow filtering between
CI/Automation telemetry and the rest.

Differential Revision: https://phabricator.services.mozilla.com/D209272
2024-07-09 19:57:45 +00:00
Ryan VanderMeulen
763fdf5241 Bug 1906909 - Remove stale comment referencing Aurora from init.configure. r=firefox-build-system-reviewers,ahochheiden DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216065
2024-07-09 17:22:19 +00:00
Henri Sivonen
2df8575a28 Bug 1889536 - Vendor idna 1.0.2 and icu_normalizer by updating the url crate. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206578
2024-07-09 11:26:41 +00:00
Tamas Szentpeteri
18d527a83a Backed out 2 changesets (bug 1889536) for causing bpnu bustages on nsIDNService.cpp. CLOSED TREE
Backed out changeset 87d0e483dd8c (bug 1889536)
Backed out changeset c3d6429d8a59 (bug 1889536)
2024-07-09 14:08:25 +03:00
Henri Sivonen
ce58d7f51e Bug 1889536 - Vendor idna 1.0.2 and icu_normalizer by updating the url crate. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206578
2024-07-09 09:50:37 +00:00
Greg Stoll
6ba11a66b8 Bug 1901197: do synchronous Content Analysis for clipboard operations on a background thread r=dlp-reviewers,ipc-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D215457
2024-07-04 01:24:53 +00:00
serge-sans-paille
817fad27f9 Bug 1905595 - Move HOST_CPPFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215376
2024-07-03 19:50:07 +00:00
serge-sans-paille
4843204b87 Bug 1905594 - Remove unused host_asflags r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215375
2024-07-03 19:50:07 +00:00
serge-sans-paille
31c500771f Bug 1905592 - Move ASFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215374
2024-07-03 19:50:06 +00:00
serge-sans-paille
b469560c2f Bug 1905110 - Move CPPFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215135
2024-07-03 19:50:06 +00:00
serge-sans-paille
c95a2597fc Bug 1904873 - Move HOST_LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214988
2024-07-03 19:50:06 +00:00
serge-sans-paille
7e492ed44a Bug 1904871 - Move HOST_CXXFLAGS from old-configure to moz.configure r=glandium
Also harmonize HOST_CFLAGS and HOST_CXXFLAGS behavior.

Differential Revision: https://phabricator.services.mozilla.com/D214987
2024-07-03 19:50:05 +00:00
serge-sans-paille
4be9c3acc0 Bug 1904869 - Move HOST_CFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214986
2024-07-03 19:50:05 +00:00
serge-sans-paille
53a91b0add Bug 1904612 - Move HOST_OPTIMIZE_FLAGS from old-configure to moz.configure r=glandium
With two changes:
- it no longer honors HOST_OPTIMIZE_FLAGS environment variable, which it
  previously did but without advertising it
- the value is now based on the compiler type and not the target

Differential Revision: https://phabricator.services.mozilla.com/D214845
2024-07-03 12:17:20 +00:00
serge-sans-paille
a85aef1add Bug 1904618 - Move mingw-gcc check from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214847
2024-07-03 12:17:19 +00:00
serge-sans-paille
a7c69242d8 Bug 1904614 - Move -mieee checks from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214846
2024-07-03 12:17:18 +00:00
Paul Bone
a642ee0f85 Bug 1905805 - Let PHC ride the trains r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215465
2024-07-03 06:48:42 +00:00
John Schanck
35c4669230 Bug 1901768 - land NSS fcb5ac06ac36 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D215239
2024-07-02 17:45:08 +00:00
serge-sans-paille
4e14f3bba4 Bug 1905373 - Do not attempt to use confdefs.pytmp if it wasn't created r=glandium
If no AC_DEFINE are used, then confdefs.pytmp is never created, which
leads to bug 1905373.

This bug is a good sign, it means we're no longer using a lot of
autoconf stuff!

Differential Revision: https://phabricator.services.mozilla.com/D215240
2024-07-02 06:41:25 +00:00
serge-sans-paille
4b968b63aa Bug 1903591 - Move js-confdefs / mozilla-config include from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214280
2024-06-29 21:56:01 +00:00
Cristian Tuns
937b60b9bd Backed out changeset 26ecf87ed86c (bug 1903591) for causing build bustages with win64_armasm.obj CLOSED TREE 2024-06-28 20:23:12 -04:00