Commit graph

73 commits

Author SHA1 Message Date
the_r3dacted
a2e7956338 Set lgwin to 0 2025-09-27 20:57:41 -07:00
roytam1
d27ddaffd7 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-05 10:39:53 +08:00
Sergey Fedorov
2d4a8d7959 constants.py: fix powerpc arch detection 2024-08-05 10:28:53 +08:00
roytam1
a944026bae Merge remote-tracking branch 'origin/tracking' into custom 2024-04-02 22:57:21 +08:00
FranklinDM
656ee639c5 Issue #2112 - Part 1: Remove Stylo tests 2024-04-02 22:29:48 +08:00
roytam1
dd337fad41 Merge remote-tracking branch 'origin/tracking' into custom 2023-11-10 15:33:35 +08:00
athenian200
42db0b335f Issue #1824 - Support SunOS Linker mapfiles.
Generating OS-appropriate mapfiles from a provided SYMBOL_FILE is
apparently required to work with newer ffvpx. Nothing else in our
codebase actually seemed to require it. Also seems to reduce the amount
of console spam I see relating to symbol visibility during the build
process, and I think it even makes libxul.so link a bit faster.

Signed-off-by: athenian200 <athenian200@outlook.com>
2023-11-10 15:32:11 +08:00
roytam1
119feb053c Revert "Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC"
This reverts commit 9e7d1492e6.
2023-09-18 21:32:06 +08:00
roytam1
0c6e087291 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-14 11:09:14 +08:00
Matheus Marinho
9e7d1492e6 Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
roytam1
92d9218cf1 Merge remote-tracking branch 'origin/tracking' into custom 2023-08-31 22:43:48 +08:00
Matheus Marinho
8ea70e0eac Bug 1274518 - Add IPDL preprocessing support
Co-authored-by: Kai-Zhen Li <seinlin.maung@gmail.com>
2023-08-31 22:38:07 +08:00
roytam1
56216e737f Merge remote-tracking branch 'origin/tracking' into custom 2023-07-14 10:22:44 +08:00
Brian Smith
eb2cca7242 Issue #2268 - Fix Mac packaging by making the individual parts configurable. Add --with-macbundle-entitlement= to specify alternate entitlements or "none" Add --with-macbundle-type=hybrid to use the old DMG format. 2023-07-14 10:16:37 +08:00
roytam1
e70aa9a4a1 Merge remote-tracking branch 'origin/tracking' into custom 2023-05-10 11:57:40 +08:00
Brian Smith
fae36a95ec No Issue - Updates to Mac packaging for notarization. Add Mac entitlements. Switch to using "create" instead of "makehybrid" when creating the disk image. This fixes bogus extended attributes which interfere with the code signature. Finally add any -bin or dylibs in the Resources folder since --deep skips that folder. 2023-05-10 11:57:07 +08:00
roytam1
85f6a49297 Merge remote-tracking branch 'origin/tracking' into custom 2023-03-15 22:52:23 +08:00
Brian Smith
3d2a4f4066 Issue #2160 - Initial support for notarizing during DMG package. Added --with-macbundle-idenity configure option to set a codesign identity. If no identity is set or cross-compiling from Linux no codesigning will be done. Currently doing a full deep bundle v2 sign, instead of limited v1. 2023-03-15 22:49:40 +08:00
roytam1
fc9eb6a1b3 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-21 08:21:33 +08:00
FranklinDM
b7d80962d0 No issue - Improve fallback handling and resolve PATH issues with python clobber command 2023-02-21 08:21:00 +08:00
roytam1
120ac6d556 Merge remote-tracking branch 'origin/tracking' into custom 2022-12-30 09:29:56 +08:00
FranklinDM
9c51368727 Issue #2065 - Part 5: Fix incorrect inclusion of base file name in destination path for generated FasterMake track files
I'm not sure about what they had in mind when they first wrote this, but this is completely unnecessary. The base name is the file name. This part will break building with `mach faster` once partial filenames with wildcards are included in the package manifest, which became the case when we began supporting the newer MSVC runtime.

This also aligns FasterMake with how RecursiveMake treats wildcard copy directives.

They fixed this in bug 1416465, but it included a conditional that will almost always be true and kept this incorrect joining of the path and base name in the destination path. Since the value for the base name is either empty or contains a partial file name, that conditional effectively does nothing.
2022-12-30 09:20:41 +08:00
FranklinDM
558b83975c Issue #2065 - Part 3: Process install manifests with --track in the recursive make backend
This excludes parts that remove support for building the Mozilla SDK.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1390916
2022-12-30 09:20:05 +08:00
FranklinDM
b67d7520b6 Issue #2065 - Part 2: Expand pattern when track file is created rather than read
This fixes build bustage on Windows when using `mach build faster`.

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1416465
2022-12-30 09:17:33 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +08:00
Moonchild
d356440fa3 Issue #21 - Remove unused telemetry build variables.
Hard-code the values in AppConstants.jsm for compatibility, even if
nobody should actually be using this in extensions or what not.
2022-04-28 10:37:10 +08:00
roytam1
96fb72ec56 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-19 22:11:35 +08:00
Moonchild
6c1c2339bc Issue #1859 - Part 6: Update mach mar to accept --bz2 for old style MAR
So we can build bzip2 MARs for selectively updating older versions of
the applications that don't understand xz.
2022-04-19 22:05:01 +08:00
roytam1
c45d02ceb2 mozbuild: remove tilde char from special character blacklist as win32 short path contains tilde character. 2021-09-23 00:22:57 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Olivier Certner
d094352ddf Issue #1761 - Enable use of Tauthon instead of Python 2.7 at build
Make essential Tauthon's builtins and modules available in sandboxes, without
disrupting building with Python 2.7.

