зеркало из https://github.com/mozilla/gecko-dev.git
efcaf31d7e
If you just call into `mach` directly, `mach` will select the `python3` binary at the front of the `PATH`, which may not be the configured `PYTHON3` binary. Instead, we explicitly call `$(PYTHON3) mach`. In at least one place, [we call into a Python 2-only `mach` command](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/Makefile.in#142). We should do the same in that case once `mach android` is converted to Python 3 (see bug 1638947). The Gradle files are another place where we [call directly into `mach`](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/settings.gradle#5) that should also be fixed. The comment in `settings.gradle` ("gradle is called before parsing config.status, we cannot use PYTHON") suggests this may not be possible though. I'll follow up about that. Differential Revision: https://phabricator.services.mozilla.com/D95216 |
||
---|---|---|
.. | ||
nsis |