mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1241022 - Remove code handling affected_tiers. r=gps
This commit is contained in:
parent
fef6763796
commit
1288330dfb
@ -921,11 +921,6 @@ class RecursiveMakeBackend(CommonBackend):
|
||||
# registered or not.
|
||||
self._traversal.add(backend_file.relobjdir)
|
||||
|
||||
affected_tiers = set(obj.affected_tiers)
|
||||
|
||||
for tier in set(self._no_skip.keys()) & affected_tiers:
|
||||
self._no_skip[tier].add(backend_file.relobjdir)
|
||||
|
||||
def _process_defines(self, obj, backend_file, which='DEFINES'):
|
||||
"""Output the DEFINES rules to the given backend file."""
|
||||
defines = list(obj.get_defines())
|
||||
|
@ -235,13 +235,6 @@ class Context(KeyedDefaultDict):
|
||||
update[key] = value
|
||||
KeyedDefaultDict.update(self, update)
|
||||
|
||||
def get_affected_tiers(self):
|
||||
"""Returns the list of tiers affected by the variables set in the
|
||||
context.
|
||||
"""
|
||||
tiers = (VARIABLES[key][3] for key in self if key in VARIABLES)
|
||||
return set(tier for tier in tiers if tier)
|
||||
|
||||
|
||||
class TemplateContext(Context):
|
||||
def __init__(self, template=None, allowed_variables={}, config=None):
|
||||
|
@ -1309,7 +1309,6 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
def _emit_directory_traversal_from_context(self, context):
|
||||
o = DirectoryTraversal(context)
|
||||
o.dirs = context.get('DIRS', [])
|
||||
o.affected_tiers = context.get_affected_tiers()
|
||||
|
||||
# Some paths have a subconfigure, yet also have a moz.build. Those
|
||||
# shouldn't end up in self._external_paths.
|
||||
|
Loading…
Reference in New Issue
Block a user