Bug 1556662 - Fix a typo in change from bug 1469091. r=dmajor

In a branch for `isinstance(obj, (HostSources, HostGeneratedSources))`,
`isinstance(obj, GeneratedSources)` is clearly not going to match
anything. `isinstance(obj, HostGeneratedSources)` is what was intended.

Differential Revision: https://phabricator.services.mozilla.com/D33603

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-06-04 11:39:44 +00:00
Родитель da4ad436ef
Коммит 281c7a2177
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -485,7 +485,7 @@ class RecursiveMakeBackend(CommonBackend):
'.cpp': 'HOST_CPPSRCS',
}
variables = [suffix_map[obj.canonical_suffix]]
if isinstance(obj, GeneratedSources):
if isinstance(obj, HostGeneratedSources):
variables.append('GARBAGE')
base = backend_file.objdir
else: