mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 833946 - Don't scan the entire tree for a root manifest in the packager. r=gps
This commit is contained in:
parent
88d3c5df77
commit
06559c6867
@ -246,7 +246,7 @@ class SimpleManifestSink(object):
|
||||
paths = [mozpack.path.dirname(m) for m in self._manifests]
|
||||
path = mozpack.path.dirname(mozpack.path.commonprefix(paths))
|
||||
for p, f in self._finder.find(mozpack.path.join(path,
|
||||
'**', 'chrome.manifest')):
|
||||
'chrome.manifest')):
|
||||
if not p in self._manifests:
|
||||
self.packager.add(SimpleManifestSink.normalize_path(p), f)
|
||||
self.packager.close()
|
||||
|
@ -222,7 +222,7 @@ class TestSimpleManifestSink(unittest.TestCase):
|
||||
'bin/foo/qux',
|
||||
'bin/foo/chrome.manifest',
|
||||
'bin/bar',
|
||||
'bin/**/chrome.manifest'
|
||||
'bin/chrome.manifest'
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user