Commit Graph

163 Commits

Author SHA1 Message Date
Mike Hommey
8d8376cce5 Bug 1927983 - Clean-up in-tree mozconfigs. r=firefox-build-system-reviewers,geckoview-reviewers,sergesanspaille,m_kato
-gline-tables-only is better passed to --enable-debug or
--enable-debug-symbols than via abuse of --enable-optimize.

--enable-optimize was being passed -O2 because passing
-gline-tables-only would have removed optimizations. This has the side
effect of changing the optimization level on macOS, though, so there
we keep the override.

--disable-debug is the default, remove it.
--enable-project=browser is the default, remove it.
--enable-optimize is the default, remove it.
--enable-debug-symbols is the default, remove it.
--disable-sandbox is the default on tsan builds, remove it.
--enable-optimize="-O2 -g" is, essentially, the default, remove it.
--with-android-min-sdk=21 is the default, remove it.

X11 builds only have the X11 headers, so technically speaking the
cairo-gtk3 toolkit is fine because it does the right fallback, but
using cairo-gtk3-x11-only is more explicit and would avoid surprises.

MOZ_DEBUG_SYMBOLS has been a no-op for essentially forever.

Differential Revision: https://phabricator.services.mozilla.com/D227311
2024-10-31 23:39:04 +00:00
serge-sans-paille
c7d66816f8 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-18 14:44:40 +00:00
Iulian Moraru
5944e49dc4 Backed out 3 changesets (bug 1900540, bug 1896414) for causing Gtest failures.
Backed out changeset b1e69d42bb91 (bug 1896414)
Backed out changeset 2740e0cb1ac8 (bug 1896414)
Backed out changeset 073d686a1233 (bug 1900540)
2024-06-11 22:40:58 +03:00
serge-sans-paille
b7e36e86e2 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-11 06:38:28 +00:00
Mike Hommey
ab92757f36 Bug 1880941 - Remove build/win*/mozconfig.vs*. r=firefox-build-system-reviewers,sergesanspaille
They don't do anything useful anymore.

Differential Revision: https://phabricator.services.mozilla.com/D202193
2024-02-21 22:18:11 +00:00
Mike Hommey
c7fe957839 Bug 679359 - Autodetect WIN32_REDIST_DIR. r=firefox-build-system-reviewers,sergesanspaille,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D202191
2024-02-21 22:18:10 +00:00
Mike Hommey
6f2b9826af Bug 1880207 - Remove parts of Windows mozconfigs redundant with configure defaults. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D201792
2024-02-21 00:38:31 +00:00
Iulian Moraru
89778a1b12 Backed out changeset 66aeec0a8589 (bug 1880207) for causing spidermonkey build bustages. CLOSED TREE 2024-02-15 10:52:28 +02:00
Mike Hommey
e0f3635dd2 Bug 1880207 - Remove parts of Windows mozconfigs redundant with configure defaults. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D201792
2024-02-15 08:04:35 +00:00
serge-sans-paille
f7255a7edc Bug 1606191 - Remove hand-written Windows orderfile r=glandium
Since 1839832 we generate an equivalent file based on PGO data
automatically.

