forked from mirrors/gecko-dev
Bug 1846523 - Call python mach on Windows from settings.gradle r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D185047
This commit is contained in:
parent
bed5a2fbb8
commit
ede511b1ea
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ apply from: "${topsrcdir}/mobile/android/gradle/mach_env.gradle"
|
|||
def commandLine = ["${topsrcdir}/mach", "environment", "--format", "json", "--verbose"]
|
||||
if (System.env.GRADLE_MACH_PYTHON) {
|
||||
commandLine.addAll(0, [System.env.GRADLE_MACH_PYTHON])
|
||||
} else if (System.properties["os.name"].contains("Windows")) {
|
||||
commandLine.addAll(0, ["python"])
|
||||
}
|
||||
|
||||
def proc = commandLine.execute(machEnv(topsrcdir), new File(topsrcdir))
|
||||
|
|
|
|||
Loading…
Reference in a new issue