gecko-dev/build
Andrew Halberstadt d3ccaac56c Bug 1473498 - Fix Python 3 environment variables with subprocess r=glandium
On Windows in Python 2, the subprocess module requires the use of bytes with
the 'env' argument. For that reason, we would sometimes use byte strings with
'os.environ' like so:

    os.environ[b"FOO"] = b"bar"

However, this is a failure with Python 3 as 'os.environ' must only be used with
the text type. This patch creates a new 'setenv' helper that ensures we create
new environment with 'bytes' on Python 2, and 'text' on Python 3.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 21:35:53 +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 1566409 - Force the deactivation of the llvm binding generation r=glandium 2019-07-17 05:07:53 +00:00
build-infer
clang-plugin Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan 2019-07-30 18:50:54 +00:00
compare-mozconfig
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 1568455 - Detect Android NDK on Windows. r=nalexander 2019-07-26 15:54:07 +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 1486042 - switch all existing `MOZ_LTO` configs to use cross-language LTO; r=dmajor 2019-07-16 02:39:16 +00: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
.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
__init__.py
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
gen_automation.py
gen_symverscript.py
gen_test_packages_manifest.py
genrc.sh
gn.mozbuild
gyp.mozbuild
gyp_base.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.py
upload_generated_sources.py Bug 1523324 - Add retries to upload_generated_sources.py; r=nalexander 2019-05-03 23:26:51 +00:00
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