Commit Graph

1123 Commits

Author SHA1 Message Date
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
Mike Hommey
057d25673c 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-17 22:52:10 +00:00
Mike Hommey
9ad5b8ec2a Bug 1746541 - Move --disable-negotiateauth to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134100
2021-12-17 22:52:10 +00:00
Mike Hommey
86100100a6 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-17 22:52:09 +00:00
Mike Hommey
3e80feeb1d Bug 1746539 - Move --enable-libproxy to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134098
2021-12-17 22:52:09 +00:00
Mike Hommey
26b16bad6e 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-17 22:52:09 +00:00
Mike Hommey
f0ac61a26b Bug 1746298 - Move --enable-dump-painting to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D133969
2021-12-16 07:48:37 +00:00
Mike Hommey
aaba8b2021 Bug 1746296 - Move --enable-debug-js-modules to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D133968
2021-12-16 07:48:37 +00:00
Mike Hommey
9f4d93b267 Bug 1746294 - Move --disable-necko-wifi to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D133967
2021-12-16 07:48:36 +00:00
Mike Hommey
668a211d17 Bug 1746293 - Move --disable-dbus to python configure. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D133966
2021-12-16 07:48:36 +00:00
Mike Hommey
8846d35b52 Bug 1746292 - Move --enable-crashreporter to python configure. r=firefox-build-system-reviewers,mhentges
We don't need to care about cross-compiled breakpad tools because
dump-syms (which is what this was about) is now written in rust (and
it's bootstrapped).

Differential Revision: https://phabricator.services.mozilla.com/D133965
2021-12-16 07:48:36 +00:00
Mike Hommey
a559a86c18 Bug 1744857 - Remove MOZ_FS_LAYOUT. r=firefox-build-system-reviewers,mhentges
It's consistently set to bundle for all Darwin targets, and that's the
only value we really care about. Removing MOZ_FS_LAYOUT reduces the
differences between old-configure and js/src/old-configure one tiny bit.

Differential Revision: https://phabricator.services.mozilla.com/D133150
2021-12-16 07:37:33 +00:00
Mike Hommey
ed9cc011e6 Bug 1745345 - Remove ATK_*_VERSION. r=firefox-build-system-reviewers,mhentges
Their use was removed in bug 347983.

Differential Revision: https://phabricator.services.mozilla.com/D133460
2021-12-16 06:26:43 +00:00
Mike Hommey
6e16d23f84 Bug 1745344 - Remove now unused configure checks for va_copy. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D133459
2021-12-16 06:26:42 +00:00
Mike Hommey
918ade3b36 Bug 1745343 - Remove redundant addition of -funwind-tables on arm. r=firefox-build-system-reviewers,mhentges
Python configure already adds -funwind-tables.

Differential Revision: https://phabricator.services.mozilla.com/D133456
2021-12-16 06:26:41 +00:00
Mike Hommey
f5cbf523ab Bug 1745342 - Stop checking for memmem during configure. r=firefox-build-system-reviewers,mhentges
We don't use HAVE_MEMMEM anywhere.

Differential Revision: https://phabricator.services.mozilla.com/D133455
2021-12-16 06:26:41 +00:00
Mike Hommey
cbed73269b Bug 1745341 - Remove unused MOZ_TLS. r=firefox-build-system-reviewers,mhentges
It was added for jemalloc 3, which subsequently was replaced with
jemalloc 4, which was ultimate removed entirely in bug 1363992.

Differential Revision: https://phabricator.services.mozilla.com/D133454
2021-12-16 06:26:40 +00:00
Mike Hommey
4b1378dce2 Bug 1359918 - Add -z now linker flags. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133864
2021-12-15 21:04:41 +00:00
Mike Hommey
03fd673445 Bug 1746088 - Move --with-system-libevent to python configure. r=firefox-build-system-reviewers,andi
libevent has had a pkg-config file for more than 10 years, so use that.

Differential Revision: https://phabricator.services.mozilla.com/D133797
2021-12-15 07:10:10 +00:00
Mike Hommey
e21f091a6d Bug 1746085 - Move --with-system-png to python configure. r=firefox-build-system-reviewers,andi
Like with e.g. --with-system-zlib in bug 1641760, all supported versions
of libpng now have a pkg-config file, so use that instead of the manual
checks.

Differential Revision: https://phabricator.services.mozilla.com/D133796
2021-12-15 07:10:09 +00:00
Horst
fd10e741c8 Bug 1503350 - fix compile error when using --disable-negotiateauth r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D107131
2021-12-15 01:13:11 +00:00
Mike Hommey
64905dd854 Bug 1745090 - Remove MOZ_SPELLCHECK. r=firefox-build-system-reviewers,andi
It's always on.

Differential Revision: https://phabricator.services.mozilla.com/D133303
2021-12-10 03:27:28 +00:00
Mike Hommey
9500761a3a Bug 1745080 - Remove MSVC linker version check. r=firefox-build-system-reviewers,andi
We don't use the MSVC linker anymore. Even if the user does force its
use with LINKER=link.exe (which may or may not work, it's not supported),
the version check is irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D133297
2021-12-10 03:27:28 +00:00
Mike Hommey
72f163f712 Bug 1745079 - Remove INCREMENTAL_LINKER. r=firefox-build-system-reviewers,andi
It was only relevant with the MSVC linker, which we don't use anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133296
2021-12-10 03:27:27 +00:00
Mike Hommey
d557d5477e Bug 1745077 - Remove unused HAVE_ALTIVEC. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133295
2021-12-10 03:27:27 +00:00
Mike Hommey
c8498cc301 Bug 1745076 - Remove unused GLIB_GMODULE_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133294
2021-12-10 03:27:26 +00:00
Mike Hommey
95c3b50cea Bug 1745074 - Remove unused FILTER and IMPLIB substs. r=firefox-build-system-reviewers,andi
They are leftover from the long-gone OS/2 support.

Differential Revision: https://phabricator.services.mozilla.com/D133293
2021-12-10 03:27:26 +00:00
Mike Hommey
0343b1d227 Bug 1745069 - Remove MOZ_WEBM_ENCODER. r=bryce
It's always on and unsetting it manually in old-configure.in leads to a
busted build.

Differential Revision: https://phabricator.services.mozilla.com/D133287
2021-12-10 03:27:26 +00:00
Mike Hommey
b6947993bc Bug 1745082 - Remove unused MOZ_ANDROID_ANR_REPORTER. r=geckoview-reviewers,agi
It's leftover from bug 1608570.

Differential Revision: https://phabricator.services.mozilla.com/D133299
2021-12-09 07:26:46 +00:00
Mike Hommey
17888a7d71 Bug 1745092 - Remove optional XZ compression of executables during packaging. r=firefox-build-system-reviewers,nalexander
Its use was removed in bug 1486524.

Differential Revision: https://phabricator.services.mozilla.com/D133305
2021-12-09 06:35:18 +00:00
Mike Hommey
29e9f263a4 Bug 1745091 - Remove unused MOZ_LINKER_EXTRACT. r=firefox-build-system-reviewers,nalexander
Its use was removed in bug 1314546.

Differential Revision: https://phabricator.services.mozilla.com/D133304
2021-12-09 06:32:48 +00:00
Mike Hommey
8e411675ac Bug 1744877 - Remove --disable-xul. r=Gijs
Building with --disable-xul has been busted since _at least_ bug
1082579, for more than 7 years (I didn't try to track that down
further). It's time to recognize that the option serves no purpose.

Differential Revision: https://phabricator.services.mozilla.com/D133161
2021-12-08 21:37:11 +00:00
Mike Hommey
0ad8e57ac3 Bug 1744863 - Remove uses of CLANG_CL where it was opposed to MSVC. r=firefox-build-system-reviewers,nalexander
As MSVC is not supported anymore, checking for clang-cl vs. MSVC is not
useful.

Differential Revision: https://phabricator.services.mozilla.com/D133157
2021-12-08 06:01:20 +00:00
Mike Hommey
97504eab86 Bug 1744861 - Don't link ExceptionHandling framework. r=firefox-build-system-reviewers,nalexander
Bug 1692391 removed its use.

Differential Revision: https://phabricator.services.mozilla.com/D133156
2021-12-08 05:49:51 +00:00
Mike Hommey
ef3baf9591 Bug 1743538 - Clear MOZ_FIX_LINK_PATHS on macOS. r=firefox-build-system-reviewers,andi
-executable-path is not a supported option in lld, and doesn't appear to
be necessary anymore with ld64.

Differential Revision: https://phabricator.services.mozilla.com/D132550
2021-12-02 00:22:28 +00:00
Mike Hommey
e19e94bc52 Bug 1729760 - Set -stdlib=libc++ for mac builds at the toolchain level. r=firefox-build-system-reviewers,nalexander
It's currently added manually to CXXFLAGS and bindgen flags, and is
notably missing from HOST_CXXFLAGS. However, setting it at the toolchain
level makes it inherited anywhere it's needed, including host builds and
bindgen.

Differential Revision: https://phabricator.services.mozilla.com/D126153
2021-09-21 04:45:34 +00:00
Mike Hommey
38d3014aac Bug 1723389 - Bump the required version of system pixman. r=firefox-build-system-reviewers,andi
Cairo uses PIXMAN_rgba_float/PIXMAN_rgb_float, which were added in
pixman 0.36.0.

Differential Revision: https://phabricator.services.mozilla.com/D121570
2021-08-03 04:41:02 +00:00
Mike Hommey
221139493a Bug 1721962 - Switch to pkg-config for X11 libraries. r=firefox-build-system-reviewers,jgilbert,andi
Differential Revision: https://phabricator.services.mozilla.com/D121309
2021-07-30 11:39:39 +00:00
Mike Hommey
e9954811d5 Bug 1721962 - Don't assume XCFLAGS are always in CPPFLAGS on *bsd. r=firefox-build-system-reviewers,jgilbert,andi
Differential Revision: https://phabricator.services.mozilla.com/D121307
2021-07-30 11:39:38 +00:00
Mike Hommey
c14b27c7ec Bug 1721962 - Remove dependency on Xt. r=firefox-build-system-reviewers,andi
It hasn't been used since bug 326152.

Differential Revision: https://phabricator.services.mozilla.com/D121306
2021-07-30 11:39:38 +00:00
Mike Hommey
78d7375561 Bug 1721962 - Remove MOZ_WEBRTC_X11_LIBS. r=firefox-build-system-reviewers,andi
It is redundant with the contents of
third_party/libwebrtc/webrtc/webrtc_gn/moz.build.

Differential Revision: https://phabricator.services.mozilla.com/D121303
2021-07-30 11:39:37 +00:00
Mike Hommey
61fa414e0a Bug 1722653 - Remove MOZ_CAIRO_*LIBS. r=firefox-build-system-reviewers,andi
MOZ_CAIRO_LIBS is unused and MOZ_CAIRO_OSLIBS is largely redundant with
other variables.

Differential Revision: https://phabricator.services.mozilla.com/D121067
2021-07-29 23:38:32 +00:00
Mike Hommey
03223f9ea4 Bug 1722653 - Remove MOZ_CAIRO_CFLAGS. r=firefox-build-system-reviewers,jgilbert,andi
Differential Revision: https://phabricator.services.mozilla.com/D121066
2021-07-29 23:38:31 +00:00
Mike Hommey
0fefbe85ee Bug 1722653 - Remove unused TK_* flags on Android. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D121065
2021-07-29 23:38:31 +00:00
Mike Hommey
d772552af8 Bug 1722653 - Stop preprocessing cairo-features.h. r=gfx-reviewers,firefox-build-system-reviewers,jrmuizel,andi
Some of the defines are outdated and never actually set, and the
remaining ones can be easily set through existing or easily added
ifdefs.

Differential Revision: https://phabricator.services.mozilla.com/D121064
2021-07-29 23:38:31 +00:00
Mike Hommey
25c71f548b Bug 1722653 - Remove --enable-system-cairo. r=firefox-build-system-reviewers,jrmuizel,andi
It hasn't been supported since bug 1432751, > 3 years ago.

Differential Revision: https://phabricator.services.mozilla.com/D121063
2021-07-29 23:38:30 +00:00
Mike Hommey
e0929c4c22 Bug 1722652 - Reduce the number of flags passed to bindgen. r=firefox-build-system-reviewers,necko-reviewers,andi,dragana
Originally, we only were using bindgen for stylo, and we also went a bit
overkill by including a lot of extra CFLAGS in there, which end up
being unnecessary. So we now only pass a more minimal set of flags, and
add some extra CFLAGS in cases where they are necessary.

Differential Revision: https://phabricator.services.mozilla.com/D121043
2021-07-28 20:37:49 +00:00
Mike Hommey
4dce5725b3 Bug 1722652 - Setup bindgen flags for servo similarly to cranelift and neqo. r=emilio
While the use of toml allows the flags to be separated, the split is
done via some shell shenanigans anyways, and servo's build.rs can
handle the same just fine.

Differential Revision: https://phabricator.services.mozilla.com/D121042
2021-07-28 20:37:48 +00:00
Mike Hommey
aff44b1957 Bug 1721251 - Skip autoconf's xmkmf tests. r=firefox-build-system-reviewers,andi
Also remove the test for X11 in spidermonkey, which doesn't need X11.

Differential Revision: https://phabricator.services.mozilla.com/D120696
2021-07-26 21:59:01 +00:00
Rob Lemley
a82a4bf011 Bug 1670147 - Set values for AccessibleHandler.dll CLSID/IIDs at configure time. r=Jamie,firefox-build-system-reviewers,glandium
Allow for downstream projects such as Thunderbird to set different GUIDs for
AccessibleHandler to avoid clashes when both applications are installed.
The GUIDs themselves can be defined in confvars.sh or in branding/configure.sh
depending on the specific needs of the application. Fallback GUIDs are in
old-configure.

Differential Revision: https://phabricator.services.mozilla.com/D118124
2021-07-26 13:43:36 +00:00
Agi Sferro
52ba1458a2 Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-07-20 22:19:17 +00:00
Sebastian Hengst
5a4f8ee0eb Backed out 13 changesets (bug 1709640, bug 1718341) for failing geckoview-junit tasks on shippable lite platform. CLOSED TREE
Backed out changeset abc4249b08a0 (bug 1709640)
Backed out changeset c7f2fa8d7535 (bug 1709640)
Backed out changeset 45b07d37f247 (bug 1709640)
Backed out changeset a15b3b87d71e (bug 1718341)
Backed out changeset a87639f2921b (bug 1718341)
Backed out changeset 31a57851c6d1 (bug 1718341)
Backed out changeset c7de56a1f886 (bug 1718341)
Backed out changeset 5e76806752c8 (bug 1718341)
Backed out changeset 74cfe6df218b (bug 1718341)
Backed out changeset 3bd0e376de51 (bug 1718341)
Backed out changeset 176238f92cfe (bug 1718341)
Backed out changeset 38d622f60fa5 (bug 1718341)
Backed out changeset 2e16fa5f0a1f (bug 1718341)
2021-07-20 11:31:01 +02:00
Agi Sferro
652c8238cf Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-07-20 03:23:33 +00:00
Butkovits Atila
df5b6f3929 Backed out 13 changesets (bug 1709640, bug 1718341) for causing android build bustages. CLOSED TREE
Backed out changeset 20645ae32b84 (bug 1709640)
Backed out changeset 7c45682a8f98 (bug 1709640)
Backed out changeset 667e768fd75e (bug 1709640)
Backed out changeset f072adb45b85 (bug 1718341)
Backed out changeset cf443dddb5f5 (bug 1718341)
Backed out changeset 09d3d3e4ce7d (bug 1718341)
Backed out changeset 2b47cc469477 (bug 1718341)
Backed out changeset 8ec277361e46 (bug 1718341)
Backed out changeset b6c4c82d3efc (bug 1718341)
Backed out changeset 8afb8fcd0dc3 (bug 1718341)
Backed out changeset 7723d3a9ba7f (bug 1718341)
Backed out changeset f33b120a77d0 (bug 1718341)
Backed out changeset e7bf6deac270 (bug 1718341)
2021-07-17 01:02:51 +03:00
Agi Sferro
263b69b32d Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-07-16 19:26:49 +00:00
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