1. Allow new builtins and modules. "__build_class__" is for
building... new-style classes (to handle the new metaclass syntax imported from
3.x). "_oserror" is necessary because of internal changes to raise errors
deriving from OSError (which are reported as IOError if not caught).
2. Look for modules and packages in the right places.

This was tested on FreeBSD, and should work out of the box on Linux.
2021-04-10 17:16:32 +08:00
Moonchild
50653a7c4c Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-11 10:13:09 +08:00
Matt A. Tobin
e31680357e Issue #251 - Move chrome packaging options to ac configure
Also adds options for new functionality in #1683
2020-11-19 21:11:41 +08:00
Moonchild
d0dbdf4e8b [packager] Optimize archive accesses. 2020-11-16 21:10:25 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
wolfbeast
eabcbe5672 [AM] Clean up addon-signing build leftovers. 2020-05-02 08:23:23 +08:00
New Tobin Paradigm
011949484d Issue #1497 - Re-implement an un-preprocessed file check 2020-04-11 09:40:28 +08:00
wolfbeast
744b768ede Issue #1497 Revert "Check if there are any unpreprocessed files"
This reverts PR #429
2020-04-03 09:23:26 +08:00
wolfbeast
be6ba06651 Issue #1497 Revert "MoonchildProductions#1251 - Part 19"
"Make the unpreprocessed file script work on Solaris."

This reverts commit e51afbcc2fe7360bbcf5654f6e31752c48098ca0.
2020-04-03 09:23:23 +08:00
Matt A. Tobin
648b7278f6 Issue #1477 - Fix finding config.guess on builds not using MOZ_OBJDIR
* So far this seems to only affect Macintosh builds but other unix builds may be affected. Windows doesn't seem to be.
* This maintains consistency with other one-off file invocations and backwards compatibility with older comm setups
2020-03-20 08:58:07 +08:00
Matt A. Tobin
ecbe2bbe25 Issue #1470 - Part 3: Remove now unused update.locale
This requires changes to package-manifest in all applications
2020-03-13 10:16:47 +08:00
Matt A. Tobin
2aca38b372 Issue #1359 - Pointlessly rename greprefs.. again. 2020-01-24 09:28:10 +08:00
wolfbeast
48adbfd454 Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-20 09:07:26 +08:00
Matt A. Tobin
36914a3c5c No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations 2019-12-02 15:46:28 +08:00
Matt A. Tobin
2ddb294c26 Issue #1303 - Add langpack generation targets for Pale Moon and Basilisk
* The langpack is not generated via the package target but IS for mozpackage target using old behavior
* Add mach command to specifically generate the langpack when needed without the rest of the packaging routine (mach langpack)
2019-11-29 11:36:36 +08:00
Matt A. Tobin
94b1e61383 No Issue - Use alternative packaging for Pale Moon and Basilisk
* This adds what will eventually be a rewritten packaging routine while maintaining backwards compatibility with the original mozilla routine
* Changes the build target and installer makefile to use the alternative packaging
* Adds build target to specifically invoke the original mozilla routine
* Update mach commands accordingly
2019-11-28 10:32:44 +08:00
Matt A. Tobin
ac1fe973f4 [Mach] Add stage command to execute stage-package 2019-11-15 14:24:10 +08:00
athenian200
362f15fbfc MoonchildProductions#1251 - Part 19: Make the unpreprocessed file script work on Solaris.
https://www.tachytelic.net/2019/01/grep-recursively/

During testing, I tried simply replacing grep with ggrep, which was non-portable but worked fine. Using an environment variable with os.getenv set to 'g' also worked, but the problem with that approach is that you have to set it manually and some times the script will mess up if you don't explictly define it to an empty string for platforms that don't need it.

Setting TOOLCHAIN_PREFIX to 'g' seemed to solve all of my problems except this one, and it appears to be the only non-portable use of GNU grep in the whole tree. To understand what I tried to do here, let me present with you with two commands that yield the same output on my machine:

find . -name '*.xul' | xargs grep -E "#include"

ggrep -E -r "#include" --include="*.xul" .

I just tried to make the Python script follow the logic of those two commands, though I'm not sure how well I succeeded since I got no errors. I visualized everything this way:

ggrep -E -r "<strings>" --include="<filesuffixes>" <path>

find <path> -name '<filesuffixes>' | xargs grep -E "<strings>"

And arranged it all accordingly to the best of my ability, though I should point out that Python is not my strong suit.
2019-11-04 11:53:54 +08:00