gecko-dev/build
Mike Hommey 4dbe34f810 Bug 1730825 - Build NSIS as a relocatable binary. r=firefox-build-system-reviewers,andi
The reason the error mentioned in build-mingw32-nsis.sh happens is that
the default mode NSIS builds in is a fully-installed mode, where it
hardcodes the locations of its data files. This is why nsis needs to
be used from the same place it's built for. But there's another mode,
enabled with NSIS_CONFIG_CONST_DATA_PATH=no, that makes it relocatable,
and makes it find its data files relatively to the nsis binary.

However, there's a bug in the nsis build scripts, which makes the nsis
binary installed in the destination directory instead of a bin/
subdirectory, while the source code itself looks for data files relative
to the parent directory of the directory that contains the executable.
So we need to set PREFIX_BIN to force the executable to be installed in
a bin/ subdirectory.

There is also an issue in nsis itself when it's executed by anything
other than a shell, which we patch out.

Differential Revision: https://phabricator.services.mozilla.com/D125638
2021-09-15 08:33:06 +00:00
..
autoconf Bug 1726544 - Only remove --gc-sections when LIBFUZZER_FLAGS is actually used. r=firefox-build-system-reviewers,mhentges 2021-08-24 21:17:15 +00:00
build-clang Bug 1730078 - Build clang stage 1 with system gcc. r=firefox-build-system-reviewers,mhentges 2021-09-15 02:39:53 +00:00
build-infer Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi 2021-09-08 23:46:51 +00:00
build-rust Bug 1723016 - Update builders to rustc 1.54. r=firefox-build-system-reviewers,nalexander 2021-08-03 02:03:32 +00:00
clang-plugin Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
compare-mozconfig
debian-packages Bug 1729401 - Upgrade valgrind to 3.17.0. r=firefox-build-system-reviewers,mhentges 2021-09-08 00:34:54 +00:00
docs Bug 1717051: Rename "mach_bootstrap.py" to "mach_initialize.py" r=firefox-build-system-reviewers,glandium 2021-09-03 20:46:22 +00:00
gyp_includes
liblowercase Bug 1703223 - Hook stat/stat64 in liblowercase. r=glandium 2021-04-13 09:23:54 +00:00
macosx Bug 1729611 - Remove the separate llvm-dsymutil toolchain. r=firefox-build-system-reviewers,mhentges 2021-09-09 00:11:47 +00:00
moz.configure Bug 1717104: VirtualenvManager should not allow mixing pythons r=ahal 2021-09-13 15:42:54 +00:00
package/mac_osx
pgo Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf 2021-08-24 01:25:07 +00:00
sanitizers Bug 1695285 - Pass ASan/UBSan flags to cargo for native builds. r=firefox-build-system-reviewers,glandium 2021-03-18 20:46:55 +00:00
sparse-profiles Bug 1717104: Align virtualenv_name with requirements definition r=ahal 2021-09-13 15:42:53 +00:00
tests/cram
unix Bug 1730078 - Build binutils with system gcc. r=firefox-build-system-reviewers,mhentges 2021-09-15 02:39:51 +00:00
valgrind Bug 1728618 - Suppress false positive valgrind uninitialized value error. r=gfx-reviewers,aosmond 2021-09-07 07:35:35 +00:00
win32 Bug 1730825 - Build NSIS as a relocatable binary. r=firefox-build-system-reviewers,andi 2021-09-15 08:33:06 +00:00
win64 Bug 1729820 - Remove unused Compositor::DrawDiagnostics(). r=gfx-reviewers,lsalzman 2021-09-10 02:17:49 +00:00
win64-aarch64
workspace-hack Bug 1705376: Synchronize workspace-hack features and usage r=firefox-build-system-reviewers,glandium 2021-04-29 15:19:27 +00:00
__init__.py
.gdbinit Bug 1730022 - Improve debuggability of nsIContent. r=smaug 2021-09-10 16:39:15 +00:00
.gdbinit.loader
.gdbinit.py.in
.lldbinit.in Bug 1695051 - Add /security to .lldbinit. r=aklotz 2021-03-02 20:39:12 +00:00
appini_header.py
application.ini.in Bug 1675676 - Add --with-crashreporter-url for ac_add_options to allow specifying alternative crash-stats server url. r=glandium,gsvelto 2021-02-24 09:46:59 +00:00
binary-location.mk
build_virtualenv_packages.txt Bug 1712133: Remove "pth" name customization r=ahal 2021-06-17 14:58:16 +00:00
buildconfig.py
cargo-host-linker
cargo-host-linker.bat
cargo-linker
cargo-linker.bat
checksums.py
common_virtualenv_packages.txt Bug 1724274: Don't allow Thunderbird requirements to include PyPI pkgs r=ahal 2021-09-13 15:42:52 +00:00
defines.sh
docs_virtualenv_packages.txt Bug 1717104: Align virtualenv_name with requirements definition r=ahal 2021-09-13 15:42:53 +00:00
dumbmake-dependencies
gecko_templates.mozbuild
gen_symverscript.py
gen_test_packages_manifest.py
gn.mozbuild
gyp_base.mozbuild Bug 1698669 - Fix gyp target_arch for little-endian powerpc64. r=firefox-build-system-reviewers,mhentges 2021-04-16 01:01:11 +00:00
gyp.mozbuild
mach_initialize.py Bug 1717051: Consolidate state_dir creation r=firefox-build-system-reviewers,glandium 2021-09-03 20:46:23 +00:00
mach_virtualenv_packages.txt Bug 1712151: Bump glean-sdk version to 40.0.0 r=ahal 2021-09-03 15:22:21 +00:00
midl.py
moz-automation.mk
moz.build Bug 1724830 - Remove MOZ_LIBSTDCXX_*_VERSION. r=firefox-build-system-reviewers,andi 2021-08-10 21:16:18 +00:00
mozconfig.artifact
mozconfig.artifact.automation
mozconfig.automation
mozconfig.cache
mozconfig.clang-cl
mozconfig.comm-support
mozconfig.common Bug 1712633 - Set MOZ_REQUIRE_SIGNING appropriately by default. r=firefox-build-system-reviewers,mhentges 2021-05-25 20:00:05 +00:00
mozconfig.common.override
mozconfig.lld-link
mozconfig.no-compile
mozconfig.rust
mozconfig.win-common
non-unified-compat Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley 2021-09-03 16:52:08 +00:00
psutil_requirements.in Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
psutil_requirements.txt Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
python-test_virtualenv_packages.txt Bug 1717104: Align virtualenv_name with requirements definition r=ahal 2021-09-13 15:42:53 +00:00
qemu-wrap
RunCbindgen.py Bug 1726373 - Fail the build when Cargo.lock is modified. r=firefox-build-system-reviewers,mhentges 2021-08-18 21:55:15 +00:00
templates.mozbuild Bug 1700534 - Coalesce RLBox wasmboxed libraries. r=firefox-build-system-reviewers,shravanrn,bholley,andi,mhentges 2021-06-22 05:31:33 +00:00
update-settings.ini
upload_generated_sources.py
upload.py
variables.py
windows_toolchain.py Bug 1696285 - update windows_toolchain.py to run with Python 3. r=firefox-build-system-reviewers,andi,mhentges 2021-03-05 16:19:35 +00:00
zstandard_requirements.in Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
zstandard_requirements.txt Bug 1695773 - Upgrade python-zstandard to 0.15.2. r=firefox-build-system-reviewers,mhentges 2021-03-09 00:19:12 +00:00