Differential Revision: https://phabricator.services.mozilla.com/D195848
2023-12-19 14:03:13 +00:00
Sergey Galich
1b10d39234 Bug 1862410 - Removing unused LoginReputation service and updating link to Chromium's safe browsing protobuf r=dimi,webdriver-reviewers,perftest-reviewers,devtools-reviewers,geckoview-reviewers,jonalmeida,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192464
2023-11-06 19:13:09 +00:00
Nicolas B. Pierron
1b29435e30 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-10-04 15:18:18 +00:00
Narcis Beleuzu
11211aa615 Backed out 23 changesets (bug 1839396) for build bustages. CLOSED TREE
Backed out changeset 56120ceb75ff (bug 1839396)
Backed out changeset fda742ae7ee5 (bug 1839396)
Backed out changeset ce61313809e0 (bug 1839396)
Backed out changeset be350b81fd07 (bug 1839396)
Backed out changeset 2183db89bce5 (bug 1839396)
Backed out changeset 6cfdd918f75a (bug 1839396)
Backed out changeset d7b35eb0d658 (bug 1839396)
Backed out changeset f26d1c50e4f8 (bug 1839396)
Backed out changeset 8c2e0c571d4f (bug 1839396)
Backed out changeset 3058b6a69de0 (bug 1839396)
Backed out changeset f305dd0dce20 (bug 1839396)
Backed out changeset 692d81bb7fb9 (bug 1839396)
Backed out changeset c5edf7230719 (bug 1839396)
Backed out changeset 76440b118006 (bug 1839396)
Backed out changeset df1993578f04 (bug 1839396)
Backed out changeset 69d88b2af956 (bug 1839396)
Backed out changeset 7aaf1a7c07ee (bug 1839396)
Backed out changeset f4f49f9e3a7b (bug 1839396)
Backed out changeset 744152a49f46 (bug 1839396)
Backed out changeset 43da99b16886 (bug 1839396)
Backed out changeset 129aeb743d8e (bug 1839396)
Backed out changeset e6be42b646c4 (bug 1839396)
Backed out changeset fd488124e249 (bug 1839396)
2023-09-29 14:19:37 +03:00
Nicolas B. Pierron
9fb682d3f7 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-29 10:42:55 +00:00
Iulian Moraru
98e5cc913d Backed out 22 changesets (bug 1839396) for causing multiple spidermonkey bustages and jittest failures. CLOSED TREE
Backed out changeset c17523ff7eb5 (bug 1839396)
Backed out changeset 771c47934e72 (bug 1839396)
Backed out changeset d219a4366950 (bug 1839396)
Backed out changeset f1accceff8b8 (bug 1839396)
Backed out changeset 1dd3b4a4da66 (bug 1839396)
Backed out changeset 8645391a6359 (bug 1839396)
Backed out changeset 03082f8db52c (bug 1839396)
Backed out changeset 93a56d4cd58f (bug 1839396)
Backed out changeset 96be1bbf8fff (bug 1839396)
Backed out changeset b0a898413a0f (bug 1839396)
Backed out changeset b0dc61dbe899 (bug 1839396)
Backed out changeset d89ee847ad56 (bug 1839396)
Backed out changeset 42f370321925 (bug 1839396)
Backed out changeset 0321a4a743de (bug 1839396)
Backed out changeset d3f56d11a4b4 (bug 1839396)
Backed out changeset c193770e3745 (bug 1839396)
Backed out changeset d68820286c44 (bug 1839396)
Backed out changeset f10974287494 (bug 1839396)
Backed out changeset 6bbf058933c5 (bug 1839396)
Backed out changeset 101beccd6098 (bug 1839396)
Backed out changeset 030fc635d134 (bug 1839396)
Backed out changeset 89e13efa6b37 (bug 1839396)
2023-09-20 20:58:00 +03:00
Nicolas B. Pierron
b47a865543 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-20 17:00:09 +00:00
Cosmin Sabou
70df8513eb Backed out 22 changesets (bug 1839396) for causing build bustages on js/Printer.h. CLOSED TREE
Backed out changeset 438a7580a804 (bug 1839396)
Backed out changeset 0e43037688b7 (bug 1839396)
Backed out changeset 05ffcc50ddb2 (bug 1839396)
Backed out changeset 3db0e8cc147f (bug 1839396)
Backed out changeset 92310695d5cf (bug 1839396)
Backed out changeset 95880ae2420c (bug 1839396)
Backed out changeset 8bd5a4df0d37 (bug 1839396)
Backed out changeset 9cf77f46cf5e (bug 1839396)
Backed out changeset 6ae1dde24527 (bug 1839396)
Backed out changeset ffa0fc565bbf (bug 1839396)
Backed out changeset ac5d44621417 (bug 1839396)
Backed out changeset f1f71378d0a0 (bug 1839396)
Backed out changeset ac986f1fee8a (bug 1839396)
Backed out changeset f54b604c0c41 (bug 1839396)
Backed out changeset 64a0729cfa91 (bug 1839396)
Backed out changeset d06c9fc06b6e (bug 1839396)
Backed out changeset 861cd467ad0d (bug 1839396)
Backed out changeset 5e0270d189f5 (bug 1839396)
Backed out changeset 00b288e75acf (bug 1839396)
Backed out changeset 21e7991fe154 (bug 1839396)
Backed out changeset 0f468ad1a4d1 (bug 1839396)
Backed out changeset 91937beca944 (bug 1839396)
2023-09-15 17:28:32 +03:00
Nicolas B. Pierron
3acdc5af2f Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-15 13:33:41 +00:00
Henri Sivonen
2ea4ba1cf2 Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-09-15 07:53:16 +00:00
Narcis Beleuzu
b55d98b00f Backed out 21 changesets (bug 1839396) for bustages on Printer.h . CLOSED TREE
Backed out changeset c2c0876384ea (bug 1839396)
Backed out changeset 7b00061ff1d0 (bug 1839396)
Backed out changeset 560d36ce1c94 (bug 1839396)
Backed out changeset 9c97403ef422 (bug 1839396)
Backed out changeset a4f770f763f0 (bug 1839396)
Backed out changeset 326d5dabcc77 (bug 1839396)
Backed out changeset 24a2da10bd17 (bug 1839396)
Backed out changeset 45bf93263df4 (bug 1839396)
Backed out changeset 7cdbc7725383 (bug 1839396)
Backed out changeset ff43d8997410 (bug 1839396)
Backed out changeset 14d35aab82ba (bug 1839396)
Backed out changeset 1e0ae94927c1 (bug 1839396)
Backed out changeset cdbd5c0aa968 (bug 1839396)
Backed out changeset 5879c10cab2a (bug 1839396)
Backed out changeset 81ade27ceb03 (bug 1839396)
Backed out changeset e881ed1205c3 (bug 1839396)
Backed out changeset 1c777cc01b84 (bug 1839396)
Backed out changeset e078a7f110b2 (bug 1839396)
Backed out changeset c8918d4de8ac (bug 1839396)
Backed out changeset 436a663a486d (bug 1839396)
Backed out changeset 8c6bea3ac605 (bug 1839396)
2023-09-14 15:51:30 +03:00
Nicolas B. Pierron
da63680af6 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-14 11:41:04 +00:00
Norisz Fay
c5e74dfe84 Backed out changeset 4a4d5e64aec5 (bug 1846178) for causing mochitest failures on test_script_loader_js_cache.html/cache_module.html CLOSED TREE 2023-08-23 11:19:39 +03:00
Henri Sivonen
acc51e7036 Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-08-23 07:11:47 +00:00
renevietnam29@gmail.com
c0f7841e56 Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D184620
2023-08-14 13:52:35 +00:00
Masatoshi Kimura
cba55b285f Bug 1842497 - Unship all Universal CRT DLLs. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183099
2023-07-15 12:29:51 +00:00
Gabriele Svelto
4b039f20f2 Bug 1776197 - Remove the old IPC channel used for retrieving annotations and all related machinery r=geckoview-reviewers,afranchuk,owlish
Depends on D173699

