зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429819: Allow using tooltool macOS SDK on all automation builds, not just cross-builds; r=dminor
MozReview-Commit-ID: IFIS8vZLgd4 --HG-- extra : rebase_source : 5494d93404e5fff0c669df2540534456579f9acf
This commit is contained in:
Родитель
522245f2f2
Коммит
0e8d2f23ed
|
@ -84,11 +84,12 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin' or os.environ.get('MOZ_AUTOMATION') != '1':
|
||||||
print main()
|
print main()
|
||||||
else:
|
else:
|
||||||
# Mozilla builds cross-compile on Linux, so return some fake data to keep
|
# Mozilla builds cross-compile on Linux or install an SDK from tooltool, so
|
||||||
# the build system happy. These values aren't used anywhere.
|
# return some fake data to keep the build system happy. These values aren't
|
||||||
|
# used anywhere.
|
||||||
print "."
|
print "."
|
||||||
print "."
|
print "."
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче