Bug 1151370 - Only guess platform/buildtype in mozinfo.py if processor is known, r=ted

--HG--
extra : rebase_source : 3cbb0cb504bf17d91936e2b995dac6c8d9f8badc
This commit is contained in:
Andrew Halberstadt 2015-04-07 09:07:32 -04:00
Родитель 49a945b86f
Коммит 6c25784b26
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -129,7 +129,9 @@ def build_dict(config, env=os.environ):
return 'asan'
return 'opt'
if 'buildapp' in d:
# if buildapp or bits are unknown, we don't have a configuration similar to
# any in automation and the guesses are useless.
if 'buildapp' in d and 'bits' in d:
d['platform_guess'] = guess_platform()
d['buildtype_guess'] = guess_buildtype()