Differential Revision: https://phabricator.services.mozilla.com/D173700
2023-06-07 12:34:31 +00:00
Mike Hommey
c179c1f5c7 Bug 1832467 - Switch builds to VS 2019. r=firefox-build-system-reviewers,andi
While here, we switch to using an alias to make such changes easier in
the future. This will also ensure that CI builds and bootstrap use the
same one.

Differential Revision: https://phabricator.services.mozilla.com/D177717
2023-05-11 21:46:43 +00:00
Mike Hommey
3976af8e92 Bug 1718171 - Add the clang runtime directory to LIB during configure. r=firefox-build-system-reviewers,andi
We currently do so from mozconfigs, but that means this doesn't happen
for local builds.

Differential Revision: https://phabricator.services.mozilla.com/D174064
2023-04-05 00:16:52 +00:00
Nicolas Chevobbe
a1645740cc Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-21 17:27:48 +00:00
Marian-Vasile Laza
1c28d89a7e Backed out 3 changesets (bug 1823335, bug 1815937, bug 1823399) for devtools failures on browser_dbg-features-breakable-positions.js. CLOSED TREE
Backed out changeset f931921c97f2 (bug 1823399)
Backed out changeset 077d67ccc0d5 (bug 1823335)
Backed out changeset 103bf8d93883 (bug 1815937)
2023-03-21 00:01:11 +02:00
Nicolas Chevobbe
4aa1bc2655 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-20 19:25:19 +00:00
Cristina Horotan
588b393945 Backed out 2 changesets (bug 1815937) for causing wpt failures at blockeduri-inline.html CLOSED TREE
Backed out changeset 668971329051 (bug 1815937)
Backed out changeset a4a3430c9bab (bug 1815937)
2023-03-17 15:52:33 +02:00
Nicolas Chevobbe
c0be3c7697 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-17 08:03:07 +00:00
Mike Hommey
007a7a25e5 Bug 1807780 - Use -ivfsoverlay instead of liblowercase. r=firefox-build-system-reviewers,ahochheiden
Because this involves affecting the MSVC + Windows SDK packs, we need to
do this for toolchain tasks as well as Firefox builds in a single pass.

