gecko-dev/build
Rob Wu 2506b7584c Bug 1680862 - Use fixed cwd in old.configure for m4 includes r=mhentges
js/src/aclocal.m4 contains includes starting with `../../`.
As explained in https://bugzilla.mozilla.org/show_bug.cgi?id=1680862#c8,
m4 will first try to resolve this path relative to the working directory
and only if that path doesn't exists, fall back to the location set by
`localdir` (from `-I`).

The working directory is usually MOZ_OBJDIR, an immediate subdirectory
of topsrcdir, so `../../` resolves to a location outside of topsrcdir.
Usually, that path does not exist, and m4 falls back to `localdir` that
was passed via `-I`.

But if that path existed and is incompatible with the current Gecko
checkout, then the build will fail (see bug report). To prevent this
from happening, this patch fixes the working directory to `localdir`,
so that m4 will immediately find the expected file.

Differential Revision: https://phabricator.services.mozilla.com/D101500
2021-01-14 18:15:12 +00:00
..
autoconf Bug 1677797 - Change autoconf to avoid using a hard-coded file descriptor r=glandium 2020-12-08 22:04:09 +00:00
build-clang Bug 1686516 - Remove unused files clang-win64.json and clang-win64-2stage.json r=firefox-build-system-reviewers,mhentges DONTBUILD 2021-01-13 19:17:04 +00:00
build-infer Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
build-rust Bug 1680124 - add example patch file for rust builds. r=dmajor 2020-12-08 19:53:17 +00:00
clang-plugin Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
compare-mozconfig Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
debian-packages Bug 1681441 - Update valgrind package to Debian's 3.16.1. r=firefox-build-system-reviewers,mhentges 2020-12-09 15:50:05 +00:00
docs Bug 1685788 - Add AArch64 as a supported architecture for macOS. r=sylvestre DONTBUILD 2021-01-08 20:05:03 +00:00
gyp_includes
liblowercase
macosx Bug 1680152 - Bump macos SDK to 10.12. r=spohl,firefox-build-system-reviewers,mhentges 2020-12-02 21:50:28 +00:00
mobile Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
moz.configure Bug 1680862 - Use fixed cwd in old.configure for m4 includes r=mhentges 2021-01-14 18:15:12 +00:00
package/mac_osx
pgo Bug 1686615 - replace pgo certs. r=kjacobs 2021-01-14 17:35:18 +00:00
sanitizers Bug 1656526 - Add resolver_64.cc to asan_blacklist_win.txt r=dmajor 2020-09-15 14:50:26 +00:00
sparse-profiles Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00
tests/cram
unix Bug 1685599 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges 2021-01-08 18:51:52 +00:00
valgrind Bug 1678917 - Make glxtest fail more gracefully. r=rmader 2020-12-01 11:52:14 +00:00
win32 Bug 1681540 - Regenerate linker order files, December 2020 edition r=firefox-build-system-reviewers,mhentges 2020-12-17 18:24:50 +00:00
win64 Bug 1685599 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges 2021-01-08 18:51:52 +00:00
win64-aarch64
workspace-hack Bug 1682262 - Update neqo to 0.4.18 and bindgen to 0.56 r=necko-reviewers,emilio,valentin 2020-12-14 18:38:49 +00:00
__init__.py
.gdbinit
.gdbinit.loader
.gdbinit.py.in Bug 1671251: Don't forget to 'import os' in build/.gdbinit.py.in. r=sfink 2020-10-14 23:32:56 +00:00
.lldbinit.in Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince 2020-07-31 20:27:54 +00:00
appini_header.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
application.ini.in Backed out 2 changesets (bug 1675676) for sending crash reports on wrong host. a=backout DONTBUILD 2020-12-11 11:22:27 +02:00
binary-location.mk
build_virtualenv_packages.txt Bug 1663755 - Remove inherit-from-parent-environment implementation r=ahal 2020-09-11 22:14:41 +00:00
buildconfig.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
cargo-host-linker
cargo-host-linker.bat
cargo-linker
cargo-linker.bat
checksums.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
common_virtualenv_packages.txt Bug 1683161 - Update mach venv path to include pywebsocket, r=firefox-build-system-reviewers,mhentges 2020-12-17 21:37:56 +00:00
defines.sh
dumbmake-dependencies
gecko_templates.mozbuild
gen_symverscript.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
gen_test_packages_manifest.py Bug 1682829 - Automate a fuzzing smoke test in the CI r=decoder 2020-12-17 13:22:16 +00:00
genrc.sh
glean_requirements.in Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00
glean_requirements.txt Bug 1686279: Support Python 3.6 with glean_parser r=sheehan 2021-01-12 21:36:11 +00:00
gn.mozbuild
gyp_base.mozbuild
gyp.mozbuild Bug 1680837 - Fix libFuzzer gyp flags for nICEr. r=dmajor 2020-12-10 18:29:11 +00:00
mach_bootstrap.py Bug 1680051: Ignore error when removing old psutil directory r=firefox-build-system-reviewers,dmajor 2020-12-01 17:40:10 +00:00
mach_virtualenv_packages.txt Bug 1656993: Create and require by default global virtualenvs in ~/.mozbuild for mach r=mhentges,ahal 2020-08-17 17:21:02 +00:00
midl.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
moz-automation.mk
moz.build Bug 1685599 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges 2021-01-08 18:51:52 +00:00
mozconfig.artifact Bug 1654994 - Make full symbols archive opt-in rather than opt-out. r=froydnj 2020-07-31 10:01:54 +00:00
mozconfig.artifact.automation
mozconfig.automation
mozconfig.cache
mozconfig.clang-cl
mozconfig.comm-support
mozconfig.common
mozconfig.common.override
mozconfig.lld-link
mozconfig.nasm
mozconfig.no-compile Bug 1669642 - Rename LLVMCONFIG to LLVM_CONFIG and derive it like we do for LLVM_OBJDUMP. r=firefox-build-system-reviewers,andi,rstewart 2020-10-07 22:36:49 +00:00
mozconfig.node
mozconfig.rust
mozconfig.wasm-sandboxing
mozconfig.win-common Bug 1654994 - Stop setting up makecab for the build. r=firefox-build-system-reviewers,rstewart 2020-07-31 10:01:53 +00:00
non-unified-compat Bug 1683561 - Make accessibility buildable outside of unified-build environment. r=sg 2021-01-05 09:47:12 +00:00
psutil_requirements.in Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00
psutil_requirements.txt Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00
qemu-wrap
RunCbindgen.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
submit_telemetry_data.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
templates.mozbuild
test_templates.mozbuild
update-settings.ini
upload_generated_sources.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
upload.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
variables.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
windows_toolchain.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
zstandard_requirements.in Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00
zstandard_requirements.txt Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges 2020-12-16 21:02:02 +00:00