gecko-dev/build
Justin Wood 605aa0fa02 Bug 1473498 - More support for py3. r=firefox-build-system-reviewers,mshal
This patch makes BuildEnvironmentNotFoundException a subclass of AttributeError as well, because hasattr in
python3 no longer catches all tracebacks but only AttributeError, and we use both hasattr and
BuildEnvironmentNotFoundException to guard against a handful of buildconfig variables in a few places
where it is OK to not have a buildenvironment.

We also use universal_newlines in real_host in init.configure (since I found
that fix while working on the AttributeError one) so that we get the right string type back from the process call

Lastly this patch also uses BytesIO for calling into a ReducedConfigureSandbox as its stdout and stderr pipes,
This ensures that related code handling the sandbox doesn't complain about getbuffer() missing in StringIO in py3.

Differential Revision: https://phabricator.services.mozilla.com/D36605

--HG--
extra : moz-landing-system : lando
2019-08-06 21:26:54 +00:00
..
autoconf Bug 1568452 - Move ANDROID and ANDROID_PLATFORM to moz.configure r=froydnj 2019-07-24 13:41:20 +00:00
build-clang Bug 1571576 - Flush stderr before running subprocesses in build-clang. r=nalexander 2019-08-07 13:54:22 +09:00
build-infer
clang-plugin Bug 1570564 - Convert build-clang.py to python 3. r=froydnj 2019-08-02 19:06:20 +09:00
compare-mozconfig Bug 1521584: [win64-aarch64] Add win64-aarch64 release mozconfigs; r=froydnj 2019-01-26 09:50:27 +00:00
debian-packages Bug 1569355 - Upgrade python-zstandard to 0.11.1. r=tomprince 2019-07-30 14:49:16 +09:00
docs Bug 1558598 - Ensure mozinfo correctly detects WebRender. r=ahal 2019-06-29 09:51:14 +00:00
gyp_includes
macosx Bug 1357317 - Add an rpath to cctools such that it doesn't require LD_LIBRARY_PATH at run-time. r=nalexander 2019-07-16 20:54:42 +00:00
mobile Bug 1559103 - RemoteAutomation should call parent class init first, r=gbrown. 2019-06-13 13:54:18 +00:00
moz.configure Bug 1473498 - More support for py3. r=firefox-build-system-reviewers,mshal 2019-08-06 21:26:54 +00:00
package/mac_osx
pgo Bug 1553864 - Clean up some VS2015 PGO build config code r=nalexander 2019-06-03 20:30:31 +00:00
pymake
sanitizers Bug 1555205 - Move db/sqlite3 to third_party/; r=mak 2019-05-29 10:16:29 +00:00
sparse-profiles Bug 1564256 - Part 2: Produce browsertime.zip in a toolchain task. r=mshal 2019-07-24 20:59:55 +00:00
tests/cram Backed out changeset 9567622873d6 (bug 1325897) for causing Toolchains stackwalks bustages CLOSED TREE 2019-04-02 05:36:23 +03:00
unix Bug 1571596 - Repack GCC and related source tarballs. r=nalexander 2019-08-07 13:54:27 +09:00
valgrind Bug 1492121 - Suppress dlopen leak triggered by next patch - r=njn 2019-06-06 06:20:23 +00:00
win32 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
win64 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
win64-aarch64 Bug 1523540 - Remove WIN64_LIB and WIN64_LINK. r=ted 2019-01-30 21:46:39 +00:00
workspace-hack Bug 1552695 - Part 1: Deduplicate syn and quote. r=froydnj 2019-05-20 12:21:20 +00:00
__init__.py
.gdbinit_python.in Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.lldbinit.in Bug 1525968 - Post: Make $topobjdir/.lldbinit reference full build symbols on Android. r=froydnj 2019-03-27 22:37:58 +00:00
appini_header.py
application.ini.in
automation.py.in Bug 1539603 - Remove obsolete references to MediaPipelineFactory logging; r=jmaher 2019-03-28 00:13:48 +00:00
binary-location.mk
buildconfig.py
cargo-host-linker Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-host-linker.bat Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-linker Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
cargo-linker.bat Bug 1524396 - Unify how target/host linker/flags are passed to rust. r=chmanchester 2019-03-22 11:05:18 +00:00
checksums.py
defines.sh
dumbmake-dependencies
gecko_templates.mozbuild Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor 2019-01-14 16:58:34 +00:00
gen_automation.py
gen_symverscript.py
gen_test_packages_manifest.py
genrc.sh
gn.mozbuild
gyp_base.mozbuild
gyp.mozbuild
mach_bootstrap.py Bug 1473498 - Fix Python 3 environment variables with subprocess r=glandium 2019-07-30 21:35:53 +00:00
merge_profdata.py Bug 1553972 - make --with-pgo-profile-path take a directory; r=nalexander 2019-05-24 01:53:59 +00:00
moz-automation.mk
moz.build Bug 1548137 - Change bug component for build/mobile; r=jmaher 2019-04-30 22:45:44 +00:00
mozconfig.artifact Bug 1537707 - Don't use full build symbols artifacts when MOZ_DISABLE_FULL_SYMBOLS is set. r=chmanchester 2019-03-23 09:29:25 +09:00
mozconfig.artifact.automation Bug 1530908 - Always set USE_ARTIFACT from taskcluster for artifact builds. r=chmanchester 2019-03-06 22:48:30 +00:00
mozconfig.automation
mozconfig.cache Bug 1553339 - Abandon "2" in name of sccache toolchain artifacts. r=nalexander 2019-05-22 21:06:16 +00:00
mozconfig.clang-cl Bug 1523145 - Remove mk_export_correct_style. r=froydnj 2019-01-28 21:06:01 +00:00
mozconfig.comm-support no bug - fix spelling of 'mozila' tree-wide r=me 2019-03-18 15:55:18 -07:00
mozconfig.common Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester 2019-03-06 22:48:05 +00:00
mozconfig.common.override Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester 2019-03-06 22:48:05 +00:00
mozconfig.lld-link Bug 1523145 - Remove mk_export_correct_style. r=froydnj 2019-01-28 21:06:01 +00:00
mozconfig.nasm Bug 1520163 - Add linux64-nasm toolchain. r=glandium 2019-02-25 21:10:41 +00:00
mozconfig.no-compile Bug 1544139 - Un-set RUSTFLAGS for artifact builds. r=froydnj 2019-04-12 22:47:52 +00:00
mozconfig.node
mozconfig.pgo Bug 1528499 - Don't PGO the base-toolchain tasks on release branches. r=ted 2019-02-20 07:46:31 +09:00
mozconfig.rust
mozconfig.stylo
mozconfig.win-common Bug 1557785 - Hook MOZ_PGO_PROFILE_USE environment variable into common Windows mozconfig; r=firefox-build-system-reviewers,chmanchester 2019-06-19 22:05:52 +00:00
qemu-wrap
submit_telemetry_data.py
templates.mozbuild Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
test_templates.mozbuild
update-settings.ini
upload_generated_sources.py Bug 1523324 - Add retries to upload_generated_sources.py; r=nalexander 2019-05-03 23:26:51 +00:00
upload.py
variables.py
virtualenv_packages.txt Bug 1473498 - Don't add backport libraries to the Py3 environment r=Callek 2019-07-15 17:39:21 +00:00
windows_toolchain.py Bug 1530587 - Don't optimize jars without preloading/reordering data. r=chmanchester 2019-02-27 01:26:46 +00:00