Commit Graph

11819 Commits

Author SHA1 Message Date
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