Bug 1038943: Bustage followup to fix Android on a CLOSED TREE. r=me

This commit is contained in:
Kyle Huey
2014-08-05 15:15:38 -07:00
parent ceb9cdd70f
commit 716bebdd1e

View File

@@ -476,7 +476,7 @@ def environment(xrePath, env=None, crashreporter=True, debugger=False, dmdPath=N
envVar = None
dmdLibrary = None
preloadEnvVar = None
if mozinfo.info['toolkit'] == "gonk":
if 'toolkit' in mozinfo.info and mozinfo.info['toolkit'] == "gonk":
# Skip all of this, it's only valid for the host.
pass
elif mozinfo.isUnix: