mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
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:
parent
49a945b86f
commit
6c25784b26
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user