Mike Hommey
76b688c4af
Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
...
Disabled by default for now.
Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-09-02 22:49:59 +00:00
serge-sans-paille
52b487abf6
Bug 1914121 - Remove unused add_old_configure_assignment r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D219819
2024-08-29 07:42:33 +00:00
Iulian Moraru
d942e65506
Backed out changeset 2bbc01486e2f (bug 1910796) for causing multiple failures. CLOSED TREE
2024-08-28 04:52:09 +03:00
Mike Hommey
3c3439f403
Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
...
Nightly-only for now.
Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-28 00:36:50 +00:00
Cosmin Sabou
533f81d487
Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE
2024-08-15 15:32:52 +03:00
Mike Hommey
f6ba2bfac7
Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
...
Nightly-only for now.
Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-15 12:00:33 +00:00
Iulian Moraru
b4b3fd36f4
Backed out 3 changesets (bug 1910796) for causing build bustages and mass test failures. CLOSED TREE
...
Backed out changeset bbcbbe6b247d (bug 1910796)
Backed out changeset adde3a9ee0f7 (bug 1910796)
Backed out changeset 2aac134f145f (bug 1910796)
2024-08-13 19:29:38 +03:00
Mike Hommey
abd92818f5
Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
...
Nightly-only for now.
Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-13 15:03:42 +00:00
serge-sans-paille
fe181d29fe
Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-08-01 15:12:50 +00:00
serge-sans-paille
ea70192ce0
Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
...
As a side effect, defaults to empty list for those flags when not set.
Differential Revision: https://phabricator.services.mozilla.com/D216096
2024-08-01 15:12:49 +00:00
Iulian Moraru
6925c01560
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
e16ebe4b87
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
Mike Hommey
2eb5d6abc3
Bug 1908833 - Remove ZLIB_IN_MOZGLUE. r=firefox-build-system-reviewers,ahochheiden
...
It's not used on Android anymore, which was the last remaining thing
that would set it.
Differential Revision: https://phabricator.services.mozilla.com/D217349
2024-07-23 22:05:38 +00:00
Mike Hommey
d1ea1738a2
Bug 1908833 - Don't set ZLIB_IN_MOZGLUE when MOZ_LINKER is enabled. r=firefox-build-system-reviewers,ahochheiden
...
The linker hasn't been using zlib since bug 1875218.
Differential Revision: https://phabricator.services.mozilla.com/D217347
2024-07-23 22:05:37 +00:00
Cristina Horotan
737fe5c28e
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
serge-sans-paille
df4c924796
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
Mike Hommey
3f676b08e4
Bug 1908832 - Remove js_shared from python configure. r=firefox-build-system-reviewers,ahochheiden
...
It was added in bug 1747501, but it was actually a typo. It should have
been `shared_js`, because that's what exists in `js/moz.configure`.
Considering things have been working fine for more than 2 years and a
half without it set as initially intended, it's not worth fixing. Let's
just remove it.
Differential Revision: https://phabricator.services.mozilla.com/D217059
2024-07-22 23:55:32 +00:00
serge-sans-paille
f5d7532cf3
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
1a012901e3
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
2bcd03ccec
Bug 1905596 - Move BIN_SUFFIX and HOST_BIN_SUFFIX from old-configure to moz.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D215377
2024-07-03 19:50:08 +00:00
serge-sans-paille
930151be4f
Bug 1903040 - Move Child Process Name for IPC checks from old-configure to moz.configure r=glandium
...
Also limit some variables related to OSX to that specific scope.
Differential Revision: https://phabricator.services.mozilla.com/D213959
2024-06-24 07:36:55 +00:00
Makoto Kato
c2a2c9c5b4
Bug 1899444 - Part 2. Move --disable-icu4x to JS standalone. r=spidermonkey-reviewers,platform-i18n-reviewers,firefox-build-system-reviewers,glandium,anba
...
After landing bug 1824671, Gecko always requires ICU4X. So I would like to
move `--disable-icu4x` options to JS standalone.
Differential Revision: https://phabricator.services.mozilla.com/D214066
2024-06-20 03:05:16 +00:00
serge-sans-paille
cebe24d4a1
Bug 1900369 - Move substitution that don't require checks from old-configure to moz.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D212619
2024-06-10 14:07:13 +00:00
serge-sans-paille
68b573d544
Bug 1896116 - Move icf check code to moz.configure r=glandium
...
While we're at it, also make it possible to activate icf in
developer mode, while not changing the default.
Also remove mentions to LD_PRINT_ICF_SECTIONS as it was never
referenced.
Differential Revision: https://phabricator.services.mozilla.com/D210037
2024-06-10 13:09:50 +00:00
ahochheiden
944dea40d3
Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
...
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.
Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-23 23:55:38 +00:00
Iulian Moraru
fb07f0e56d
Backed out changeset 78c755371e44 (bug 1776255) for causing artifact build bustages related to Necko WiFi scanning. CLOSED TREE
2024-05-23 04:50:13 +03:00
Mike Hommey
fdb1e5adae
Bug 1870059 - Add a moz.build hook. r=firefox-build-system-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D211105
2024-05-23 01:13:55 +00:00
ahochheiden
bccf57209c
Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
...
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.
Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-22 23:38:25 +00:00
serge-sans-paille
ffca6a38ab
Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D201942
2024-02-28 11:11:17 +00:00
serge-sans-paille
9d611eda69
Bug 1880420 - Move __thread detection to moz.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D201937
2024-02-28 11:11:17 +00:00
serge-sans-paille
3f32844ecd
Bug 1880103 - Move dead_strip linker check to moz.configure r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D201724
2024-02-28 11:11:16 +00:00
serge-sans-paille
4e4e9db54a
Bug 1853564 - Look for install_name_tool in addition to install-name-tool and llvm-install-name-tool r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D194086
2024-01-24 06:54:58 +00:00
Logan Rosen
45be05a920
Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Makoto Kato
336f84f462
Bug 1719535 - Part 7. Build ICU4X as default. r=firefox-build-system-reviewers,platform-i18n-reviewers,glandium,dminor
...
Depends on D167674
Differential Revision: https://phabricator.services.mozilla.com/D167676
2023-08-07 06:23:58 +00:00
Sandor Molnar
be1aa58702
Backed out 14 changesets (bug 1719535) for causing mochitest failures in accessible/tests/browser/mac/browser_text_basics.js CLOSED TREE
...
Backed out changeset 338c2c8d91af (bug 1719535)
Backed out changeset 3fdb2e999aba (bug 1719535)
Backed out changeset 63b9d2064827 (bug 1719535)
Backed out changeset 09c216cdbbc8 (bug 1719535)
Backed out changeset 29977dc00fb3 (bug 1719535)
Backed out changeset d3f8850a343b (bug 1719535)
Backed out changeset 90f1f621031f (bug 1719535)
Backed out changeset 52ca9bdc5bd4 (bug 1719535)
Backed out changeset 94536f0d5a1f (bug 1719535)
Backed out changeset d615264f9f5f (bug 1719535)
Backed out changeset f16f9e583378 (bug 1719535)
Backed out changeset e1abdee07587 (bug 1719535)
Backed out changeset 45f9ad406428 (bug 1719535)
Backed out changeset caa2b8a731dc (bug 1719535)
2023-08-02 14:55:26 +03:00
Makoto Kato
6a9717760f
Bug 1719535 - Part 7. Build ICU4X as default. r=firefox-build-system-reviewers,platform-i18n-reviewers,glandium,dminor
...
Depends on D167674
Differential Revision: https://phabricator.services.mozilla.com/D167676
2023-08-02 10:32:56 +00:00
Mike Hommey
b0e78caf81
Bug 1839743 - Move some things around for them to be available in toolkit/moz.configure. r=firefox-build-system-reviewers,ahochheiden
...
Differential Revision: https://phabricator.services.mozilla.com/D181686
2023-06-27 08:56:17 +00:00
Mike Hommey
aa35eb84e0
Bug 1837122 - Fix typo introduced in bug 1834446. r=firefox-build-system-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D180174
2023-06-07 22:09:25 +00:00
Mike Hommey
d559a9687d
Bug 1834964 - Use the same logic for {llvm-,$toolchain-prefix-,}strip as for many other tools. r=firefox-build-system-reviewers,sergesanspaille
...
Whatever was making things fail with llvm-strip back when using
llvm-strip was made a possibility, doesn't seem to happen anymore, even
with the clang version we were using back then (clang 13).
Differential Revision: https://phabricator.services.mozilla.com/D179040
2023-05-29 20:30:40 +00:00
Mike Hommey
43e5969717
Bug 1834446 - Move otool detection to python configure. r=firefox-build-system-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D178750
2023-05-24 21:27:03 +00:00
Mike Hommey
88d8fb4daf
Bug 1834446 - Move install-name-tool detection to python configure. r=firefox-build-system-reviewers,andi
...
At the same time, fix the sole use of the tool to actually use what's
found by configure, and only enable that configure check when building
Spidermonkey standalone.
And while we're here, add llvm-install-name-tool to the list.
Differential Revision: https://phabricator.services.mozilla.com/D178749
2023-05-24 21:27:03 +00:00
Mike Hommey
8dafe5d296
Bug 1834446 - Find dsymutil in the clang directory automatically. r=firefox-build-system-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D178747
2023-05-24 21:27:03 +00:00
Mike Hommey
800f4b3d59
Bug 1832209 - Remove a bunch of unused add_old_configure_assignment. r=firefox-build-system-reviewers,ahochheiden
...
- Last use of CROSS_COMPILE was removed in bug 1460620,
- Last use of EARLY_BETA_OR_EARLIER was removed in bug 1603834,
- Last use of RELEASE_OR_BETA was removed in bug 1670948,
- Last use of MOZILLA_VERSION was removed in bug 1745838,
- Last use of GNU_AS was removed in bug 1635764,
- Last use of AR was removed in bug 1638193,
- Last use of PKG_CONFIG was removed in bug 1747775,
- Last use of MOZ_DMD was removed in bug 1747970,
- Last use of NSPR_CFLAGS and NSS_CFLAGS were removed in bug 1722652,
- Last use of MOZ_PROFILING was removed in bug 1640578,
- Last use of USE_FC_FREETYPE was removed in bug 1747325,
- Last use of MOZ_FMP4 was removed in bug 1382930,
- Last use of MOZ_WEBSPEECH was removed in bug 1295480,
- MOZ_ASAN_REPORTER doesn't seem to have ever been used,
- Last use of MOZ_THUMB2 and ANDROID_CPU_ARCH were removed in bug 1814802,
- Last use of ARM_ARCH was removed in bug 1747753,
Differential Revision: https://phabricator.services.mozilla.com/D177581
2023-05-10 22:13:13 +00:00
Mike Hommey
b532667c57
Bug 1832205 - Only check perl when we need it. r=firefox-build-system-reviewers,sergesanspaille
...
... which turns out to be limited to configurations that build libopus,
libtheora and libvpx for ARM with GNU as. Nothing else in the tree
remains that is actively using the PERL variable.
Those uses might actually not even need a full perl installation, but
for now, let's go with what's easy.
Differential Revision: https://phabricator.services.mozilla.com/D177579
2023-05-10 22:12:49 +00:00
Mike Hommey
c70fc2b601
Bug 1832182 - Stop passing PERL to old-configure. r=firefox-build-system-reviewers,sergesanspaille
...
The last PERL use was removed from old-configure in bug 1520340.
Differential Revision: https://phabricator.services.mozilla.com/D177565
2023-05-10 21:19:12 +00:00
serge-sans-paille
47c91d59e9
Bug 1830039 - Remove mach support for REQUIRES_UNIFIED_BUILD r=andi,glandium
...
As a consequence, rename hybrid builds into non-unified builds in tree
herder.
Differential Revision: https://phabricator.services.mozilla.com/D176545
2023-05-05 12:10:39 +00:00
Emilio Cobos Álvarez
a57611f454
Bug 1829512 - Remove check_objdir_backend_reuse. r=glandium,firefox-build-system-reviewers
...
Tup is no longer a thing, afaict.
Differential Revision: https://phabricator.services.mozilla.com/D176226
2023-04-25 09:38:54 +00:00
Emilio Cobos Álvarez
f9549465d0
Bug 1829512 - Generate compile db for non-VSCode editors too. r=andi
...
It's useful for virtually all editors.
Also it works with Android builds, so remove that condition.
Differential Revision: https://phabricator.services.mozilla.com/D176225
2023-04-23 06:31:02 +00:00
Ted Campbell
def81309bc
Bug 1823989 - Fix android jsshell builds. r=jandem,firefox-build-system-reviewers,nalexander
...
Stop trying to use system zlib when building standalone SpiderMonkey for Android
targets and instead rely on the mozglue version. Additionally, use 'get_adb_path'
used by other geckoview tests to locate `adb` in a consistent way.
Also do some house-keeping in the documentation and log messages.
Differential Revision: https://phabricator.services.mozilla.com/D173466
2023-03-28 00:44:41 +00:00
Iulian Moraru
fa759d80a3
Backed out changeset c1e85a761778 (bug 1823989) for causing android jittest failures.
2023-03-25 00:07:48 +02:00