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

1104 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d4919a8c5f Bug 1747970 - Move AC_CHECK_FUNC{,S} to python configure. r=firefox-build-system-reviewers,andi
- AC_HAVE_FUNCS is an alias to AC_CHECK_FUNCS, so it is covered.
- Nothing uses HAVE___CXA_DEMANGLE, so we don't explictly set it,
  although we do need the result of whether __cxa_demangle is supported.
- No moz.build uses MOZ_DEMANGLE_SYMBOLS, so we only `set_define` it.
- We leave dladdr in old-configure because it needs to move along other
  dl* things.
- The hotfix for AC_CHECK_FUNC is however not needed for dladdr, so we
  remove it.
- We replace the forced HAVE_LOCALECONV on Windows with a check shared
  with all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D134858
2022-01-20 21:01:20 +00:00
Iulian Moraru f2f55d39bc Backed out changeset ffdd096022f9 (bug 1747970) for causing android build bustages. CLOSED TREE 2022-01-19 02:20:04 +02:00
Mike Hommey 464471142b Bug 1747970 - Move AC_CHECK_FUNC{,S} to python configure. r=firefox-build-system-reviewers,andi
- AC_HAVE_FUNCS is an alias to AC_CHECK_FUNCS, so it is covered.
- Nothing uses HAVE___CXA_DEMANGLE, so we don't explictly set it,
  although we do need the result of whether __cxa_demangle is supported.
- No moz.build uses MOZ_DEMANGLE_SYMBOLS, so we only `set_define` it.
- We leave dladdr in old-configure because it needs to move along other
  dl* things.
- The hotfix for AC_CHECK_FUNC is however not needed for dladdr, so we
  remove it.
- We replace the forced HAVE_LOCALECONV on Windows with a check shared
  with all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D134858
2022-01-18 23:53:38 +00:00
Mike Hommey 0be843a7f9 Bug 1747970 - Remove check for fdatasync. r=firefox-build-system-reviewers,mhentges
AC_CHECK_FUNC doesn't automatically set HAVE_$function defines
(AC_CHECK_FUNCS does, confusing much?). Which means practically
speaking, the check is not useful. There _are_ #ifdef HAVE_FDATASYNC
in sqlite, but fdatasync is notably broken on older kernels, and while
lmdb has runtime workarounds for that, sqlite doesn't. It might be fine
to enable the sqlite code because those kernels are old, but this is
not a straightforward decision to make at the build system level, so
we'll handle that in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D134855
2021-12-31 06:50:29 +00:00
Mike Hommey c549b5fe68 Bug 1747970 - Remove check for lchown. r=firefox-build-system-reviewers,mhentges
HAVE_LCHOWN is only used in nsinstall.c, for a feature we don't use.
Moreover it would need to be tested with the host compiler/headers, but
function checks are tested with the target compiler/headers so it's not
necessarily accurate. Therefore, we just remove the check.

Differential Revision: https://phabricator.services.mozilla.com/D134854
2021-12-31 06:50:29 +00:00
Mike Hommey 1acc37c7a6 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Mike Hommey a25d0c97d9 Bug 1747856 - Move MOZ_NO_SMART_CARDS to python configure. r=firefox-build-system-reviewers,geckoview-reviewers,mhentges,calu
Differential Revision: https://phabricator.services.mozilla.com/D134770
2021-12-30 00:54:02 +00:00
Mike Hommey a1425cc7d4 Bug 1747855 - Move --disable-updater to python configure. r=firefox-build-system-reviewers,geckoview-reviewers,mhentges,calu
Differential Revision: https://phabricator.services.mozilla.com/D134769
2021-12-30 00:54:02 +00:00
Mike Hommey cc5858cdcc Bug 1747854 - Move MOZ_ENABLE_CAIRO_FT and CAIRO_FT_CFLAGS to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134768
2021-12-30 00:54:01 +00:00
Mike Hommey 8e77ff90db Bug 1747853 - Move linux/joystick.h check to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134767
2021-12-30 00:54:01 +00:00
Mike Hommey c0b85dcb38 Bug 1747852 - Move MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134766
2021-12-30 00:54:00 +00:00
Iulian Moraru b469802d84 Backed out changeset 7f9b4b6191ad (bug 1747756) for causing multiple failures. CLOSED TREE 2021-12-30 01:59:26 +02:00
Mike Hommey cb50a5444f Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-29 22:18:52 +00:00
Mike Hommey 7651ef8935 Bug 1747755 - Remove MOZ_ARG_HEADER. r=firefox-build-system-reviewers,mhentges
The remaining uses are outdated and not actually exposed anywhere.

