Граф коммитов

1000 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian 19785b8b33 Backed out 3 changesets (bug 1709640) for causing android-4-1-armv7 pgo build bustages.
CLOSED TREE

Backed out changeset d8f2f3cc4da7 (bug 1709640)
Backed out changeset 3a6a274dae0d (bug 1709640)
Backed out changeset decc4edd47f9 (bug 1709640)
2021-06-08 03:58:27 +03:00
Agi Sferro bb1ab4b1d3 Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-06-07 21:49:07 +00:00
Mike Hommey 28e098745c Bug 1712633 - Set MOZ_REQUIRE_SIGNING appropriately by default. r=firefox-build-system-reviewers,mhentges
At the same time, move the option to python configure, which changes how
to disable it (setting to an empty value rather than 0).

Differential Revision: https://phabricator.services.mozilla.com/D115844
2021-05-25 20:00:05 +00:00
Rob Lemley f26c2ed0b1 Bug 1710957 - Do not pass -RELEASE argument to lld-link. r=firefox-build-system-reviewers,mhentges,glandium
This fixes several warnings from clang-cl/lld-link when building Firefox.
-RELEASE is not supported by lld-link.

Differential Revision: https://phabricator.services.mozilla.com/D115061
2021-05-20 16:02:35 +00:00
Chris Peterson c085238382 Bug 1711628 - UA String: Remove unused MOZ_UA_OS_AGNOSTIC #ifdefs. r=hsivonen,necko-reviewers,dragana
The MOZ_UA_OS_AGNOSTIC #ifdefs were added for Firefox OS because it hoped to omit OS ("Firefox OS" or "Android") in its UA string.

Differential Revision: https://phabricator.services.mozilla.com/D115331
2021-05-19 05:40:44 +00:00
Mike Hommey 79e8df83dd Bug 1377445 - Remove build dependencies on gtk+2. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D111997
2021-04-20 01:57:03 +00:00
Steve Fink df6f52ac53 Bug 1697929 - Create a breakpad injector toolchain build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D109504
2021-04-19 14:21:42 +00:00
Csoregi Natalia bd01562887 Backed out changeset 3ec9f9951ffe (bug 1377445) for bustage due to missing file. CLOSED TREE 2021-04-08 11:04:47 +03:00
Bryan Quigley a1b5fde57c Bug 1377445 - Drop gtk2 depends r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D111121
2021-04-08 07:38:40 +00:00
Mike Hommey 0ea5ad6742 Bug 1698706 - Always add PIC flags to C{,XX}FLAGS. r=firefox-build-system-reviewers,andi,sheehan,mhentges
The build always uses them anyways, but configure tests don't, and some
of them fail as a consequence in some cases (example: when UBsan is
enabled, all AC_LANG_CPLUSPLUS + AC_CHECK_FUNCS tests fail). We also had
similar problems in the past, such as bug 1513605.

By adding the PIC flags to CFLAGS and CXXFLAGS, we ensure old-configure
tests use the flags as well.

While here, we also remove DSO_CFLAGS, which was always empty, and we
stop passing -fPIC to wasm compiles, because it has no effect there.

Differential Revision: https://phabricator.services.mozilla.com/D108560
2021-03-17 02:27:22 +00:00
Csoregi Natalia 1fe0f680de Backed out changeset 86089c4629b5 (bug 1698706) for spidermonkey bustage. CLOSED TREE 2021-03-17 03:48:31 +02:00
Mike Hommey 473d31abfb Bug 1698706 - Always add PIC flags to C{,XX}FLAGS. r=firefox-build-system-reviewers,andi,sheehan,mhentges
The build always uses them anyways, but configure tests don't, and some
of them fail as a consequence in some cases (example: when UBsan is
enabled, all AC_LANG_CPLUSPLUS + AC_CHECK_FUNCS tests fail). We also had
similar problems in the past, such as bug 1513605.

By adding the PIC flags to CFLAGS and CXXFLAGS, we ensure old-configure
tests use the flags as well.

While here, we also remove DSO_CFLAGS, which was always empty, and we
stop passing -fPIC to wasm compiles, because it has no effect there.