The MSVC + Windows SDK packs are altered to keep the original case
instead of lowercasing everything (except .lib files), and contain
an overlay file that we now automatically use from the WINSYSROOT.

This requires adjusting some paths to match what the original case
is, as well as removing everything related to the use of liblowercase,
which conflicts with the use of the overlay file. People using
liblowercase locally will still have a working setup as long as they
don't set WINSYSROOT (it's new, so they won't have it), and don't have
an overlay file in there (which they only would  if they ran the new
pack_vs.py).

Differential Revision: https://phabricator.services.mozilla.com/D165596
2022-12-29 00:05:49 +00:00
Mike Hommey
b2be53b830 Bug 1807779 - Allow to set a single variable for MSVC. r=firefox-build-system-reviewers,ahochheiden
For builds using our toolchain artifact (or a similarly shaped copy of
MSVC + SDKs)

Differential Revision: https://phabricator.services.mozilla.com/D165592
2022-12-28 22:48:51 +00:00
Mike Hommey
ce754eb1e4 Bug 1807779 - Stop using VSWINPATH. r=firefox-build-system-reviewers,ahochheiden
Setting WINDOWSSDKDIR to a windows path in mozconfig is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D165591
2022-12-28 22:48:51 +00:00
Markus Stange
5011140bec Bug 1765399 - Rename mRefreshTimerNeedsVsync and NotifyRefreshTimerVsyncStatus. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D144364
2022-05-05 02:15:13 +00:00
Markus Stange
5ef3c929f4 Bug 1765399 - Rename RefreshTimerVsyncDispatcher to VsyncDispatcher. r=smaug
RefreshTimerVsyncDispatcher manages a lot more than just the
RefreshDriverVsyncTimer these days.