Differential Revision: https://phabricator.services.mozilla.com/D134735
2021-12-29 22:18:51 +00:00
Mike Hommey da46f063dc Bug 1747754 - Move --with-android-min-sdk to python configure. r=firefox-build-system-reviewers,geckoview-reviewers,mhentges,calu
And remove --with-android-max-sdk, which hasn't been used since the
removal of Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D134734
2021-12-29 22:18:51 +00:00
Mike Hommey f48dc2dbb0 Bug 1747753 - Remove 16k alignment enforcement for < ARMv7. r=firefox-build-system-reviewers,mhentges
We don't support Android ARMv6 devices anymore, and even if we did,
we're not using the code that required 16k alignment anymore (on-demand
decompression of libraries).

Differential Revision: https://phabricator.services.mozilla.com/D134733
2021-12-29 22:18:50 +00:00
Mike Hommey 971775cd07 Bug 1747502 - Move A11Y_LOG to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134644
2021-12-29 22:12:46 +00:00
Mike Hommey f094186c6f Bug 1747501 - Move ZLIB_IN_MOZGLUE to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134643
2021-12-29 22:12:45 +00:00
Mike Hommey 9ea3f97b39 Bug 1747500 - Move MOZ_LINKER to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134642
2021-12-29 22:12:45 +00:00
Mike Hommey eac8ebc4e8 Bug 1747499 - Move pthread_cond_timedwait_monotonic_np check to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134641
2021-12-29 22:12:45 +00:00
Mike Hommey a862a3a0cf Bug 1747498 - Move SIMD flags to python configure. r=firefox-build-system-reviewers,mhentges
And because we don't support MSVC anymore, we can use the GCC-style
flags everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D134640
2021-12-29 22:12:44 +00:00
Mike Hommey 0ecd63d2c2 Bug 1747325 - Remove checks against system freetype. r=firefox-build-system-reviewers,andi
By upgrading the requirement to freetype 9.10.3 (actually 2.2.0,
released > 15 years ago ; the .pc version doesn't match the freetype
version), we ensure all supported versions of freetype have the things
we were checking for.

Differential Revision: https://phabricator.services.mozilla.com/D134565
2021-12-23 20:50:39 +00:00
Mike Hommey 522946f765 Bug 1747324 - Remove check for fontconfig/fcfreetype.h. r=firefox-build-system-reviewers,andi
All supported versions of fontconfig have it.

Differential Revision: https://phabricator.services.mozilla.com/D134564
2021-12-23 20:50:39 +00:00
Mike Hommey efd23948af Bug 1747322 - Move sockaddr_* length field checks to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134562
2021-12-23 20:50:38 +00:00
Mike Hommey f6dcab80de Bug 1747321 - Remove HAVE_TOOLCHAIN_SUPPORT_{MSSSE3,MSSE4_1} and HAVE_X86_AVX2. r=firefox-build-system-reviewers,andi
All supported compilers support have them set to 1 on x86/x86_64.

Differential Revision: https://phabricator.services.mozilla.com/D134561
2021-12-23 20:50:37 +00:00
Mike Hommey 4894650862 Bug 1747165 - Move Gtk+3 checks to python configure. r=firefox-build-system-reviewers,mhentges
Also fix checked glib version and remove unused CAIRO_VERSION.

Differential Revision: https://phabricator.services.mozilla.com/D134465
2021-12-23 20:29:08 +00:00
Mike Hommey fce6eb7d83 Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Cristian Tuns e1e31e01f2 Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Mike Hommey 12435c092b Bug 1747165 - Move Gtk+3 checks to python configure. r=firefox-build-system-reviewers,mhentges
Also fix checked glib version and remove unused CAIRO_VERSION.

Differential Revision: https://phabricator.services.mozilla.com/D134465
2021-12-22 23:56:24 +00:00
Mike Hommey b55194a16f Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Sandor Molnar c009d9f45b Backed out changeset e5de1d0915a4 (bug 1359918) for causing bug 1746715. CLOSED TREE 2021-12-22 22:43:41 +02:00
Mike Hommey d6208c74dc Bug 1029974 - Move frameworks from TK_LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
And remove TK_CFLAGS when applied to mac only.

Differential Revision: https://phabricator.services.mozilla.com/D134460
2021-12-22 03:58:34 +00:00
Mike Hommey 361f258f46 Bug 1747160 - Remove -lobjc from LDFLAGS. r=firefox-build-system-reviewers,mhentges
The build goes through without it.