Differential Revision: https://phabricator.services.mozilla.com/D108560
2021-03-17 01:27:39 +00:00
Mike Hommey a9c5e28258 Bug 1480005 - Move NM to python configure. r=firefox-build-system-reviewers,nalexander
There is only one place where it's used:
config/check_vanilla_allocations.py, which is only executed from
js/src/build/Makefile.in on the condition that the build is targeting
Linux and not LTO. But the LTO test is actually outdated, because we
don't build with `-flto`, but `-flto=thin`, so the exclusion doesn't
work anymore.

There is however no AC_CHECK_PROG, and we currently rely on NM to be
given, or fall back to "nm", which works in most cases, except LTO with
clang. It works on CI because in LTO builds we explicitly set NM to
llvm-nm (which can output symbols from LLVM bitcode objects), but we
could also do that automatically.

So we add a full detection of nm/llvm-nm to python configure, and limit
it to Linux, since we only ever use it there.

Differential Revision: https://phabricator.services.mozilla.com/D101681
2021-01-14 20:17:08 +00:00
Mike Hommey 3a558130b5 Bug 1480005 - Remove check for RANLIB. r=firefox-build-system-reviewers,nalexander
It hasn't been used since bug 569597 and bug 1295937.

Differential Revision: https://phabricator.services.mozilla.com/D101680
2021-01-14 03:40:45 +00:00
Narcis Beleuzu 77844a7997 Backed out 2 changesets (bug 1681445) for causing Bug 1684265
Backed out changeset 3246c882a0da (bug 1681445)
Backed out changeset 38d0eb18ea7a (bug 1681445)
2020-12-28 18:41:59 +02:00
Mike Hommey d4a3d63f71 Bug 1681445 - Fix CLOCK_MONOTONIC test by fixing typo from bug 1524461. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D99192
2020-12-18 01:07:06 +00:00
smolnar ff22c99547 Backed out changeset 092f0ef9b7cf (bug 1681445) for causing bustage in TimeStamp_posix. CLOSED TREE 2020-12-14 23:17:27 +02:00
Mike Hommey a8adc74c74 Bug 1681445 - Fix CLOCK_MONOTONIC test by fixing typo from bug 1524461. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D99192
2020-12-09 12:33:24 +00:00
David Major e53a4d807f Bug 1654109 - Use PDB basename in cross-compiled Windows builds r=firefox-build-system-reviewers,mhentges
In cross-compiled Windows builds, our binaries embed PDB paths like /builds/worker/... which breaks some Windows tools that expect Windows-style paths. This patch sets `-PDBALTPATH:%_PDB%` which instructs the linker to emit only the basename. That's apparently enough that the tools can still find the right symbols.

Differential Revision: https://phabricator.services.mozilla.com/D96620
2020-11-11 02:34:44 +00:00
Philipp Ammann 170ce998f6 Bug 1661450 - Move GTK2 checks behind MOZ_X11 r=stransky
GTK2 isn't compatible with Wayland and requires X11. No functional
change.

Differential Revision: https://phabricator.services.mozilla.com/D88797
2020-08-31 11:40:42 +00:00
Cosmin Sabou 4d167c5d6b Backed out 5 changesets (bug 1661450) for causing build bustages. CLOSED TREE
Backed out changeset b01a3dceb3eb (bug 1661450)
Backed out changeset 4a0b897aa1b2 (bug 1661450)
Backed out changeset 561d7cce5353 (bug 1661450)
Backed out changeset 088f1afeff27 (bug 1661450)
Backed out changeset 04db3acdf84f (bug 1661450)
2020-11-05 12:00:59 +02:00
Philipp Ammann 9eb3f92127 Bug 1661450 - Move GTK2 checks behind MOZ_X11 r=stransky
GTK2 isn't compatible with Wayland and requires X11. No functional
change.

Differential Revision: https://phabricator.services.mozilla.com/D88797
2020-08-31 11:40:42 +00:00
Kagami Sascha Rosylight 8dde7f4f23 Bug 1121822 - Remove NS_ENABLE_TSF r=m_kato,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D95037
2020-10-29 01:46:05 +00:00
David Major d8306f9c33 Bug 1670738 - Try to make autoconf deduce ac_exeext for mingw r=glandium
In clang trunk 12, mingw builds started adding an `.exe` extension by default. We need to have `ac_exeext` know about this so that we'll search for `conftest.exe` rather than `conftest`. Calling `AC_EXEEXT` will go through some logic and set the right value of `ac_exeext`.

