mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1135984 - Avoid setting an empty GYP_DIRS in contexts when reading it. r=gps
This commit is contained in:
parent
2d2671768b
commit
cfc21d63d7
@ -977,7 +977,7 @@ class BuildReader(object):
|
||||
curdir = mozpath.dirname(path)
|
||||
|
||||
gyp_contexts = []
|
||||
for target_dir in context['GYP_DIRS']:
|
||||
for target_dir in context.get('GYP_DIRS', []):
|
||||
gyp_dir = context['GYP_DIRS'][target_dir]
|
||||
for v in ('input', 'variables'):
|
||||
if not getattr(gyp_dir, v):
|
||||
|
Loading…
Reference in New Issue
Block a user