Differential Revision: https://phabricator.services.mozilla.com/D144363
2022-05-05 02:15:13 +00:00
Marian-Vasile Laza
1cd0ac703f Backed out 16 changesets (bug 1765399) for causing build bustages on RefPtr.h.
Backed out changeset 8ff5e213e351 (bug 1765399)
Backed out changeset bd164f5cc8b3 (bug 1765399)
Backed out changeset 939b577eee05 (bug 1765399)
Backed out changeset ee00e3583f42 (bug 1765399)
Backed out changeset e5001537e536 (bug 1765399)
Backed out changeset d5a4004a2955 (bug 1765399)
Backed out changeset d3c1f6c420e3 (bug 1765399)
Backed out changeset d21fca656853 (bug 1765399)
Backed out changeset 5e5a29a99c9e (bug 1765399)
Backed out changeset ce326de1e107 (bug 1765399)
Backed out changeset 3890e83660b0 (bug 1765399)
Backed out changeset 2f3ceca7aefe (bug 1765399)
Backed out changeset 40c47c498858 (bug 1765399)
Backed out changeset 3a3a2aa6de9b (bug 1765399)
Backed out changeset 4a30a4b3d30d (bug 1765399)
Backed out changeset a9115d9d648e (bug 1765399)
2022-05-05 00:30:06 +03:00
Markus Stange
838ffad4a6 Bug 1765399 - Rename mRefreshTimerNeedsVsync and NotifyRefreshTimerVsyncStatus. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D144364
2022-05-04 16:13:34 +00:00
Markus Stange
070677f86a Bug 1765399 - Rename RefreshTimerVsyncDispatcher to VsyncDispatcher. r=smaug
RefreshTimerVsyncDispatcher manages a lot more than just the
RefreshDriverVsyncTimer these days.

Differential Revision: https://phabricator.services.mozilla.com/D144363
2022-05-04 16:13:34 +00:00
Mike Hommey
557b38098e Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-12 22:52:54 +00:00
Butkovits Atila
59ebe1ff72 Backed out 7 changesets (bug 1289641) for causing Python failures. CLOSED TREE
Backed out changeset 0c1cedebf915 (bug 1289641)
Backed out changeset 575732020bd2 (bug 1289641)
Backed out changeset 55b68a71e03a (bug 1289641)
Backed out changeset 0b16a05aa405 (bug 1289641)
Backed out changeset acbff13b91b3 (bug 1289641)
Backed out changeset 2645367da7cb (bug 1289641)
Backed out changeset 8b22a8ec44fe (bug 1289641)
2022-04-12 22:23:27 +03:00
Mike Hommey
7214f090f8 Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-11 23:00:10 +00:00
Shazib Summar
20cb0cdcb7 Bug 1617283 - Shifted AudioSession to MTA and removed COM violations r=handyman
Cleans up the interface to AudioSession and brings in line with COM best practices.  Uses background threads that are implicitly MTA and asserts proper thread behavior.  This also removes AudioSession's Co[Un]Initialize static analysis violations.

Differential Revision: https://phabricator.services.mozilla.com/D140741
2022-04-07 18:39:49 +00:00
Narcis Beleuzu
c4cce6ea63 Backed out changeset 6fd4b72c9a6c (bug 1617283) for dt failure on browser_dbg-backgroundtask-debugging.js . CLOSED TREE 2022-03-16 02:26:38 +02:00
Shazib Summar
d3f3302860 Bug 1617283 - Shifted AudioSession to MTA and removed COM violations r=handyman
Pointer to AudioSession object is made std::atomic to resolve crashes (bug 1755700) by atomically modifying/reading the pointer as an effort to make sure any update to the pointer is seen across other threads immediately while not using locks to maintain such concurrency and avoiding dataraces.

This patch is built upon the work done in D136377.

Differential Revision: https://phabricator.services.mozilla.com/D140741
2022-03-15 19:48:43 +00:00
Mike Hommey
3885f30dfb Bug 1758781 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges
The llvm-symbolizer tasks currently extract a llvm-symbolizer from clang
tasks. Changes in clang 14 make the hack that we have in place to keep
llvm-symbolizer statically linked to libllvm while clang uses a dynamic
libllvm not work anymore, so it's time to bite the bullet and build
llvm-symbolizer separately.

We share most of the build setup with the compiler-rt build.

Differential Revision: https://phabricator.services.mozilla.com/D140711
2022-03-11 04:10:49 +00:00
Narcis Beleuzu
6146db617b Backed out changeset e1b946a41694 (bug 1617283) for audio related crashes and hangs (bug 1755700, bug 1755717). a=backout 2022-02-16 18:14:02 +02:00
Shazib Summar
b8d30e610b Bug 1617283 - Removed COM violations and shifted AudioSession to MTA r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D136377
2022-02-15 22:28:41 +00:00