Differential Revision: https://phabricator.services.mozilla.com/D93252
2020-10-16 13:14:31 +00:00
Andrew Creskey 9f6aa5dd08 Bug 1670948 - Restore nightly android build optimization to -Oz (currently -O2) r=dmajor
In Bug 1591725 we looked at trade offs between the faster -O2 and the increased binary size.
We have decided to not ship this, so restoring -Oz level optimization to nightly android.

Differential Revision: https://phabricator.services.mozilla.com/D93371
2020-10-13 17:03:31 +00:00
Haik Aftandilian 36a8244ccd Bug 1665759 - about:crashes Not Available on Apple Silicon local build r=gsvelto
Enable crash reporting on Apple Silicon builds.

Differential Revision: https://phabricator.services.mozilla.com/D93312
2020-10-13 15:15:28 +00:00
Ricky Stewart fbc6c5a60f Bug 1667892 - Move search for `wget` binary from `old-configure` to Python `configure` r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D91645
2020-09-30 15:37:21 +00:00
Razvan Maries 3b3e92d8ee Backed out changeset a86359ce9e75 (bug 1667892) for L10n bustages. CLOSED TREE 2020-09-30 05:16:28 +03:00
Ricky Stewart 3f16cd05ff Bug 1667898 - Remove `MOZ_EXCLUDE_HYPHENATION_DICTIONARIES` r=nalexander
This is unused (evidently a Fennec thing).

Differential Revision: https://phabricator.services.mozilla.com/D91648
2020-09-28 22:47:35 +00:00
Ricky Stewart 2bb808e369 Bug 1667896 - Remove `MOZ_ANDROID_DISTRIBUTION_DIRECTORY` r=nalexander
This config value is evidently a Fennec thing that isn't used anywhere any more.

Differential Revision: https://phabricator.services.mozilla.com/D91647
2020-09-29 01:51:13 +00:00
Ricky Stewart d9aa989230 Bug 1667892 - Move search for `wget` binary from `old-configure` to Python `configure` r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D91645
2020-09-28 22:33:33 +00:00
Jed Davis 9cca235bba Bug 1663550 - Enable sandbox on Linux/arm and Linux/arm64. r=gcp,glandium
Differential Revision: https://phabricator.services.mozilla.com/D90002
2020-09-16 20:53:19 +00:00
Agi Sferro 5151d7d8a7 Bug 1666372 - Don't enable the crashreporter for local android builds. r=snorp,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D90931
2020-09-22 20:38:29 +00:00
Mike Hommey b297cc22e4 Bug 1664077 - Remove _NON_GLOBAL_ACDEFINES. r=firefox-build-system-reviewers,mhentges,rstewart
I think they're remnants from the past that we don't really need anymore.
And they're making things more complicated for some pending work of mine.

Differential Revision: https://phabricator.services.mozilla.com/D89687
2020-09-15 14:25:14 +00:00
Razvan Maries f46af2adfc Backed out changeset ee6dbeaf8852 (bug 1664077) for build bustages on gfxFontUtils.h. CLOSED TREE 2020-09-15 04:02:01 +03:00
Mike Hommey 3fd47263f8 Bug 1664077 - Remove _NON_GLOBAL_ACDEFINES. r=firefox-build-system-reviewers,mhentges,rstewart
I think they're remnants from the past that we don't really need anymore.
And they're making things more complicated for some pending work of mine.

Differential Revision: https://phabricator.services.mozilla.com/D89687
2020-09-14 16:31:31 +00:00
Mike Hommey 3c3839d4b3 Bug 1664083 - Remove support for external source directories. r=nalexander
It was there for comm-central, and hasn't been used since bug 1479904.