Differential Revision: https://phabricator.services.mozilla.com/D134459
2021-12-22 03:47:26 +00:00
Mike Hommey 793f17d9e1 Bug 1747160 - Remove check for CoreMedia/CoreMedia.h and VideoToolbox/VideoToolbox.h. r=firefox-build-system-reviewers,mhentges
We're building with SDK >= 10.12.

Differential Revision: https://phabricator.services.mozilla.com/D134458
2021-12-22 03:47:26 +00:00
Mike Hommey b15304187b Bug 1747160 - Don't add TK_CFLAGS to CFLAGS/CXXFLAGS and don't add frameworks to LDFLAGS. r=firefox-build-system-reviewers,mhentges
TK_CFLAGS is empty anyway, and the frameworks are redundant with TK_LIBS.

Differential Revision: https://phabricator.services.mozilla.com/D134457
2021-12-22 03:47:26 +00:00
Mike Hommey 7621251fc2 Bug 1746988 - Move --with-user-appdir to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134346
2021-12-21 21:36:42 +00:00
Mike Hommey 424f326c5d Bug 1746987 - Move --disable-zipwriter to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134345
2021-12-21 21:36:42 +00:00
Mike Hommey acca21b579 Bug 1746986 - Move --disable-universalchardet to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134344
2021-12-21 21:36:42 +00:00
Mike Hommey 915c66d1fe Bug 1308558 - Move --enable-system-pixman to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134343
2021-12-21 21:36:41 +00:00
Mike Hommey bd448f583e Bug 1746985 - Move --disable-system-extension-dirs to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134342
2021-12-21 21:36:41 +00:00
Mike Hommey 118ca6dac1 Bug 1746990 - Remove compat-gtk3. r=firefox-build-system-reviewers,andi
It was used to avoid deprecation warnings of APIs we kept using because
we needed Gtk+2 compatibility. We don't need the Gtk+2 compat anymore,
and the deprecation warnings will tell us what we should update.

Differential Revision: https://phabricator.services.mozilla.com/D134347
2021-12-21 21:22:26 +00:00
Gabriele Svelto 97a5174c27 Bug 1201598 - Add a midir-based implementation for WebMIDI r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D131351
2021-12-21 11:34:52 +00:00
Mike Hommey a88212038a Bug 1746544 - Move --enable-sandbox to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134102
2021-12-18 00:41:44 +00:00
Mike Hommey bafea37b93 Bug 1746542 - Move --disable-parental-controls to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134101
2021-12-18 00:32:36 +00:00
Mike Hommey 176d00f71f Bug 1746541 - Move --disable-negotiateauth to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134100
2021-12-18 00:32:36 +00:00
Mike Hommey b6a4e7c184 Bug 1746540 - Move --enable-logrefcnt to python configure. r=nika,firefox-build-system-reviewers,mhentges
And simplify the defines it sets.

Differential Revision: https://phabricator.services.mozilla.com/D134099
2021-12-18 00:32:35 +00:00
Mike Hommey 0dbb1da5a9 Bug 1746539 - Move --enable-libproxy to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134098
2021-12-18 00:32:35 +00:00
Mike Hommey e6e627c61f Bug 1746299 - Remove broken support for --enable-project=extensions and --enable-extensions. r=Gijs,firefox-build-system-reviewers,mhentges
The former is broken because of a lack of a app.mozbuild file and has
been broken for years.

The latter doesn't do anything useful outside --enable-project=extensions
because all the subdirectories of extensions/ are already covered by
other flags (or always used):
- auth, via --enable-negotiateauth (default on)
- permissions, always
- pref, via --enable-pref-extensions (default on)
- spellcheck, always
- universalchardet, via --enable-universalchardet (default on)

Also, nothing sets MOZ_EXTENSIONS_DEFAULT anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133970
2021-12-18 00:32:34 +00:00
Sandor Molnar eac95b4a93 Backed out 6 changesets (bug 1746539, bug 1746541, bug 1746544, bug 1746540, bug 1746542, bug 1746299) for causing android build bustages in cutils/properties. CLOSED TREE
Backed out changeset 9352292fa327 (bug 1746544)
Backed out changeset 3cc761d90071 (bug 1746542)
Backed out changeset 8d8fc11e8012 (bug 1746541)
Backed out changeset 5f53612aad1b (bug 1746540)
Backed out changeset afb601202b24 (bug 1746539)
Backed out changeset 90027c44c9af (bug 1746299)
2021-12-18 01:28:06 +02:00
Mike Hommey 0e0c8ed255 Bug 1746544 - Move --enable-sandbox to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134102
2021-12-17 22:52:11 +00:00