Bug 1229233 - Properly skip the top-level directory in the RecursiveMake backend. r=gps

Somehow this never ended up being a problem in practice, but somehow with a
minimalistic test case, it becomes one.
This commit is contained in:
Mike Hommey 2015-11-30 17:41:43 +09:00
Родитель d8414e8e44
Коммит b80b97e9fa
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -809,7 +809,8 @@ class RecursiveMakeBackend(CommonBackend):
self._makefile_in_count += 1
for tier, skiplist in self._may_skip.items():
if bf.relobjdir in skiplist:
# topobjdir is an exception, it's still skipped.
if bf.relobjdir and bf.relobjdir in skiplist:
skiplist.remove(bf.relobjdir)
else:
self.log(logging.DEBUG, 'stub_makefile',