Differential Revision: https://phabricator.services.mozilla.com/D89691
2020-09-10 03:44:30 +00:00
Keefer Rourke 53c14a2428 Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.

Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-26 15:32:15 +00:00
Razvan Maries ff54551a34 Backed out 12 changesets (bug 1660328, bug 1660015, bug 1649595, bug 1649596, bug 1649593, bug 1659176, bug 1659839, bug 1659838, bug 1657663, bug 1657647, bug 1655460) for xpcshell perma failures. CLOSED TREE
Backed out changeset ff95badf90e3 (bug 1660328)
Backed out changeset a92f8525ab6f (bug 1659176)
Backed out changeset 8ca05470a0d5 (bug 1659839)
Backed out changeset 5de389b735d3 (bug 1649596)
Backed out changeset 73bdddd96664 (bug 1649595)
Backed out changeset 59800d609b55 (bug 1659838)
Backed out changeset 8aca41723313 (bug 1649593)
Backed out changeset dc0d90b3e135 (bug 1657647)
Backed out changeset e3dd5b6b4fbd (bug 1657663)
Backed out changeset f9c823fa14ba (bug 1657663)
Backed out changeset a5aecc7a6469 (bug 1655460)
Backed out changeset 21b64ef30e12 (bug 1660015)
2020-08-26 06:35:20 +03:00
Keefer Rourke c438dddf23 Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.

Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-24 15:41:07 +00:00
Ricky Stewart f5328d27ba Bug 1659756 - Move `MOZ_USE_NATIVE_POPUP_WINDOWS` from `old-configure` to Python `configure` r=geckoview-reviewers,mhentges,agi,froydnj,glandium
Differential Revision: https://phabricator.services.mozilla.com/D87462
2020-08-21 22:48:09 +00:00
Ricky Stewart 71dca9f811 Bug 1659746 - Move `MOZ_WINCONSOLE` from `old-configure` to Python `configure` r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D87454
2020-08-18 16:05:26 +00:00
Ricky Stewart cd9a620ede Bug 1657954 - Move various branding options from `old-configure` r=geckoview-reviewers,mhentges,nalexander,snorp
Differential Revision: https://phabricator.services.mozilla.com/D86391
2020-08-11 15:58:52 +00:00
Razvan Maries abf299d7f6 Backed out changeset 60059f7d5c46 (bug 1657663) for perma failures on test_schema_change.js. CLOSED TREE 2020-08-10 22:55:35 +03:00
Keefer Rourke 148dabd639 Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.

Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-10 17:50:23 +00:00
Mike Hommey 527e667296 Bug 1537703 - Use llvm-rc instead of rc.exe. r=mhentges,froydnj
This makes us use one less tool from MSVC, and removes one more use of wine
in cross builds.

We replace the call to either rc/llvm-rc or windres with a wrapper script.
While the script is not strictly needed for the latter, we use a wrapper
in that case anyway because it's one step towards fixing bug 1498414.
For llvm-rc, however, we need a wrapper because llvm-rc doesn't preprocess
on its own, so the wrapper does that too.

The wrapper script also allows to deal with the default flags passed to
llvm-rc or windres, rather than inherit them from old-configure.

We also need to explicitly pass the codepage to llvm-rc, which was not
necessary with rc (presumably, llvm-rc has a different default).

While here, remove the unused WINDRES subst from js/src/old-configure.in.
Also, while here, we remove --use-temp-file, because as described in the
linked bug and in the windres manual page, it was used to work around bugs
on Windows 98 and earlier.

Differential Revision: https://phabricator.services.mozilla.com/D86312
2020-08-08 21:02:04 +00:00
Ricky Stewart b1627141d4 Bug 1656346 - Move `--enable-startupcache` from `old-configure` r=firefox-build-system-reviewers,mhentges,glandium
Differential Revision: https://phabricator.services.mozilla.com/D85466
2020-08-05 00:28:34 +00:00
Ricky Stewart adbb976913 Bug 1656341 - Move `--enable-pref-extensions` from `old-configure` r=firefox-build-system-reviewers,mhentges,glandium
Differential Revision: https://phabricator.services.mozilla.com/D85463
2020-08-05 00:26:16 +00:00
Ricky Stewart 729697662f Bug 1656044 - Move `--enable-mobile-optimize`, `MOZ_GFX_OPTIMIZE_MOBILE` from `old-configure` r=geckoview-reviewers,mhentges,froydnj,glandium,esawin
Differential Revision: https://phabricator.services.mozilla.com/D85321
2020-08-03 13:36:59 +00:00
Robert Mader c5a05df5d3 Bug 1653950 - Bump glib version requirement. r=karlt
We already inherit a minimum version of 2.41.2 through GTK 3.14.
This silences some build warnings.

Differential Revision: https://phabricator.services.mozilla.com/D84578
2020-07-24 09:11:59 +00:00