Commit graph

24 commits

Author SHA1 Message Date
athenian200
afb2e3a054 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-11-04 11:52:17 +08:00
athenian200
f7e2b86c94 MoonchildProductions#1251 - Part 2: Make the mozconfig loader POSIX-compliant.
https://bugzilla.mozilla.org/show_bug.cgi?id=1360571

Solaris uses ksh as the default shell, and furthermore bash doesn't seem to support the 'local' keyword feature when invoked as sh on OpenIndiana. We could just change the script to use bash (it is an option even on Solaris), but this fix is available and Mozilla has been using it since Firefox 55 with no issues on any other platforms. It was specfically done this way to avoid any need to change existing mozconfig files, so I feel confident saying the change is totally benign and if anything the way it is now is technically a POSIX compliance issue inherited from Mozilla that we'll hit if we ever try to compile this on any Unix platform where bash isn't sh.
2019-11-04 11:52:14 +08:00
JustOff
2999a8e031 Fix false positives in the preprocessor-checker 2019-02-16 00:22:47 +08:00
wolfbeast
20acf1e808 Flush some more buildlog output to screen when prudent. 2019-02-16 00:13:39 +08:00
trav90
cfdaeb9645 Shell quote environment variable values when dumping them in dump_env.py
The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
2019-02-16 00:10:53 +08:00
wolfbeast
9879cbdd88 Make sure the waiting message is actually displayed. 2019-02-16 00:02:05 +08:00
JustOff
5dd561425b Don't search for directives that are never used alone 2019-02-16 00:00:22 +08:00
JustOff
c7ed9dfd46 Refine the file extensions even more 2019-02-16 00:00:20 +08:00
JustOff
51d60c1b89 Update the list of directives and file extensions for check 2019-02-16 00:00:19 +08:00
JustOff
f13c934a8f Check if there are any unpreprocessed files 2019-02-16 00:00:17 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
d37246737b Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2019-02-15 23:44:10 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
wolfbeast
29af2b9023 Get rid of link to irrelevant information after build. 2019-02-15 23:39:50 +08:00
wolfbeast
963560a1d2 Remove Rust from the tree.
Part 4 for #58
2019-02-15 23:36:42 +08:00
janekptacijarabaci
54f2e6eafd DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2019-02-15 23:34:40 +08:00
NTD
b4c6885d32 Remove MOZ_MULET 2019-02-15 23:34:18 +08:00
wolfbeast
29c96b568b Pick up major+minor milestone version from GRE milestone file. 2019-02-15 23:33:01 +08:00
NTD
943b6627ef Add mach installer and mach mar for Windows Installer and MAR file generation 2019-02-15 23:32:37 +08:00
trav90
1eecf39f2b Require at least GCC 4.9 to build 2019-02-15 23:28:57 +08:00
NTD
28bbfef589 Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP 2019-02-14 14:35:08 +08:00
NTD
30d5f081aa Use UTC where appropriate in python files 2019-02-14 14:28:19 +08:00
NTD
0066c408f1 Preprocessor warnings should not be fatal errors 2019-02-14 14:28:14 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00