зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
bed5a2fbb8
Коммит
ede511b1ea
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче