зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1036093 - ignore mach exceptions when printing binary paths; r=gps
This commit is contained in:
Родитель
54b9ed8751
Коммит
9bb3b5a886
|
@ -423,14 +423,19 @@ class Build(MachCommandBase):
|
|||
# Only for full builds because incremental builders likely don't
|
||||
# need to be burdened with this.
|
||||
if not what:
|
||||
# Fennec doesn't have useful output from just building. We should
|
||||
# arguably make the build action useful for Fennec. Another day...
|
||||
if self.substs['MOZ_BUILD_APP'] != 'mobile/android':
|
||||
print('To take your build for a test drive, run: |mach run|')
|
||||
app = self.substs['MOZ_BUILD_APP']
|
||||
if app in ('browser', 'mobile/android'):
|
||||
print('For more information on what to do now, see '
|
||||
'https://developer.mozilla.org/docs/Developer_Guide/So_You_Just_Built_Firefox')
|
||||
try:
|
||||
# Fennec doesn't have useful output from just building. We should
|
||||
# arguably make the build action useful for Fennec. Another day...
|
||||
if self.substs['MOZ_BUILD_APP'] != 'mobile/android':
|
||||
print('To take your build for a test drive, run: |mach run|')
|
||||
app = self.substs['MOZ_BUILD_APP']
|
||||
if app in ('browser', 'mobile/android'):
|
||||
print('For more information on what to do now, see '
|
||||
'https://developer.mozilla.org/docs/Developer_Guide/So_You_Just_Built_Firefox')
|
||||
except Exception:
|
||||
# Ignore Exceptions in case we can't find config.status (such
|
||||
# as when doing OSX Universal builds)
|
||||
pass
|
||||
|
||||
return status
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче